diff --git a/src/burn/drv/pre90s/d_bombjack.cpp b/src/burn/drv/pre90s/d_bombjack.cpp index 96de33972..8245ee6b1 100644 --- a/src/burn/drv/pre90s/d_bombjack.cpp +++ b/src/burn/drv/pre90s/d_bombjack.cpp @@ -44,6 +44,8 @@ static UINT32 *BjPalReal = NULL; static INT16* pFMBuffer; static INT16* pAY8910Buffer[9]; +static UINT8 BjIsBombjackt = 0; + // Dip Switch and Input Definitions static struct BurnInputInfo DrvInputList[] = { {"P1 Coin" , BIT_DIGITAL , DrvJoy1 + 0, "p1 coin" }, @@ -194,6 +196,34 @@ STD_ROM_PICK(Bombjac2) STD_ROM_FN(Bombjac2) +// Bomb Jack (Tecfri, Spain) +static struct BurnRomInfo BombjacktRomDesc[] = { + { "9.1j", 0x4000, 0x4b59a3bb, BRF_ESS | BRF_PRG }, // 0 Z80 code + { "12.1n", 0x4000, 0x0a32506a, BRF_ESS | BRF_PRG }, // 1 + { "13.1r", 0x2000, 0x964ac5c5, BRF_ESS | BRF_PRG }, // 2 + + // graphics 3 bit planes: + { "3.1e", 0x2000, 0x54e1dac1, BRF_GRA }, // chars + { "4.1h", 0x2000, 0x05e428ab, BRF_GRA }, + { "5.1k", 0x2000, 0xf282f29a, BRF_GRA }, + + { "14.7j", 0x2000, 0x101c858d, BRF_GRA }, // sprites + { "15.7k", 0x2000, 0x013f58f2, BRF_GRA }, + { "16.7m", 0x2000, 0x94694097, BRF_GRA }, + + { "6.1l", 0x2000, 0x51eebd89, BRF_GRA }, // background tiles + { "7.1n", 0x2000, 0x9dd98e9d, BRF_GRA }, + { "8.1r", 0x2000, 0x3155ee7d, BRF_GRA }, + + { "2.5n", 0x2000, 0xde796158, BRF_GRA }, // background tilemaps + + { "1.6h", 0x2000, 0x8407917d, BRF_ESS | BRF_SND }, // sound CPU +}; + +STD_ROM_PICK(Bombjackt) +STD_ROM_FN(Bombjackt) + + static INT32 DrvDoReset() { bombjackIRQ = 0; @@ -328,7 +358,7 @@ void __fastcall SndPortWrite(UINT16 a, UINT8 d) } } -INT32 BjZInit() +static INT32 BjZInit() { // Init the z80 ZetInit(0); @@ -410,7 +440,7 @@ INT32 BjZInit() -void DecodeTiles(UINT8 *TilePointer, INT32 num,INT32 off1,INT32 off2, INT32 off3) +static void DecodeTiles(UINT8 *TilePointer, INT32 num,INT32 off1,INT32 off2, INT32 off3) { INT32 c,y,x,dat1,dat2,dat3,col; for (c=0;c