first massive bugfixorama of alpha68k system II and V

This commit is contained in:
dinkc64 2017-04-18 03:16:28 +00:00
parent 5eed1d3802
commit b286f75c09
1 changed files with 306 additions and 314 deletions

View File

@ -10,7 +10,6 @@
#include "burn_pal.h"
// to do:
// fix bugs
// goldmedl sound cpu clocked at 4000000 * 2
//
// goldmedl - color issues?
@ -53,7 +52,7 @@ static UINT8 bankdata;
// these are configured (static)
static INT32 invert_controls = 0;
static UINT16 game_id;
static UINT16 game_id; // 5 denotes alpha68k sys. V
static UINT16 coin_id;
static UINT16 microcontroller_id;
@ -70,6 +69,7 @@ static UINT8 DrvJoy2[8];
static UINT8 DrvJoy3[8];
static UINT8 DrvJoy4[8];
static UINT8 DrvDips[2];
static UINT8 DrvSrv[1];
static UINT8 DrvInputs[6];
static UINT8 DrvReset;
@ -105,6 +105,7 @@ static struct BurnInputInfo TimesoldInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
@ -134,12 +135,41 @@ static struct BurnInputInfo BtlfieldInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
STDINPUTINFO(Btlfield)
static struct BurnInputInfo BtlfieldbInputList[] = {
{"P1 Coin", BIT_DIGITAL, DrvJoy3 + 0, "p1 coin" },
{"P1 Start", BIT_DIGITAL, DrvJoy1 + 7, "p1 start" },
{"P1 Up", BIT_DIGITAL, DrvJoy1 + 0, "p1 up" },
{"P1 Down", BIT_DIGITAL, DrvJoy1 + 1, "p1 down" },
{"P1 Left", BIT_DIGITAL, DrvJoy1 + 2, "p1 left" },
{"P1 Right", BIT_DIGITAL, DrvJoy1 + 3, "p1 right" },
{"P1 Button 1", BIT_DIGITAL, DrvJoy1 + 4, "p1 fire 1" },
{"P1 Button 2", BIT_DIGITAL, DrvJoy1 + 5, "p1 fire 2" },
{"P2 Coin", BIT_DIGITAL, DrvJoy3 + 1, "p2 coin" },
{"P2 Start", BIT_DIGITAL, DrvJoy2 + 7, "p2 start" },
{"P2 Up", BIT_DIGITAL, DrvJoy2 + 0, "p2 up" },
{"P2 Down", BIT_DIGITAL, DrvJoy2 + 1, "p2 down" },
{"P2 Left", BIT_DIGITAL, DrvJoy2 + 2, "p2 left" },
{"P2 Right", BIT_DIGITAL, DrvJoy2 + 3, "p2 right" },
{"P2 Button 1", BIT_DIGITAL, DrvJoy2 + 4, "p2 fire 1" },
{"P2 Button 2", BIT_DIGITAL, DrvJoy2 + 5, "p2 fire 2" },
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
STDINPUTINFO(Btlfieldb)
static struct BurnInputInfo GoldmedlInputList[] = {
{"P1 Coin", BIT_DIGITAL, DrvJoy3 + 0, "p1 coin" },
{"P1 Start", BIT_DIGITAL, DrvJoy1 + 7, "p1 start" },
@ -165,6 +195,7 @@ static struct BurnInputInfo GoldmedlInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
@ -192,6 +223,7 @@ static struct BurnInputInfo SkysoldrInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
@ -221,6 +253,7 @@ static struct BurnInputInfo GangwarsInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
@ -249,6 +282,7 @@ static struct BurnInputInfo SbasebalInputList[] = {
{"Reset", BIT_DIGITAL, &DrvReset, "reset" },
{"Service", BIT_DIGITAL, DrvJoy4 + 0, "service" },
{"Service Mode",BIT_DIGITAL, DrvSrv + 0, "diag" },
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip" },
{"Dip B", BIT_DIPSWITCH, DrvDips + 1, "dip" },
};
@ -257,245 +291,230 @@ STDINPUTINFO(Sbasebal)
static struct BurnDIPInfo TimesoldDIPList[]=
{
{0x14, 0xff, 0xff, 0xde, NULL },
{0x15, 0xff, 0xff, 0xff, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x15, 0xff, 0xff, 0xdc, NULL },
{0x16, 0xff, 0xff, 0xff, NULL },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x14, 0x01, 0x04, 0x04, "Off" },
{0x14, 0x01, 0x04, 0x00, "On" },
{0x15, 0x01, 0x04, 0x04, "Off" },
{0x15, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 3, "Difficulty" },
{0x14, 0x01, 0x18, 0x00, "Easy" },
{0x14, 0x01, 0x18, 0x18, "Normal" },
{0x14, 0x01, 0x18, 0x10, "Hard" },
{0x15, 0x01, 0x18, 0x00, "Easy" },
{0x15, 0x01, 0x18, 0x18, "Normal" },
{0x15, 0x01, 0x18, 0x10, "Hard" },
{0 , 0xfe, 0 , 2, "Language" },
{0x14, 0x01, 0x20, 0x00, "English" },
{0x14, 0x01, 0x20, 0x20, "Japanese" },
{0x15, 0x01, 0x20, 0x00, "English" },
{0x15, 0x01, 0x20, 0x20, "Japanese" },
{0 , 0xfe, 0 , 2, "Invulnerability (Cheat)" },
{0x14, 0x01, 0x80, 0x80, "Off" },
{0x14, 0x01, 0x80, 0x00, "On" },
{0x15, 0x01, 0x80, 0x80, "Off" },
{0x15, 0x01, 0x80, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x15, 0x01, 0x08, 0x08, "Off" },
{0x15, 0x01, 0x08, 0x00, "On" },
{0x16, 0x01, 0x08, 0x08, "Off" },
{0x16, 0x01, 0x08, 0x00, "On" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x15, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x15, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x15, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x15, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x15, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x15, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x15, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0x16, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x16, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x16, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x16, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x16, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x16, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x16, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x16, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 4, "Lives" },
{0x15, 0x01, 0x30, 0x30, "3" },
{0x15, 0x01, 0x30, 0x20, "4" },
{0x15, 0x01, 0x30, 0x10, "5" },
{0x15, 0x01, 0x30, 0x00, "6" },
{0x16, 0x01, 0x30, 0x30, "3" },
{0x16, 0x01, 0x30, 0x20, "4" },
{0x16, 0x01, 0x30, 0x10, "5" },
{0x16, 0x01, 0x30, 0x00, "6" },
};
STDDIPINFO(Timesold)
static struct BurnDIPInfo BtlfieldDIPList[]=
{
{0x14, 0xff, 0xff, 0xff, NULL },
{0x15, 0xff, 0xff, 0xf7, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xfd, NULL },
{0x16, 0xff, 0xff, 0xf7, NULL },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x14, 0x01, 0x04, 0x04, "Off" },
{0x14, 0x01, 0x04, 0x00, "On" },
{0x15, 0x01, 0x04, 0x04, "Off" },
{0x15, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 3, "Difficulty" },
{0x14, 0x01, 0x18, 0x00, "Easy" },
{0x14, 0x01, 0x18, 0x18, "Normal" },
{0x14, 0x01, 0x18, 0x10, "Hard" },
{0x15, 0x01, 0x18, 0x00, "Easy" },
{0x15, 0x01, 0x18, 0x18, "Normal" },
{0x15, 0x01, 0x18, 0x10, "Hard" },
{0 , 0xfe, 0 , 2, "Language" },
{0x14, 0x01, 0x20, 0x00, "English" },
{0x14, 0x01, 0x20, 0x20, "Japanese" },
{0x15, 0x01, 0x20, 0x00, "English" },
{0x15, 0x01, 0x20, 0x20, "Japanese" },
{0 , 0xfe, 0 , 2, "Invulnerability (Cheat)" },
{0x14, 0x01, 0x80, 0x80, "Off" },
{0x14, 0x01, 0x80, 0x00, "On" },
{0x15, 0x01, 0x80, 0x80, "Off" },
{0x15, 0x01, 0x80, 0x00, "On" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x15, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x15, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x15, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x15, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x15, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x15, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x15, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0x16, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x16, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x16, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x16, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x16, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x16, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x16, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x16, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x15, 0x01, 0x08, 0x08, "Off" },
{0x15, 0x01, 0x08, 0x00, "On" },
{0x16, 0x01, 0x08, 0x08, "Off" },
{0x16, 0x01, 0x08, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Lives" },
{0x15, 0x01, 0x30, 0x30, "3" },
{0x15, 0x01, 0x30, 0x20, "4" },
{0x15, 0x01, 0x30, 0x10, "5" },
{0x15, 0x01, 0x30, 0x00, "6" },
{0 , 0xfe, 0 , 4, "Lives" },
{0x16, 0x01, 0x30, 0x30, "3" },
{0x16, 0x01, 0x30, 0x20, "4" },
{0x16, 0x01, 0x30, 0x10, "5" },
{0x16, 0x01, 0x30, 0x00, "6" },
};
STDDIPINFO(Btlfield)
static struct BurnDIPInfo BtlfieldbDIPList[]=
{
{0x14, 0xff, 0xff, 0xff, NULL },
{0x15, 0xff, 0xff, 0xff, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x13, 0xff, 0xff, 0xfd, NULL },
{0x14, 0xff, 0xff, 0xf8, NULL },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x14, 0x01, 0x04, 0x04, "Off" },
{0x14, 0x01, 0x04, 0x00, "On" },
{0x13, 0x01, 0x04, 0x04, "Off" },
{0x13, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 3, "Difficulty" },
{0x14, 0x01, 0x18, 0x00, "Easy" },
{0x14, 0x01, 0x18, 0x18, "Normal" },
{0x14, 0x01, 0x18, 0x10, "Hard" },
{0x13, 0x01, 0x18, 0x00, "Easy" },
{0x13, 0x01, 0x18, 0x18, "Normal" },
{0x13, 0x01, 0x18, 0x10, "Hard" },
{0 , 0xfe, 0 , 2, "Language" },
{0x14, 0x01, 0x20, 0x00, "English" },
{0x14, 0x01, 0x20, 0x20, "Japanese" },
{0x13, 0x01, 0x20, 0x00, "English" },
{0x13, 0x01, 0x20, 0x20, "Japanese" },
{0 , 0xfe, 0 , 2, "Invulnerability (Cheat)" },
{0x14, 0x01, 0x80, 0x80, "Off" },
{0x14, 0x01, 0x80, 0x00, "On" },
{0x13, 0x01, 0x80, 0x80, "Off" },
{0x13, 0x01, 0x80, 0x00, "On" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x07, 0x00, "A 1C/1C B 1C/1C" },
{0x15, 0x01, 0x07, 0x01, "A 1C/2C B 2C/1C" },
{0x15, 0x01, 0x07, 0x02, "A 1C/3C B 3C/1C" },
{0x15, 0x01, 0x07, 0x03, "A 1C/4C B 4C/1C" },
{0x15, 0x01, 0x07, 0x04, "A 1C/5C B 5C/1C" },
{0x15, 0x01, 0x07, 0x05, "A 1C/6C B 6C/1C" },
{0x15, 0x01, 0x07, 0x06, "A 2C/3C B 7C/1C" },
{0x15, 0x01, 0x07, 0x07, "A 3C/2C B 8C/1C" },
{0x14, 0x01, 0x07, 0x00, "A 1C/1C B 1C/1C" },
{0x14, 0x01, 0x07, 0x01, "A 1C/2C B 2C/1C" },
{0x14, 0x01, 0x07, 0x02, "A 1C/3C B 3C/1C" },
{0x14, 0x01, 0x07, 0x03, "A 1C/4C B 4C/1C" },
{0x14, 0x01, 0x07, 0x04, "A 1C/5C B 5C/1C" },
{0x14, 0x01, 0x07, 0x05, "A 1C/6C B 6C/1C" },
{0x14, 0x01, 0x07, 0x06, "A 2C/3C B 7C/1C" },
{0x14, 0x01, 0x07, 0x07, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 8, "Demo Sounds" },
{0x15, 0x01, 0x08, 0x00, "Off" },
{0x15, 0x01, 0x08, 0x08, "On" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x08, 0x00, "Off" },
{0x14, 0x01, 0x08, 0x08, "On" },
{0 , 0xfe, 0 , 4, "Lives" },
{0x14, 0x01, 0x30, 0x30, "3" },
{0x14, 0x01, 0x30, 0x20, "4" },
{0x14, 0x01, 0x30, 0x10, "5" },
{0x14, 0x01, 0x30, 0x00, "6" },
};
STDDIPINFO(Btlfieldb)
static struct BurnDIPInfo GoldmedlDIPList[]=
{
{0x14, 0xff, 0xff, 0xff, NULL },
{0x15, 0xff, 0xff, 0xdf, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xfd, NULL },
{0x16, 0xff, 0xff, 0xdf, NULL },
{0 , 0xfe, 0 , 2, "Event Select" },
{0x14, 0x01, 0x04, 0x04, "Off" },
{0x14, 0x01, 0x04, 0x00, "On" },
{0x15, 0x01, 0x04, 0x04, "Off" },
{0x15, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 3, "Cabinet" },
{0x14, 0x01, 0x88, 0x00, "Upright 2 Players" },
{0x14, 0x01, 0x88, 0x80, "Upright 4 Players" },
{0x14, 0x01, 0x88, 0x88, "Cocktail" },
{0x15, 0x01, 0x88, 0x00, "Upright 2 Players" },
{0x15, 0x01, 0x88, 0x80, "Upright 4 Players" },
{0x15, 0x01, 0x88, 0x88, "Cocktail" },
{0 , 0xfe, 0 , 2, "Speed For 100M Dash" },
{0x14, 0x01, 0x20, 0x00, "10 Beats For Max Speed" },
{0x14, 0x01, 0x20, 0x20, "14 Beats For Max Speed" },
{0x15, 0x01, 0x20, 0x00, "10 Beats For Max Speed" },
{0x15, 0x01, 0x20, 0x20, "14 Beats For Max Speed" },
{0 , 0xfe, 0 , 2, "Computer Demonstration" },
{0x14, 0x01, 0x40, 0x00, "Off" },
{0x14, 0x01, 0x40, 0x40, "On" },
{0x15, 0x01, 0x40, 0x00, "Off" },
{0x15, 0x01, 0x40, 0x40, "On" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x15, 0x01, 0x03, 0x03, "Easy" },
{0x15, 0x01, 0x03, 0x02, "Normal" },
{0x15, 0x01, 0x03, 0x01, "Hard" },
{0x15, 0x01, 0x03, 0x00, "Very Hard" },
{0x16, 0x01, 0x03, 0x03, "Easy" },
{0x16, 0x01, 0x03, 0x02, "Normal" },
{0x16, 0x01, 0x03, 0x01, "Hard" },
{0x16, 0x01, 0x03, 0x00, "Very Hard" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x1c, 0x1c, "A 1C/1C B 1C/1C" },
{0x15, 0x01, 0x1c, 0x18, "A 1C/2C B 2C/1C" },
{0x15, 0x01, 0x1c, 0x14, "A 1C/3C B 3C/1C" },
{0x15, 0x01, 0x1c, 0x10, "A 1C/4C B 4C/1C" },
{0x15, 0x01, 0x1c, 0x0c, "A 1C/5C B 5C/1C" },
{0x15, 0x01, 0x1c, 0x08, "A 1C/6C B 6C/1C" },
{0x15, 0x01, 0x1c, 0x04, "A 2C/3C B 7C/1C" },
{0x15, 0x01, 0x1c, 0x00, "A 3C/2C B 8C/1C" },
{0x16, 0x01, 0x1c, 0x1c, "A 1C/1C B 1C/1C" },
{0x16, 0x01, 0x1c, 0x18, "A 1C/2C B 2C/1C" },
{0x16, 0x01, 0x1c, 0x14, "A 1C/3C B 3C/1C" },
{0x16, 0x01, 0x1c, 0x10, "A 1C/4C B 4C/1C" },
{0x16, 0x01, 0x1c, 0x0c, "A 1C/5C B 5C/1C" },
{0x16, 0x01, 0x1c, 0x08, "A 1C/6C B 6C/1C" },
{0x16, 0x01, 0x1c, 0x04, "A 2C/3C B 7C/1C" },
{0x16, 0x01, 0x1c, 0x00, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
{0x16, 0x01, 0x20, 0x20, "Off" },
{0x16, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Goldmedl)
static struct BurnDIPInfo SkysoldrDIPList[]=
{
{0x12, 0xff, 0xff, 0xd6, NULL },
{0x13, 0xff, 0xff, 0xf7, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x12, 0x01, 0x02, 0x02, "Off" },
{0x12, 0x01, 0x02, 0x00, "On" },
{0x13, 0xff, 0xff, 0xd4, NULL },
{0x14, 0xff, 0xff, 0xf7, NULL },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x12, 0x01, 0x04, 0x04, "Off" },
{0x12, 0x01, 0x04, 0x00, "On" },
{0x13, 0x01, 0x04, 0x04, "Off" },
{0x13, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x12, 0x01, 0x18, 0x08, "Easy" },
{0x12, 0x01, 0x18, 0x10, "Normal" },
{0x12, 0x01, 0x18, 0x18, "Hard" },
{0x12, 0x01, 0x18, 0x00, "Hardest" },
{0x13, 0x01, 0x18, 0x08, "Easy" },
{0x13, 0x01, 0x18, 0x10, "Normal" },
{0x13, 0x01, 0x18, 0x18, "Hard" },
{0x13, 0x01, 0x18, 0x00, "Hardest" },
{0 , 0xfe, 0 , 2, "Language" },
{0x12, 0x01, 0x20, 0x00, "English" },
{0x12, 0x01, 0x20, 0x20, "Japanese" },
{0x13, 0x01, 0x20, 0x00, "English" },
{0x13, 0x01, 0x20, 0x20, "Japanese" },
{0 , 0xfe, 0 , 2, "Manufacturer" },
{0x12, 0x01, 0x40, 0x40, "SNK" },
{0x12, 0x01, 0x40, 0x00, "Romstar" },
{0x13, 0x01, 0x40, 0x40, "SNK" },
{0x13, 0x01, 0x40, 0x00, "Romstar" },
{0 , 0xfe, 0 , 2, "Invulnerability (Cheat)" },
{0x12, 0x01, 0x80, 0x80, "Off" },
{0x12, 0x01, 0x80, 0x00, "On" },
{0x13, 0x01, 0x80, 0x80, "Off" },
{0x13, 0x01, 0x80, 0x00, "On" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x13, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x13, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x13, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x13, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x13, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x13, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x13, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x13, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0x14, 0x01, 0x07, 0x07, "A 1C/1C B 1C/1C" },
{0x14, 0x01, 0x07, 0x06, "A 1C/2C B 2C/1C" },
{0x14, 0x01, 0x07, 0x05, "A 1C/3C B 3C/1C" },
{0x14, 0x01, 0x07, 0x04, "A 1C/4C B 4C/1C" },
{0x14, 0x01, 0x07, 0x03, "A 1C/5C B 5C/1C" },
{0x14, 0x01, 0x07, 0x02, "A 1C/6C B 6C/1C" },
{0x14, 0x01, 0x07, 0x01, "A 2C/3C B 7C/1C" },
{0x14, 0x01, 0x07, 0x00, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x13, 0x01, 0x08, 0x08, "Off" },
{0x13, 0x01, 0x08, 0x00, "On" },
{0x14, 0x01, 0x08, 0x08, "Off" },
{0x14, 0x01, 0x08, 0x00, "On" },
{0 , 0xfe, 0 , 4, "Lives" },
{0x13, 0x01, 0x30, 0x30, "3" },
{0x13, 0x01, 0x30, 0x20, "4" },
{0x13, 0x01, 0x30, 0x10, "5" },
{0x13, 0x01, 0x30, 0x00, "6" },
{0x14, 0x01, 0x30, 0x30, "3" },
{0x14, 0x01, 0x30, 0x20, "4" },
{0x14, 0x01, 0x30, 0x10, "5" },
{0x14, 0x01, 0x30, 0x00, "6" },
};
STDDIPINFO(Skysoldr)
@ -503,248 +522,228 @@ STDDIPINFO(Skysoldr)
static struct BurnDIPInfo SkyadvntDIPList[]=
{
{0x14, 0xff, 0xff, 0xfe, NULL },
{0x15, 0xff, 0xff, 0xff, NULL },
{0 , 0xfe, 0 , 2, "Service Mode " },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xfc, NULL },
{0x16, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 4, "Lives" },
{0x14, 0x01, 0x0c, 0x08, "2" },
{0x14, 0x01, 0x0c, 0x0c, "3" },
{0x14, 0x01, 0x0c, 0x04, "4" },
{0x14, 0x01, 0x0c, 0x00, "5" },
{0x15, 0x01, 0x0c, 0x08, "2" },
{0x15, 0x01, 0x0c, 0x0c, "3" },
{0x15, 0x01, 0x0c, 0x04, "4" },
{0x15, 0x01, 0x0c, 0x00, "5" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x14, 0x01, 0x60, 0x40, "Easy" },
{0x14, 0x01, 0x60, 0x60, "Normal" },
{0x14, 0x01, 0x60, 0x20, "Hard" },
{0x14, 0x01, 0x60, 0x00, "Hardest" },
{0x15, 0x01, 0x60, 0x40, "Easy" },
{0x15, 0x01, 0x60, 0x60, "Normal" },
{0x15, 0x01, 0x60, 0x20, "Hard" },
{0x15, 0x01, 0x60, 0x00, "Hardest" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x80, 0x00, "Off" },
{0x14, 0x01, 0x80, 0x80, "On" },
{0x15, 0x01, 0x80, 0x00, "Off" },
{0x15, 0x01, 0x80, 0x80, "On" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x0e, 0x0e, "A 1C/1C B 1C/1C" },
{0x15, 0x01, 0x0e, 0x06, "A 1C/2C B 2C/1C" },
{0x15, 0x01, 0x0e, 0x0a, "A 1C/3C B 3C/1C" },
{0x15, 0x01, 0x0e, 0x02, "A 1C/4C B 4C/1C" },
{0x15, 0x01, 0x0e, 0x0c, "A 1C/5C B 5C/1C" },
{0x15, 0x01, 0x0e, 0x04, "A 1C/6C B 6C/1C" },
{0x15, 0x01, 0x0e, 0x08, "A 2C/3C B 7C/1C" },
{0x15, 0x01, 0x0e, 0x00, "A 3C/2C B 8C/1C" },
{0x16, 0x01, 0x0e, 0x0e, "A 1C/1C B 1C/1C" },
{0x16, 0x01, 0x0e, 0x06, "A 1C/2C B 2C/1C" },
{0x16, 0x01, 0x0e, 0x0a, "A 1C/3C B 3C/1C" },
{0x16, 0x01, 0x0e, 0x02, "A 1C/4C B 4C/1C" },
{0x16, 0x01, 0x0e, 0x0c, "A 1C/5C B 5C/1C" },
{0x16, 0x01, 0x0e, 0x04, "A 1C/6C B 6C/1C" },
{0x16, 0x01, 0x0e, 0x08, "A 2C/3C B 7C/1C" },
{0x16, 0x01, 0x0e, 0x00, "A 3C/2C B 8C/1C" },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x15, 0x01, 0x10, 0x10, "Off" },
{0x15, 0x01, 0x10, 0x00, "On" },
{0x16, 0x01, 0x10, 0x10, "Off" },
{0x16, 0x01, 0x10, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Freeze" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
{0x16, 0x01, 0x20, 0x20, "Off" },
{0x16, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Skyadvnt)
static struct BurnDIPInfo SkyadvntuDIPList[]=
{
{0x14, 0xff, 0xff, 0xff, NULL },
{0x15, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xfd, NULL },
{0x16, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 4, "Lives" },
{0x14, 0x01, 0x0c, 0x08, "2" },
{0x14, 0x01, 0x0c, 0x0c, "3" },
{0x14, 0x01, 0x0c, 0x04, "4" },
{0x14, 0x01, 0x0c, 0x00, "5" },
{0x15, 0x01, 0x0c, 0x08, "2" },
{0x15, 0x01, 0x0c, 0x0c, "3" },
{0x15, 0x01, 0x0c, 0x04, "4" },
{0x15, 0x01, 0x0c, 0x00, "5" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x14, 0x01, 0x60, 0x40, "Easy" },
{0x14, 0x01, 0x60, 0x60, "Normal" },
{0x14, 0x01, 0x60, 0x20, "Hard" },
{0x14, 0x01, 0x60, 0x00, "Hardest" },
{0x15, 0x01, 0x60, 0x40, "Easy" },
{0x15, 0x01, 0x60, 0x60, "Normal" },
{0x15, 0x01, 0x60, 0x20, "Hard" },
{0x15, 0x01, 0x60, 0x00, "Hardest" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x80, 0x00, "Off" },
{0x14, 0x01, 0x80, 0x80, "On" },
{0x15, 0x01, 0x80, 0x00, "Off" },
{0x15, 0x01, 0x80, 0x80, "On" },
{0 , 0xfe, 0 , 2, "Price to Continue" },
{0x15, 0x01, 0x01, 0x01, "1 Coin 1 Credits" },
{0x15, 0x01, 0x01, 0x00, "Same as Start" },
{0x16, 0x01, 0x01, 0x01, "1 Coin 1 Credits" },
{0x16, 0x01, 0x01, 0x00, "Same as Start" },
{0 , 0xfe, 0 , 2, "Allow Continue" },
{0x15, 0x01, 0x02, 0x00, "No" },
{0x15, 0x01, 0x02, 0x02, "Yes" },
{0x16, 0x01, 0x02, 0x00, "No" },
{0x16, 0x01, 0x02, 0x02, "Yes" },
{0 , 0xfe, 0 , 4, "Coinage" },
{0x15, 0x01, 0x0c, 0x04, "2 Coins 1 Credits" },
{0x15, 0x01, 0x0c, 0x0c, "1 Coin 1 Credits" },
{0x15, 0x01, 0x0c, 0x08, "1 Coin 2 Credits" },
{0x15, 0x01, 0x0c, 0x00, "Free Play" },
{0x16, 0x01, 0x0c, 0x04, "2 Coins 1 Credits" },
{0x16, 0x01, 0x0c, 0x0c, "1 Coin 1 Credits" },
{0x16, 0x01, 0x0c, 0x08, "1 Coin 2 Credits" },
{0x16, 0x01, 0x0c, 0x00, "Free Play" },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x15, 0x01, 0x10, 0x10, "Off" },
{0x15, 0x01, 0x10, 0x00, "On" },
{0x16, 0x01, 0x10, 0x10, "Off" },
{0x16, 0x01, 0x10, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Freeze" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
{0x16, 0x01, 0x20, 0x20, "Off" },
{0x16, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Skyadvntu)
static struct BurnDIPInfo GangwarsuDIPList[]=
{
{0x14, 0xff, 0xff, 0xef, NULL },
{0x15, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xed, NULL },
{0x16, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 4, "Lives" },
{0x14, 0x01, 0x0c, 0x08, "2" },
{0x14, 0x01, 0x0c, 0x0c, "3" },
{0x14, 0x01, 0x0c, 0x04, "4" },
{0x14, 0x01, 0x0c, 0x00, "5" },
{0x15, 0x01, 0x0c, 0x08, "2" },
{0x15, 0x01, 0x0c, 0x0c, "3" },
{0x15, 0x01, 0x0c, 0x04, "4" },
{0x15, 0x01, 0x0c, 0x00, "5" },
{0 , 0xfe, 0 , 2, "Timer Speed" },
{0x14, 0x01, 0x10, 0x00, "Slow" },
{0x14, 0x01, 0x10, 0x10, "Normal" },
{0x15, 0x01, 0x10, 0x00, "Slow" },
{0x15, 0x01, 0x10, 0x10, "Normal" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x14, 0x01, 0x60, 0x40, "Easy" },
{0x14, 0x01, 0x60, 0x60, "Normal" },
{0x14, 0x01, 0x60, 0x20, "Hard" },
{0x14, 0x01, 0x60, 0x00, "Hardest" },
{0x15, 0x01, 0x60, 0x40, "Easy" },
{0x15, 0x01, 0x60, 0x60, "Normal" },
{0x15, 0x01, 0x60, 0x20, "Hard" },
{0x15, 0x01, 0x60, 0x00, "Hardest" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x80, 0x00, "Off" },
{0x14, 0x01, 0x80, 0x80, "On" },
{0x15, 0x01, 0x80, 0x00, "Off" },
{0x15, 0x01, 0x80, 0x80, "On" },
{0 , 0xfe, 0 , 2, "Price to Continue" },
{0x15, 0x01, 0x01, 0x01, "1 Coin 1 Credits" },
{0x15, 0x01, 0x01, 0x00, "Same as Start" },
{0x16, 0x01, 0x01, 0x01, "1 Coin 1 Credits" },
{0x16, 0x01, 0x01, 0x00, "Same as Start" },
{0 , 0xfe, 0 , 2, "Allow Continue" },
{0x15, 0x01, 0x02, 0x00, "No" },
{0x15, 0x01, 0x02, 0x02, "Yes" },
{0x16, 0x01, 0x02, 0x00, "No" },
{0x16, 0x01, 0x02, 0x02, "Yes" },
{0 , 0xfe, 0 , 4, "Coinage" },
{0x15, 0x01, 0x0c, 0x04, "2 Coins 1 Credits" },
{0x15, 0x01, 0x0c, 0x0c, "1 Coin 1 Credits" },
{0x15, 0x01, 0x0c, 0x08, "1 Coin 2 Credits" },
{0x15, 0x01, 0x0c, 0x00, "Free Play" },
{0x16, 0x01, 0x0c, 0x04, "2 Coins 1 Credits" },
{0x16, 0x01, 0x0c, 0x0c, "1 Coin 1 Credits" },
{0x16, 0x01, 0x0c, 0x08, "1 Coin 2 Credits" },
{0x16, 0x01, 0x0c, 0x00, "Free Play" },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x15, 0x01, 0x10, 0x10, "Off" },
{0x15, 0x01, 0x10, 0x00, "On" },
{0x16, 0x01, 0x10, 0x10, "Off" },
{0x16, 0x01, 0x10, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Freeze" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
{0x16, 0x01, 0x20, 0x20, "Off" },
{0x16, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Gangwarsu)
static struct BurnDIPInfo GangwarsDIPList[]=
{
{0x14, 0xff, 0xff, 0xef, NULL },
{0x15, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 2, "Service Mode" },
{0x14, 0x01, 0x02, 0x02, "Off" },
{0x14, 0x01, 0x02, 0x00, "On" },
{0x15, 0xff, 0xff, 0xed, NULL },
{0x16, 0xff, 0xff, 0xfe, NULL },
{0 , 0xfe, 0 , 2, "Lives" },
{0x14, 0x01, 0x08, 0x08, "3" },
{0x14, 0x01, 0x08, 0x00, "4" },
{0x15, 0x01, 0x08, 0x08, "3" },
{0x15, 0x01, 0x08, 0x00, "4" },
{0 , 0xfe, 0 , 2, "Timer Speed" },
{0x14, 0x01, 0x10, 0x00, "Slow" },
{0x14, 0x01, 0x10, 0x10, "Normal" },
{0x15, 0x01, 0x10, 0x00, "Slow" },
{0x15, 0x01, 0x10, 0x10, "Normal" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x14, 0x01, 0x60, 0x40, "Easy" },
{0x14, 0x01, 0x60, 0x60, "Normal" },
{0x14, 0x01, 0x60, 0x20, "Hard" },
{0x14, 0x01, 0x60, 0x00, "Hardest" },
{0x15, 0x01, 0x60, 0x40, "Easy" },
{0x15, 0x01, 0x60, 0x60, "Normal" },
{0x15, 0x01, 0x60, 0x20, "Hard" },
{0x15, 0x01, 0x60, 0x00, "Hardest" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x80, 0x00, "Off" },
{0x14, 0x01, 0x80, 0x80, "On" },
{0x15, 0x01, 0x80, 0x00, "Off" },
{0x15, 0x01, 0x80, 0x80, "On" },
{0 , 0xfe, 0 , 2, "Coin Slots" },
{0x15, 0x01, 0x01, 0x00, "1" },
{0x15, 0x01, 0x01, 0x01, "2" },
{0x16, 0x01, 0x01, 0x00, "1" },
{0x16, 0x01, 0x01, 0x01, "2" },
{0 , 0xfe, 0 , 8, "Coinage" },
{0x15, 0x01, 0x0e, 0x00, "5 Coins 1 Credits" },
{0x15, 0x01, 0x0e, 0x02, "3 Coins 1 Credits" },
{0x15, 0x01, 0x0e, 0x04, "2 Coins 1 Credits" },
{0x15, 0x01, 0x0e, 0x0e, "1 Coin 1 Credits" },
{0x15, 0x01, 0x0e, 0x0c, "1 Coin 2 Credits" },
{0x15, 0x01, 0x0e, 0x0a, "1 Coin 3 Credits" },
{0x15, 0x01, 0x0e, 0x08, "1 Coin 4 Credits" },
{0x15, 0x01, 0x0e, 0x06, "1 Coin 5 Credits" },
{0x16, 0x01, 0x0e, 0x00, "5 Coins 1 Credits" },
{0x16, 0x01, 0x0e, 0x02, "3 Coins 1 Credits" },
{0x16, 0x01, 0x0e, 0x04, "2 Coins 1 Credits" },
{0x16, 0x01, 0x0e, 0x0e, "1 Coin 1 Credits" },
{0x16, 0x01, 0x0e, 0x0c, "1 Coin 2 Credits" },
{0x16, 0x01, 0x0e, 0x0a, "1 Coin 3 Credits" },
{0x16, 0x01, 0x0e, 0x08, "1 Coin 4 Credits" },
{0x16, 0x01, 0x0e, 0x06, "1 Coin 5 Credits" },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x15, 0x01, 0x10, 0x10, "Off" },
{0x15, 0x01, 0x10, 0x00, "On" },
{0x16, 0x01, 0x10, 0x10, "Off" },
{0x16, 0x01, 0x10, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Freeze" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
{0x16, 0x01, 0x20, 0x20, "Off" },
{0x16, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Gangwars)
static struct BurnDIPInfo SbasebalDIPList[]=
{
{0x13, 0xff, 0xff, 0xff, NULL },
{0x14, 0xff, 0xff, 0xcf, NULL },
{0 , 0xfe, 0 , 2, "Service Mode " },
{0x13, 0x01, 0x02, 0x02, "Off" },
{0x13, 0x01, 0x02, 0x00, "On" },
{0x14, 0xff, 0xff, 0xfd, NULL },
{0x15, 0xff, 0xff, 0xcf, NULL },
{0 , 0xfe, 0 , 2, "Freeze" },
{0x13, 0x01, 0x04, 0x04, "Off" },
{0x13, 0x01, 0x04, 0x00, "On" },
{0x14, 0x01, 0x04, 0x04, "Off" },
{0x14, 0x01, 0x04, 0x00, "On" },
{0 , 0xfe, 0 , 2, "Flip Screen" },
{0x13, 0x01, 0x08, 0x08, "Off" },
{0x13, 0x01, 0x08, 0x00, "On" },
{0x14, 0x01, 0x08, 0x08, "Off" },
{0x14, 0x01, 0x08, 0x00, "On" },
{0 , 0xfe, 0 , 4, "Game Time" },
{0x13, 0x01, 0xc0, 0x00, "3:30" },
{0x13, 0x01, 0xc0, 0x80, "3:00" },
{0x13, 0x01, 0xc0, 0x40, "2:30" },
{0x13, 0x01, 0xc0, 0xc0, "2:00" },
{0x14, 0x01, 0xc0, 0x00, "3:30" },
{0x14, 0x01, 0xc0, 0x80, "3:00" },
{0x14, 0x01, 0xc0, 0x40, "2:30" },
{0x14, 0x01, 0xc0, 0xc0, "2:00" },
{0 , 0xfe, 0 , 4, "Difficulty" },
{0x14, 0x01, 0x03, 0x02, "Easy" },
{0x14, 0x01, 0x03, 0x03, "Normal" },
{0x14, 0x01, 0x03, 0x01, "Hard" },
{0x14, 0x01, 0x03, 0x00, "Hardest" },
{0x15, 0x01, 0x03, 0x02, "Easy" },
{0x15, 0x01, 0x03, 0x03, "Normal" },
{0x15, 0x01, 0x03, 0x01, "Hard" },
{0x15, 0x01, 0x03, 0x00, "Hardest" },
{0 , 0xfe, 0 , 4, "Coinage" },
{0x14, 0x01, 0x0c, 0x08, "2 Coins 1 Credits" },
{0x14, 0x01, 0x0c, 0x0c, "1 Coin 1 Credits" },
{0x14, 0x01, 0x0c, 0x04, "1 Coin 2 Credits" },
{0x14, 0x01, 0x0c, 0x00, "Free Play" },
{0x15, 0x01, 0x0c, 0x08, "2 Coins 1 Credit" },
{0x15, 0x01, 0x0c, 0x0c, "1 Coin 1 Credit" },
{0x15, 0x01, 0x0c, 0x04, "1 Coin 2 Credits" },
{0x15, 0x01, 0x0c, 0x00, "Free Play" },
{0 , 0xfe, 0 , 2, "Price to Continue" },
{0x14, 0x01, 0x10, 0x10, "1 Coin 1 Credits" },
{0x14, 0x01, 0x10, 0x00, "Same as Start" },
{0x15, 0x01, 0x10, 0x10, "1 Coin 1 Credit" },
{0x15, 0x01, 0x10, 0x00, "Same as Start" },
{0 , 0xfe, 0 , 2, "Demo Sounds" },
{0x14, 0x01, 0x20, 0x20, "Off" },
{0x14, 0x01, 0x20, 0x00, "On" },
{0x15, 0x01, 0x20, 0x20, "Off" },
{0x15, 0x01, 0x20, 0x00, "On" },
};
STDDIPINFO(Sbasebal)
@ -1664,7 +1663,7 @@ static INT32 Drv2Init(INT32 (*pLoadCb)(), UINT8 invert, UINT16 mc_id, UINT16 coi
SekInit(0, 0x68000);
SekOpen(0);
SekMapMemory(Drv68KROM, 0x000000, 0x03ffff, MAP_RAM);
SekMapMemory(Drv68KROM, 0x000000, 0x03ffff, MAP_ROM);
SekMapMemory(DrvShareRAM, 0x040000, 0x040fff, MAP_RAM);
// SekMapMemory(DrvVidRAM, 0x100000, 0x100fff, MAP_RAM);
SekMapMemory(DrvSprRAM, 0x200000, 0x207fff, MAP_RAM);
@ -1732,7 +1731,7 @@ static INT32 Drv5Init(INT32 (*pLoadCb)(), UINT8 invert, UINT16 mc_id, UINT16 coi
SekInit(0, 0x68000);
SekOpen(0);
SekMapMemory(Drv68KROM, 0x000000, 0x03ffff, MAP_RAM);
SekMapMemory(Drv68KROM, 0x000000, 0x03ffff, MAP_ROM);
SekMapMemory(DrvShareRAM, 0x040000, 0x043fff, MAP_RAM);
// SekMapMemory(DrvVidRAM, 0x100000, 0x100fff, MAP_RAM);
SekMapMemory(DrvSprRAM, 0x200000, 0x207fff, MAP_RAM);
@ -2017,7 +2016,7 @@ static INT32 SbasebalDraw()
return 0;
}
//extern int counter;
static INT32 DrvFrame()
{
if (DrvReset) {
@ -2037,7 +2036,7 @@ static INT32 DrvFrame()
DrvInputs[0] = (invert_controls) ? 0 : 0xff;
DrvInputs[1] = (invert_controls) ? 0 : 0xff;
DrvInputs[2] = 0x03; // read by mcu-sim, no inversion
DrvInputs[3] =(0x01 | (DrvDips[0] & 0xfe)) ^ ((invert_controls) ? 0xff : 0x00);
DrvInputs[3] =((DrvSrv[0] ? 0x00 : 0x02) | 0x01 | (DrvDips[0] & 0xfc)) ^ ((invert_controls) ? 0xff : 0x00);
DrvInputs[4] = DrvDips[1]; // read by mcu-sim, no inversion
for (INT32 i = 0; i < 8; i++)
@ -2054,8 +2053,8 @@ static INT32 DrvFrame()
}
INT32 nSegment;
INT32 nInterleave = 125; // sound nmi
INT32 nTotalCycles[2] = { 8000000 / 60, (3579545 * 2) / 60 };
INT32 nInterleave = (game_id == 5) ? 141 : 125; // sound nmi
INT32 nTotalCycles[2] = { ((game_id == 5) ? 10000000 : 8000000) / 60, (3579545 * 2) / 60 };
INT32 nCyclesDone[2] = { 0, 0 };
SekOpen(0);
@ -2067,7 +2066,7 @@ static INT32 DrvFrame()
nCyclesDone[0] += SekRun(nSegment);
if (microcontroller_id == 0x8803) { // goldmedl
if (i == (nInterleave * (240-18)) / 253) {
if (i == (nInterleave - 1)) {
SekSetIRQLine(1, CPU_IRQSTATUS_AUTO);
}
@ -2075,7 +2074,7 @@ static INT32 DrvFrame()
SekSetIRQLine(2, CPU_IRQSTATUS_AUTO);
}
} else {
if (i == (nInterleave * (240-18)) / 253) {
if (i == nInterleave - 1) {
SekSetIRQLine(3, CPU_IRQSTATUS_AUTO);
}
}
@ -2485,22 +2484,15 @@ static INT32 BtlfieldbRomCb()
static INT32 BtlfieldbInit()
{
INT32 rc = Drv2Init(BtlfieldbRomCb, 1, 0, 0x2222, ALPHA68K_BTLFIELDB);
if (!rc) {
game_rotates = 1;
RotateSetGunPosRAM(DrvShareRAM + (0x17), DrvShareRAM + (0x16), 1);
}
return rc;
return Drv2Init(BtlfieldbRomCb, 1, 0, 0x2222, ALPHA68K_BTLFIELDB);
}
struct BurnDriver BurnDrvBtlfieldb = {
"btlfieldb", "timesold", NULL, NULL, "1987",
"Battle Field (bootleg)\0", NULL, "bootleg", "Miscellaneous",
"Battle Field (bootleg)\0", "no-rotation joystick ver", "bootleg", "Miscellaneous",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG | BDF_ORIENTATION_FLIPPED | BDF_ORIENTATION_VERTICAL, 2, HARDWARE_MISC_PRE90S, GBF_SHOOT, 0,
NULL, btlfieldbRomInfo, btlfieldbRomName, NULL, NULL, BtlfieldInputInfo, BtlfieldbDIPInfo,
NULL, btlfieldbRomInfo, btlfieldbRomName, NULL, NULL, BtlfieldbInputInfo, BtlfieldbDIPInfo,
BtlfieldbInit, DrvExit, DrvFrame, Alpha68KIIDraw, DrvScan, &DrvRecalc, 0x800,
224, 256, 3, 4
};
@ -2969,7 +2961,7 @@ static INT32 SkyadvntRomCb()
static INT32 SkyadvntInit()
{
return Drv5Init(SkyadvntRomCb, 0, 0x8814, 0x2222, 0);
return Drv5Init(SkyadvntRomCb, 0, 0x8814, 0x2222, 5);
}
struct BurnDriver BurnDrvSkyadvnt = {
@ -3009,7 +3001,7 @@ STD_ROM_FN(skyadvntu)
static INT32 SkyadvntuInit()
{
return Drv5Init(SkyadvntRomCb, 0, 0x8814, 0x2423, 0);
return Drv5Init(SkyadvntRomCb, 0, 0x8814, 0x2423, 5);
}
struct BurnDriver BurnDrvSkyadvntu = {
@ -3119,7 +3111,7 @@ static INT32 GangwarsRomCb()
static INT32 GangwarsInit()
{
return Drv5Init(GangwarsRomCb, 0, 0x8512, 0x2423, 0);
return Drv5Init(GangwarsRomCb, 0, 0x8512, 0x2423, 5);
}
struct BurnDriver BurnDrvGangwars = {
@ -3257,7 +3249,7 @@ static INT32 GangwarsbRomCb()
static INT32 GangwarsbInit()
{
return Drv5Init(GangwarsbRomCb, 0, 0x8512, 0x2423, 0);
return Drv5Init(GangwarsbRomCb, 0, 0x8512, 0x2423, 5);
}
struct BurnDriver BurnDrvGangwarsb = {
@ -3402,7 +3394,7 @@ static INT32 SbasebalRomCb()
static INT32 SbasebalInit()
{
INT32 rc = Drv5Init(SbasebalRomCb, 0, 0x8512, 0x2423, 0);
INT32 rc = Drv5Init(SbasebalRomCb, 0, 0x8512, 0x2423, 5);
if (!rc) {
UINT16 *rom = (UINT16*)Drv68KROM;
rom[0xb672/2] = 0x4e71;