X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2F112.c;h=2bb1e4b85f6b250dd79e7237bc571c57179b45b4;hp=a58cf5cb4de822780a080c141b2b5deaf7648b13;hb=7b356ee3dc5d7e54d9dc06c413f84380d1044441;hpb=d97315ac0bca825d2d50a44453bc5652946e2c67 diff --git a/boards/112.c b/boards/112.c index a58cf5c..2bb1e4b 100644 --- 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 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; } +FCEU_printf("%04x:%04x %d\n",A,V,scanline); } static void M112Close(void) @@ -63,7 +65,6 @@ static void M112Close(void) static void M112Power(void) { - Sync(); setprg16(0xC000,~0); setprg8r(0x10,0x6000,0); SetReadHandler(0x8000,0xFFFF,CartBR);