mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
SVP stubs
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@317 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
0ce6e5ee0a
commit
f53f286a8b
11 changed files with 69 additions and 12 deletions
8
Pico/carthw/carthw.h
Normal file
8
Pico/carthw/carthw.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
/* svp */
|
||||
void PicoSVPInit(void);
|
||||
|
||||
unsigned int PicoSVPRead16(unsigned int a, int realsize);
|
||||
void PicoSVPWrite8(unsigned int a,unsigned int d,int realsize);
|
||||
|
16
Pico/carthw/svp/Memory.c
Normal file
16
Pico/carthw/svp/Memory.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include "../../PicoInt.h"
|
||||
|
||||
unsigned int PicoSVPRead16(unsigned int a, int realsize)
|
||||
{
|
||||
unsigned int d = 0;
|
||||
|
||||
elprintf(EL_UIO, "SVP r%i: [%06x] %04x @%06x", realsize, a&0xffffff, d, SekPc);
|
||||
|
||||
return d;
|
||||
}
|
||||
|
||||
void PicoSVPWrite8(unsigned int a, unsigned int d, int realsize)
|
||||
{
|
||||
elprintf(EL_UIO, "SVP w%i: %06x, %08x @%06x", realsize, a&0xffffff, d, SekPc);
|
||||
}
|
||||
|
7
Pico/carthw/svp/svp.c
Normal file
7
Pico/carthw/svp/svp.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "../../PicoInt.h"
|
||||
|
||||
void PicoSVPInit(void)
|
||||
{
|
||||
elprintf(0xffff, "SVP");
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue