I hate pestering you guys for help but i just need some advice regarding the m107.cpp driver ive been off and on since july
trying to get Fire Barrel and Air Assault to work in FBL but no matter what i try the game hangs on the Boot Screen and goes no
further anyway to give myself the best chance of this game working im using the latest FBA for everything the driver uses
Burn_ym2151.cpp Burn_iremga20.cpp Nec_intf.cpp ym2151.cpp Nec CPU
I have a problem when i add the latest Nec CPU as it will break every game that uses it in my Src here's what i think is the issue
as it's the only thing really thats changed from the older Nec CPu i was using previously which just has one op table and no
LSB Handlers
From nec and v25 priv.h
#ifdef LSB_FIRST
typedef enum {
AL = 0x1e, //NATIVE_ENDIAN_VALUE_LE_BE(0x1E, 0x1F),
AH = 0x1f, //NATIVE_ENDIAN_VALUE_LE_BE(0x1F, 0x1E),
CL = 0x1c, //NATIVE_ENDIAN_VALUE_LE_BE(0x1C, 0x1D),
CH = 0x1d, //NATIVE_ENDIAN_VALUE_LE_BE(0x1D, 0x1C),
DL = 0x1a, //NATIVE_ENDIAN_VALUE_LE_BE(0x1A, 0x1B),
DH = 0x1b, //NATIVE_ENDIAN_VALUE_LE_BE(0x1B, 0x1A),
BL = 0x18, //NATIVE_ENDIAN_VALUE_LE_BE(0x18, 0x19),
BH = 0x19 //NATIVE_ENDIAN_VALUE_LE_BE(0x19, 0x18)
} BREGS;
#else
typedef enum {
AL = 0x1f, //NATIVE_ENDIAN_VALUE_LE_BE(0x1E, 0x1F),
AH = 0x1e, //NATIVE_ENDIAN_VALUE_LE_BE(0x1F, 0x1E),
CL = 0x1d, //NATIVE_ENDIAN_VALUE_LE_BE(0x1C, 0x1D),
CH = 0x1c, //NATIVE_ENDIAN_VALUE_LE_BE(0x1D, 0x1C),
DL = 0x1b, //NATIVE_ENDIAN_VALUE_LE_BE(0x1A, 0x1B),
DH = 0x1a, //NATIVE_ENDIAN_VALUE_LE_BE(0x1B, 0x1A),
BL = 0x19, //NATIVE_ENDIAN_VALUE_LE_BE(0x18, 0x19),
BH = 0x18 //NATIVE_ENDIAN_VALUE_LE_BE(0x19, 0x18)
} BREGS;
#endif
ive declared the LSB_FIRST commands in burninit.h and pasted in everything from burn_endian.h as i dont have the
FBA libretro folder in my FBL burner part of the source just the win32 i think ive set it up correctly
but the games using the Nec Cpu just boot to a black screen now im not sure if both op-tables above are needed for games
in the m107 driver?? but if so is there anyway i can have both of the above without the need for the LSB handling???