From 8fb60f9efffefdc928954252d613953c36284a40 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Tue, 25 Jun 2013 19:00:14 +0000 Subject: [PATCH] Added clone of Galaxian (Barry, any) --- src/burn/drv/galaxian/d_galaxian.cpp | 70 +++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/src/burn/drv/galaxian/d_galaxian.cpp b/src/burn/drv/galaxian/d_galaxian.cpp index 00b4753e2..074baf176 100644 --- a/src/burn/drv/galaxian/d_galaxian.cpp +++ b/src/burn/drv/galaxian/d_galaxian.cpp @@ -3509,6 +3509,43 @@ static struct BurnDIPInfo GalaxianDIPList[]= STDDIPINFO(Galaxian) +static struct BurnDIPInfo GalaxianblDIPList[]= +{ + // Default Values + {0x0c, 0xff, 0xff, 0x00, NULL }, + {0x0d, 0xff, 0xff, 0x00, NULL }, + {0x0e, 0xff, 0xff, 0x04, NULL }, + + // Dip 1 + {0 , 0xfe, 0 , 2 , "Cabinet" }, + {0x0c, 0x01, 0x20, 0x00, "Upright" }, + {0x0c, 0x01, 0x20, 0x20, "Cocktail" }, + + {0 , 0xfe, 0 , 2 , "Service Mode" }, + {0x0c, 0x01, 0x40, 0x00, "Off" }, + {0x0c, 0x01, 0x40, 0x40, "On" }, + + // Dip 2 + {0 , 0xfe, 0 , 4 , "Coinage" }, + {0x0d, 0x01, 0xc0, 0x40, "2 Coins 1 Play" }, + {0x0d, 0x01, 0xc0, 0x00, "1 Coin 1 Play" }, + {0x0d, 0x01, 0xc0, 0x80, "1 Coin 2 Plays" }, + {0x0d, 0x01, 0xc0, 0xc0, "Freeplay" }, + + // Dip 3 + {0 , 0xfe, 0 , 4 , "Bonus Life" }, + {0x0e, 0x01, 0x03, 0x00, "None" }, + {0x0e, 0x01, 0x03, 0x01, "10000" }, + {0x0e, 0x01, 0x03, 0x02, "12000" }, + {0x0e, 0x01, 0x03, 0x03, "20000" }, + + {0 , 0xfe, 0 , 2 , "Lives" }, + {0x0e, 0x01, 0x04, 0x00, "2" }, + {0x0e, 0x01, 0x04, 0x04, "3" }, +}; + +STDDIPINFO(Galaxianbl) + static struct BurnDIPInfo GalaxrfDIPList[]= { // Default Values @@ -6430,6 +6467,27 @@ static struct BurnRomInfo GalaxbsfRomDesc[] = { STD_ROM_PICK(Galaxbsf) STD_ROM_FN(Galaxbsf) +static struct BurnRomInfo GalaxianblRomDesc[] = { + { "gal00eg.ic4", 0x00400, 0x7c44510c, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal01eg.ic5", 0x00400, 0x2a426500, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal02.ic6", 0x00400, 0x30e28016, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal03.ic7", 0x00400, 0xde7e7770, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal04.ic8", 0x00400, 0xa916c919, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal05.ic9", 0x00400, 0x9175882b, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal06.ic10", 0x00400, 0x1237b9da, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal07eg.ic11", 0x00400, 0x16144658, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal08.ic12", 0x00400, 0x901894cc, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + { "gal09.ic13", 0x00400, 0x5876f695, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, + + { "galaxian.1h", 0x00800, 0x39fb43a4, BRF_GRA | GAL_ROM_TILES_SHARED }, + { "galaxian.1k", 0x00800, 0x7e3f56a2, BRF_GRA | GAL_ROM_TILES_SHARED }, + + { "6l.bpr", 0x00020, 0xc3ac9467, BRF_GRA | GAL_ROM_PROM }, +}; + +STD_ROM_PICK(Galaxianbl) +STD_ROM_FN(Galaxianbl) + static struct BurnRomInfo Kamakazi3RomDesc[] = { { "f_r_a.bin", 0x00800, 0xe8f3aa67, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, { "f_a.bin", 0x00800, 0xf58283e3, BRF_ESS | BRF_PRG | GAL_ROM_Z80_PROG1 }, @@ -6620,7 +6678,7 @@ struct BurnDriver BurnDrvStarfght = { struct BurnDriver BurnDrvGalaxbsf = { "galaxbsf", "galaxian", NULL, NULL, "1979", - "Galaxian (bootleg)\0", NULL, "bootleg", "Galaxian", + "Galaxian (bootleg, set 1)\0", NULL, "bootleg", "Galaxian", NULL, NULL, NULL, NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_ORIENTATION_VERTICAL | BDF_ORIENTATION_FLIPPED | BDF_BOOTLEG | BDF_HISCORE_SUPPORTED, 2, HARDWARE_GALAXIAN, GBF_VERSHOOT, 0, NULL, GalaxbsfRomInfo, GalaxbsfRomName, NULL, NULL, GalaxianInputInfo, GalaxianDIPInfo, @@ -6628,6 +6686,16 @@ struct BurnDriver BurnDrvGalaxbsf = { NULL, 392, 224, 256, 3, 4 }; +struct BurnDriver BurnDrvGalaxianbl = { + "galaxianbl", "galaxian", NULL, NULL, "1979", + "Galaxian (bootleg, set 2)\0", NULL, "bootleg", "Galaxian", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_CLONE | BDF_ORIENTATION_VERTICAL | BDF_ORIENTATION_FLIPPED | BDF_BOOTLEG | BDF_HISCORE_SUPPORTED, 2, HARDWARE_GALAXIAN, GBF_VERSHOOT, 0, + NULL, GalaxianblRomInfo, GalaxianblRomName, NULL, NULL, GalaxianInputInfo, GalaxianblDIPInfo, + GalInit, GalExit, GalFrame, NULL, GalScan, + NULL, 392, 224, 256, 3, 4 +}; + struct BurnDriver BurnDrvKamakazi3 = { "kamakazi3", "galaxian", NULL, NULL, "1979", "Kamakazi III (superg hack)\0", NULL, "bootleg", "Galaxian",