rastan.c: Add dipswitch locations to the Rastan sets. [Brian Troha]

This commit is contained in:
Brian Troha 2012-04-02 00:47:09 +00:00
parent 888c9e6496
commit afbee91538

View File

@ -269,40 +269,40 @@ static INPUT_PORTS_START( rastan )
/* 0x390008 -> 0x10c018 ($18,A5) */
PORT_START("DSWA")
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:1")
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x01, DEF_STR( Cocktail ) )
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:2")
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
PORT_DIPUNUSED( 0x08, IP_ACTIVE_LOW )
TAITO_COINAGE_WORLD
PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" ) /* Normally Demo Sound, but not used */
PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW1:4" )
TAITO_COINAGE_WORLD_LOC(SW1)
/* 0x39000a -> 0x10c01c ($1c,A5) */
PORT_START("DSWB")
TAITO_DIFFICULTY
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) /* table at 0x059f2e */
TAITO_DIFFICULTY_LOC(SW2)
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:3,4") /* table at 0x059f2e */
PORT_DIPSETTING( 0x0c, "100k 200k 400k 600k 800k" )
PORT_DIPSETTING( 0x08, "150k 300k 600k 900k 1200k" )
PORT_DIPSETTING( 0x04, "200k 400k 800k 1200k 1600k" )
PORT_DIPSETTING( 0x00, "250k 500k 1000k 1500k 2000k" )
PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,6")
PORT_DIPSETTING( 0x30, "3" )
PORT_DIPSETTING( 0x20, "4" )
PORT_DIPSETTING( 0x10, "5" )
PORT_DIPSETTING( 0x00, "6" )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) )
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
PORT_DIPSETTING( 0x40, DEF_STR( Yes ) )
PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW2:7")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW2:8" )
INPUT_PORTS_END
static INPUT_PORTS_START( rastsaga )
PORT_INCLUDE( rastan )
PORT_MODIFY("DSWA")
TAITO_COINAGE_JAPAN_OLD
TAITO_COINAGE_JAPAN_OLD_LOC(SW1)
INPUT_PORTS_END