mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-10-27 21:48:50 +01: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
|
|
@ -203,10 +203,7 @@ static void SRAMWrite(u32 a, u32 d)
|
|||
}
|
||||
|
||||
// for nonstandard reads
|
||||
#ifndef _ASM_MEMORY_C
|
||||
static
|
||||
#endif
|
||||
u32 OtherRead16End(u32 a, int realsize)
|
||||
static u32 OtherRead16End(u32 a, int realsize)
|
||||
{
|
||||
u32 d=0;
|
||||
|
||||
|
|
@ -499,8 +496,17 @@ static void PicoWrite32(u32 a,u32 d)
|
|||
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
// TODO: asm code
|
||||
u32 (*PicoRead16Hook)(u32 a, int realsize) = OtherRead16End;
|
||||
void (*PicoWrite8Hook)(u32 a, u32 d, int realsize) = OtherWrite8End;
|
||||
|
||||
PICO_INTERNAL void PicoMemSetup(void)
|
||||
{
|
||||
// default unmapped/cart specific handlers
|
||||
PicoRead16Hook = OtherRead16End;
|
||||
PicoWrite8Hook = OtherWrite8End;
|
||||
|
||||
// Setup memory callbacks:
|
||||
#ifdef EMU_C68K
|
||||
PicoCpuCM68k.checkpc=PicoCheckPc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue