Author Topic: Battle Garegga (Taiwan / Germany) (Thu Feb 1 1996)  (Read 4263 times)

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Battle Garegga (Taiwan / Germany) (Thu Feb 1 1996)
« on: September 25, 2009, 08:53:35 AM »
Hi,

With latest MAME releases , i've updated d_battleg.cpp to add latest Battle Garegga dump and ROMs renames according to v0.134u1...(Thanks to any FBA DEVs to check this driver and reports any errors)

Code: [Select]
static struct BurnDIPInfo bgareggatwRegionDIPList[] = {
// DIP 3
{0, 0xFE, 0, 2,   "Stage edit"},
{0x16, 0x01, 0x08, 0x00, "Disable"},
{0x16, 0x01, 0x08, 0x08, "Enable"},

// Region
{0x16, 0xFF, 0x0F, 0x01, NULL},
{0, 0xFE, 0, 2,   "Region"},
{0x16, 0x01, 0x03, 0x01, "Germany"},
{0x16, 0x01, 0x03, 0x03, "Taiwan"},
{0x16, 0x01, 0x03, 0x00, "Nippon [illegal setting]"},
{0x16, 0x01, 0x03, 0x02, "U.S.A. [illegal setting]"},
};

STDDIPINFOEXT(bgaregga, bgaregga, bgareggaRegion)
STDDIPINFOEXT(bgareggacn, bgaregga, bgareggacnRegion)
STDDIPINFOEXT(bgareggahk, bgaregga, bgareggahkRegion)
STDDIPINFOEXT(bgareggatw, bgaregga, bgareggatwRegion)

Code: [Select]
static struct BurnRomInfo bgareggatwRomDesc[] = {
{ "garegga_prg0.u123",      0x080000, 0x235B7405, BRF_ESS | BRF_PRG }, //  0 CPU #0 code (even)
{ "garegga_prg1.u65",       0x080000, 0xC29CCF6A, BRF_ESS | BRF_PRG }, //  1   (odd)

{ "rom4.bin",     0x200000, 0xB333D81F, BRF_GRA }, //  2 GP9001 Tile data
{ "rom3.bin",     0x200000, 0x51B9EBFB, BRF_GRA }, //  3
{ "rom2.bin",     0x200000, 0xB330E5E2, BRF_GRA }, //  4
{ "rom1.bin",     0x200000, 0x7EAFDD70, BRF_GRA }, //  5

{ "text.u81",     0x008000, 0xE67FD534, BRF_GRA }, //  6 Extra text layer tile data

{ "snd.bin",      0x020000, 0x68632952, BRF_ESS | BRF_PRG }, //  7 Z80 program

{ "rom5.bin",     0x100000, 0xF6D49863, BRF_SND }, //  8 MSM6295 ADPCM data
};


STD_ROM_PICK(bgareggatw)
STD_ROM_FN(bgareggatw)

struct BurnDriver BurnDrvBgareggatw = {
"bgareggatw", "bgaregga", NULL, "1996",
"Battle Garegga (Taiwan / Germany) (Thu Feb 1 1996)\0", NULL, "Raizing / 8ing", "Toaplan GP9001 based",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | TOA_ROTATE_GRAPHICS_CCW, 2, HARDWARE_TOAPLAN_RAIZING, GBF_VERSHOOT, 0,
NULL, bgareggatwRomInfo, bgareggatwRomName, battlegInputInfo, bgareggatwDIPInfo,
battlegInit, DrvExit, DrvFrame, DrvDraw, DrvScan, 0, NULL, NULL, NULL, &ToaRecalcPalette, 0x800,
240, 320, 3, 4
};