B_C += boards/KS7037.c
B_C += boards/KS7057.c
B_C += boards/SA-9602B.c
-B_C += boards/__serial.c
B_C += boards/ac-08.c
B_C += boards/bb.c
B_C += boards/cityfighter.c
setprg32(0x8000,(latche&0x38)>>3);\r
}\r
else\r
- FCEU_printf("unrecognized command %04!\n",latche);\r
+ FCEU_printf("unrecognized command %04x!\n",latche);\r
setchr8(0);\r
setmirror(0);\r
}\r
info->Power=M157Power;\r
MapIRQHook=BarcodeIRQHook;\r
\r
- FCEUGameInfo->cspecial = SIS_DATACH;\r
+ GameInfo->cspecial = SIS_DATACH;\r
\r
GameStateRestore=StateRestore;\r
AddExState(&StateRegs, ~0, 0, 0);\r
#include "../cart.h"
#include "../cheat.h"
#include "../unif.h"
+#include "../svga.h"
#include <string.h>
FCEU_CheatAddRAM(1,0x7000,WRAM);
SetReadHandler(0x7000,0x7FFF,MAWRAMMMC6);
SetWriteHandler(0x7000,0x7FFF,MBWRAMMMC6);
+#ifdef ASM_6502
+ // asm code needs pages to be set again..
+ Page[14]=WRAM-0x7000;
+ Page[15]=WRAM-0x7800;
+#endif
}
else
{
GenMMC3Power();
SetWriteHandler(0x8000,0xBFFF,M254Write);
SetReadHandler(0x6000,0x7FFF,MR254WRAM);
+#ifdef ASM_6502
+ // hrrr.. can't handle those evil xors here..
+ Page[12]=Page[13]=Page[14]=Page[15]=WRAM-0x6000;
+#endif
}
void Mapper254_Init(CartInfo *info)
// printf("generated combo_acts: %08x, combo_keys: %08x\n", combo_acts, combo_keys);
}
+// TODO?
+char *GetKeyboard(void)
+{
+ static char dummy[256];
+ return dummy;
+}
#include "../memory.h"
#include "../sound.h"
#include "../state.h"
+#include "../svga.h"
#include <string.h>
#include "sound.h"
uint32 Wave[2048+512];
+int32 WaveHi[40000]; // unused
int16 WaveFinalMono[2048+512];
EXPSOUND GameExpSound={0,0,0,0,0,0};
int FlushEmulateSound(void);
extern uint32 Wave[2048+512];
extern int16 WaveFinalMono[2048+512];
+extern int32 WaveHi[];
extern uint32 soundtsinc;
extern uint32 soundtsoffs;