mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
gunpey.c: Added dipswitch locations to Gunpey. [Brian Troha]
This commit is contained in:
parent
e8cc372aaa
commit
b776b01e87
@ -250,30 +250,30 @@ static const ymz280b_interface ymz280b_intf =
|
|||||||
|
|
||||||
static INPUT_PORTS_START( gunpey )
|
static INPUT_PORTS_START( gunpey )
|
||||||
PORT_START("DSW1") // IN0 - 7f40
|
PORT_START("DSW1") // IN0 - 7f40
|
||||||
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Difficulty ) )
|
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:1,2")
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( Easy ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( Easy ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( Hard ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( Hard ) )
|
||||||
PORT_DIPSETTING( 0x03, DEF_STR( Hardest ) )
|
PORT_DIPSETTING( 0x03, DEF_STR( Hardest ) )
|
||||||
PORT_DIPNAME( 0x0c, 0x00, "Difficulty (vs. mode)" )
|
PORT_DIPNAME( 0x0c, 0x00, "Difficulty (vs. mode)" ) PORT_DIPLOCATION("SW1:3,4")
|
||||||
PORT_DIPSETTING( 0x04, DEF_STR( Easy ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( Easy ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( Hard ) )
|
||||||
PORT_DIPSETTING( 0x0c, DEF_STR( Hardest ) )
|
PORT_DIPSETTING( 0x0c, DEF_STR( Hardest ) )
|
||||||
PORT_DIPNAME( 0x30, 0x00, "Matches (vs. mode)?" )
|
PORT_DIPNAME( 0x30, 0x00, "Matches (vs. mode)?" ) PORT_DIPLOCATION("SW1:5,6")
|
||||||
PORT_DIPSETTING( 0x00, "1" )
|
PORT_DIPSETTING( 0x00, "1" )
|
||||||
PORT_DIPSETTING( 0x10, "2" )
|
PORT_DIPSETTING( 0x10, "2" )
|
||||||
PORT_DIPSETTING( 0x20, "3" )
|
PORT_DIPSETTING( 0x20, "3" )
|
||||||
PORT_DIPSETTING( 0x30, "5" )
|
PORT_DIPSETTING( 0x30, "5" )
|
||||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
|
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:7")
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
|
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:8")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||||
|
|
||||||
PORT_START("DSW2") // IN1 - 7f41
|
PORT_START("DSW2") // IN1 - 7f41
|
||||||
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A ) )
|
PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW2:1,2,3")
|
||||||
PORT_DIPSETTING( 0x07, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x07, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) )
|
||||||
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
|
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
|
||||||
@ -282,7 +282,7 @@ static INPUT_PORTS_START( gunpey )
|
|||||||
PORT_DIPSETTING( 0x04, DEF_STR( 2C_3C ) )
|
PORT_DIPSETTING( 0x04, DEF_STR( 2C_3C ) )
|
||||||
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) )
|
PORT_DIPNAME( 0x38, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW2:4,5,6")
|
||||||
PORT_DIPSETTING( 0x38, DEF_STR( 4C_1C ) )
|
PORT_DIPSETTING( 0x38, DEF_STR( 4C_1C ) )
|
||||||
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
PORT_DIPSETTING( 0x28, DEF_STR( 3C_1C ) )
|
||||||
PORT_DIPSETTING( 0x18, DEF_STR( 2C_1C ) )
|
PORT_DIPSETTING( 0x18, DEF_STR( 2C_1C ) )
|
||||||
@ -291,10 +291,10 @@ static INPUT_PORTS_START( gunpey )
|
|||||||
PORT_DIPSETTING( 0x20, DEF_STR( 2C_3C ) )
|
PORT_DIPSETTING( 0x20, DEF_STR( 2C_3C ) )
|
||||||
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
PORT_DIPSETTING( 0x08, DEF_STR( 1C_2C ) )
|
||||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
PORT_DIPSETTING( 0x10, DEF_STR( 1C_3C ) )
|
||||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Free_Play ) )
|
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW2:7")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) )
|
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW2:8")
|
||||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user