notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split generic ARM code from gp2x
[fceu.git]
/
boards
/
112.c
diff --git
a/boards/112.c
b/boards/112.c
index
a58cf5c
..
2bb1e4b
100644
(file)
--- a/
boards/112.c
+++ b/
boards/112.c
@@
-23,6
+23,7
@@
static uint8 reg[8];
static uint8 mirror, cmd;
static uint8 *WRAM=NULL;
static uint8 reg[8];
static uint8 mirror, cmd;
static uint8 *WRAM=NULL;
+
static SFORMAT StateRegs[]=
{
{&cmd, 1, "CMD"},
static SFORMAT StateRegs[]=
{
{&cmd, 1, "CMD"},
@@
-52,6
+53,7
@@
static DECLFW(M112Write)
case 0x8000: cmd=V&7; break;
case 0xa000: reg[cmd]=V; Sync(); break;
}
case 0x8000: cmd=V&7; break;
case 0xa000: reg[cmd]=V; Sync(); break;
}
+FCEU_printf("%04x:%04x %d\n",A,V,scanline);
}
static void M112Close(void)
}
static void M112Close(void)
@@
-63,7
+65,6
@@
static void M112Close(void)
static void M112Power(void)
{
static void M112Power(void)
{
- Sync();
setprg16(0xC000,~0);
setprg8r(0x10,0x6000,0);
SetReadHandler(0x8000,0xFFFF,CartBR);
setprg16(0xC000,~0);
setprg8r(0x10,0x6000,0);
SetReadHandler(0x8000,0xFFFF,CartBR);