added Magic Bubble (Adult version, YS-0211 PCB) [caius, The Dumping Union]

TO DO : Fix the sound ROM loading routine.
This commit is contained in:
jackchatelet 2014-11-11 17:58:17 +00:00
parent 14cc636531
commit c04cc0f928
1 changed files with 76 additions and 18 deletions

View File

@ -605,7 +605,23 @@ static INT32 DrvInit(INT32 game_select)
}
break;
case 2: // paprazzi
case 2: // magicbubb
{
if (BurnLoadRom(DrvGfxROM0 + 0x000000, 2, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x000001, 3, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x000002, 4, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x000003, 5, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x200000, 6, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x200001, 7, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x200002, 8, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x200003, 9, 4)) return 1;
offset = 10;
is_magicbub = 1;
}
break;
case 3: // paprazzi
{
if (BurnLoadRom(DrvGfxROM0 + 0x000000, 2, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x000001, 3, 4)) return 1;
@ -619,7 +635,7 @@ static INT32 DrvInit(INT32 game_select)
}
break;
case 3: // shocking, bombkick
case 4: // shocking, bombkick
{
if (BurnLoadRom(DrvGfxROM0 + 0x000000, 2, 4)) return 1;
if (BurnLoadRom(DrvGfxROM0 + 0x000001, 3, 4)) return 1;
@ -924,19 +940,19 @@ static struct BurnRomInfo magicbubRomDesc[] = {
{ "magbuble.u33", 0x40000, 0x18fdd582, 1 | BRF_PRG | BRF_ESS }, // 0 68K Code
{ "magbuble.u32", 0x40000, 0xf6ea7004, 1 | BRF_PRG | BRF_ESS }, // 1
{ "magbuble.143", 0x10000, 0x04192753, 2 | BRF_PRG | BRF_ESS }, // 2 Z80 Code
{ "u143.bin", 0x10000, 0x04192753, 2 | BRF_PRG | BRF_ESS }, // 2 Z80 Code
{ "magbuble.u67", 0x80000, 0x6355e57d, 3 | BRF_GRA }, // 3 Background Tiles
{ "magbuble.u68", 0x80000, 0x53ae6c2b, 3 | BRF_GRA }, // 4
{ "magbuble.u69", 0x80000, 0xb892e64c, 3 | BRF_GRA }, // 5
{ "magbuble.u70", 0x80000, 0x37794837, 3 | BRF_GRA }, // 6
{ "magbuble.u20", 0x20000, 0xf70e3b8c, 4 | BRF_GRA }, // 7 Sprites
{ "magbuble.u21", 0x20000, 0xad082cf3, 4 | BRF_GRA }, // 8
{ "magbuble.u22", 0x20000, 0x7c68df7a, 4 | BRF_GRA }, // 9
{ "magbuble.u23", 0x20000, 0xc7763fc1, 4 | BRF_GRA }, // 10
{ "u20.bin", 0x20000, 0xf70e3b8c, 4 | BRF_GRA }, // 7 Sprites
{ "u21.bin", 0x20000, 0xad082cf3, 4 | BRF_GRA }, // 8
{ "u22.bin", 0x20000, 0x7c68df7a, 4 | BRF_GRA }, // 9
{ "u23.bin", 0x20000, 0xc7763fc1, 4 | BRF_GRA }, // 10
{ "magbuble.131", 0x20000, 0x03e04e89, 5 | BRF_SND }, // 11 Samples
{ "u131.bin", 0x20000, 0x03e04e89, 5 | BRF_SND }, // 11 Samples
};
STD_ROM_PICK(magicbub)
@ -958,13 +974,13 @@ struct BurnDriver BurnDrvMagicbub = {
};
// Magic Bubble (Adult version)
// Magic Bubble (Adult version, YS-1302 PCB)
static struct BurnRomInfo magicbubaRomDesc[] = {
{ "u33.bin", 0x40000, 0xa8164a02, 1 | BRF_PRG | BRF_ESS }, // 0 68K Code
{ "u32.bin", 0x40000, 0x58f885ad, 1 | BRF_PRG | BRF_ESS }, // 1
{ "magbuble.143", 0x10000, 0x04192753, 2 | BRF_PRG | BRF_ESS }, // 2 Z80 Code
{ "u143.bin", 0x10000, 0x04192753, 2 | BRF_PRG | BRF_ESS }, // 2 Z80 Code
{ "u67.bin", 0x80000, 0x89523dcd, 3 | BRF_GRA }, // 3 Background Tiles
{ "u68.bin", 0x80000, 0x30e01a70, 3 | BRF_GRA }, // 4
@ -975,12 +991,12 @@ static struct BurnRomInfo magicbubaRomDesc[] = {
{ "u73.bin", 0x80000, 0xcb4f3c3c, 3 | BRF_GRA }, // 9
{ "u74.bin", 0x80000, 0x81ff4910, 3 | BRF_GRA }, // 10
{ "magbuble.u20", 0x20000, 0xf70e3b8c, 4 | BRF_GRA }, // 11 Sprites
{ "magbuble.u21", 0x20000, 0xad082cf3, 4 | BRF_GRA }, // 12
{ "magbuble.u22", 0x20000, 0x7c68df7a, 4 | BRF_GRA }, // 13
{ "magbuble.u23", 0x20000, 0xc7763fc1, 4 | BRF_GRA }, // 14
{ "u20.bin", 0x20000, 0xf70e3b8c, 4 | BRF_GRA }, // 11 Sprites
{ "u21.bin", 0x20000, 0xad082cf3, 4 | BRF_GRA }, // 12
{ "u22.bin", 0x20000, 0x7c68df7a, 4 | BRF_GRA }, // 13
{ "u23.bin", 0x20000, 0xc7763fc1, 4 | BRF_GRA }, // 14
{ "magbuble.131", 0x20000, 0x03e04e89, 5 | BRF_SND }, // 15 Samples
{ "u131.bin", 0x20000, 0x03e04e89, 5 | BRF_SND }, // 15 Samples
};
STD_ROM_PICK(magicbuba)
@ -993,7 +1009,7 @@ static INT32 MagicbubaInit()
struct BurnDriver BurnDrvMagicbuba = {
"magicbuba", "magicbub", NULL, NULL, "199?",
"Magic Bubble (Adult version)\0", NULL, "Yun Sung", "Yun Sung 16 Bit",
"Magic Bubble (Adult version, YS-1302 PCB)\0", NULL, "Yun Sung", "Yun Sung 16 Bit",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_MISC_POST90S, GBF_PUZZLE, 0,
NULL, magicbubaRomInfo, magicbubaRomName, NULL, NULL, MagicbubInputInfo, MagicbubaDIPInfo,
@ -1002,6 +1018,48 @@ struct BurnDriver BurnDrvMagicbuba = {
};
// Magic Bubble (Adult version, YS-0211 PCB)
static struct BurnRomInfo magicbubbRomDesc[] = {
{ "u33", 0x40000, 0xdb651555, 1 | BRF_PRG | BRF_ESS }, // 0 68K Code
{ "u32", 0x40000, 0xc9cb4d88, 1 | BRF_PRG | BRF_ESS }, // 1
{ "u67.bin", 0x80000, 0x89523dcd, 2 | BRF_GRA }, // 2 Background Tiles
{ "u68.bin", 0x80000, 0x30e01a70, 2 | BRF_GRA }, // 3
{ "u69.bin", 0x80000, 0xfe357f52, 2 | BRF_GRA }, // 4
{ "u70.bin", 0x80000, 0x1398a473, 2 | BRF_GRA }, // 5
{ "u71.bin", 0x80000, 0x0844e017, 2 | BRF_GRA }, // 6
{ "u72.bin", 0x80000, 0x591db1cb, 2 | BRF_GRA }, // 7
{ "u73.bin", 0x80000, 0xcb4f3c3c, 2 | BRF_GRA }, // 8
{ "u74.bin", 0x80000, 0x81ff4910, 2 | BRF_GRA }, // 9
{ "u20.bin", 0x20000, 0xf70e3b8c, 3 | BRF_GRA }, // 11 Sprites
{ "u21.bin", 0x20000, 0xad082cf3, 3 | BRF_GRA }, // 12
{ "u22.bin", 0x20000, 0x7c68df7a, 3 | BRF_GRA }, // 13
{ "u23.bin", 0x20000, 0xc7763fc1, 3 | BRF_GRA }, // 14
{ "u131", 0x40000, 0x9bdb08e4, 4 | BRF_SND }, // 15 Samples
};
STD_ROM_PICK(magicbubb)
STD_ROM_FN(magicbubb)
static INT32 MagicbubbInit()
{
return DrvInit(2);
}
struct BurnDriver BurnDrvMagicbubb = {
"magicbubb", "magicbub", NULL, NULL, "199?",
"Magic Bubble (Adult version, YS-0211 PCB)\0", NULL, "Yun Sung", "Yun Sung 16 Bit",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_MISC_POST90S, GBF_PUZZLE, 0,
NULL, magicbubbRomInfo, magicbubbRomName, NULL, NULL, MagicbubInputInfo, MagicbubaDIPInfo,
MagicbubbInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x2000,
320, 224, 4, 3
};
// Paparazzi
static struct BurnRomInfo paprazziRomDesc[] = {
@ -1030,7 +1088,7 @@ STD_ROM_FN(paprazzi)
static INT32 PaprazziInit()
{
return DrvInit(2);
return DrvInit(3);
}
struct BurnDriver BurnDrvPaprazzi = {
@ -1068,7 +1126,7 @@ STD_ROM_FN(shocking)
static INT32 ShockingInit()
{
return DrvInit(3);
return DrvInit(4);
}
struct BurnDriver BurnDrvShocking = {