mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
shootout.c: Added dipswitch locations to the Shootout sets. [Brian Troha]
This commit is contained in:
parent
cedd21c33e
commit
ac1b9c00ff
@ -133,39 +133,39 @@ static INPUT_PORTS_START( shootout )
|
|||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, shootout_state,coin_inserted, 0)
|
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, shootout_state,coin_inserted, 0)
|
||||||
|
|
||||||
PORT_START("DSW1")
|
PORT_START("DSW1")
|
||||||
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) )
|
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) ) PORT_DIPLOCATION( "DSW1:1,2" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
|
||||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) )
|
PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) )
|
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_B ) ) PORT_DIPLOCATION( "DSW1:3,4" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
|
||||||
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_1C ) )
|
PORT_DIPSETTING( 0x0c, DEF_STR( 1C_1C ) )
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( 1C_3C ) )
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "DSW1:5" ) /* Manual lists this dip as "Unused" */
|
||||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
|
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION( "DSW1:6" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
|
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION( "DSW1:7" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( Cocktail ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( Cocktail ) )
|
||||||
PORT_DIPNAME( 0x80, 0x80, "Freeze" )
|
PORT_DIPNAME( 0x80, 0x80, "Freeze" ) PORT_DIPLOCATION( "DSW1:8" ) /* Manual lists this dip as "Unused" */
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("DSW2")
|
PORT_START("DSW2")
|
||||||
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
|
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION( "DSW2:1,2" )
|
||||||
PORT_DIPSETTING( 0x01, "1" )
|
PORT_DIPSETTING( 0x01, "1" )
|
||||||
PORT_DIPSETTING( 0x03, "3" )
|
PORT_DIPSETTING( 0x03, "3" )
|
||||||
PORT_DIPSETTING( 0x02, "5" )
|
PORT_DIPSETTING( 0x02, "5" )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Infinite ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Infinite ) )
|
||||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
|
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION( "DSW2:3,4" )
|
||||||
PORT_DIPSETTING( 0x0c, "20.000 Every 70.000" )
|
PORT_DIPSETTING( 0x0c, "20,000 Every 70,000" )
|
||||||
PORT_DIPSETTING( 0x08, "30.000 Every 80.000" )
|
PORT_DIPSETTING( 0x08, "30,000 Every 80,000" )
|
||||||
PORT_DIPSETTING( 0x04, "40.000 Every 90.000" )
|
PORT_DIPSETTING( 0x04, "40,000 Every 90,000" )
|
||||||
PORT_DIPSETTING( 0x00, "70.000" )
|
PORT_DIPSETTING( 0x00, "70,000" )
|
||||||
PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )
|
PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION( "DSW2:5,6" )
|
||||||
PORT_DIPSETTING( 0x30, DEF_STR( Easy ) )
|
PORT_DIPSETTING( 0x30, DEF_STR( Easy ) )
|
||||||
PORT_DIPSETTING( 0x20, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x20, DEF_STR( Normal ) )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( Hard ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( Hard ) )
|
||||||
@ -178,16 +178,16 @@ static INPUT_PORTS_START( shootouj )
|
|||||||
PORT_INCLUDE(shootout)
|
PORT_INCLUDE(shootout)
|
||||||
|
|
||||||
PORT_MODIFY("DSW1")
|
PORT_MODIFY("DSW1")
|
||||||
PORT_DIPNAME( 0x20, 0x20, "Company Copyright" )
|
PORT_DIPNAME( 0x20, 0x20, "Company Copyright" ) PORT_DIPLOCATION( "DSW1:6" )
|
||||||
PORT_DIPSETTING( 0x20, "Data East Corp" )
|
PORT_DIPSETTING( 0x20, "Data East Corp" )
|
||||||
PORT_DIPSETTING( 0x00, "Data East USA Inc" )
|
PORT_DIPSETTING( 0x00, "Data East USA Inc" )
|
||||||
|
|
||||||
PORT_MODIFY("DSW2")
|
PORT_MODIFY("DSW2")
|
||||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
|
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION( "DSW2:3,4" )
|
||||||
PORT_DIPSETTING( 0x0c, "20K 50K" )
|
PORT_DIPSETTING( 0x0c, "20,000 Every 50,000" )
|
||||||
PORT_DIPSETTING( 0x08, "30K 60K" )
|
PORT_DIPSETTING( 0x08, "30,000 Every 60,000" )
|
||||||
PORT_DIPSETTING( 0x04, "50K 70K" )
|
PORT_DIPSETTING( 0x04, "50,000 Every 70,000" )
|
||||||
PORT_DIPSETTING( 0x00, "70K" )
|
PORT_DIPSETTING( 0x00, "70,000" )
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user