mirror of
https://github.com/holub/mame
synced 2025-05-23 06:08:48 +03:00
Hooked up cocktail (P2) fire button so that it can be used in-game and in test mode.
Comments: Corrected long-standing issue in Tron where the cocktail fire button never worked at all or was always held down. Work still needs to be done with the 10 position dip which isn't properly hooked up yet.
This commit is contained in:
parent
6caf4d0608
commit
efb9b61b6c
@ -918,20 +918,21 @@ static INPUT_PORTS_START( tron )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
|
||||
|
||||
PORT_START("SSIO.IP3") /* DIPSW @ B3 */
|
||||
PORT_DIPNAME( 0x01, 0x00, "Coin Meters" ) PORT_DIPLOCATION("SW1:1")
|
||||
PORT_DIPNAME( 0x01, 0x00, "Coin Meters" ) PORT_DIPLOCATION("SW1:1")
|
||||
PORT_DIPSETTING( 0x01, "1" )
|
||||
PORT_DIPSETTING( 0x00, "2" )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:2")
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:2")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Cocktail ) )
|
||||
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "SW1:4" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "SW1:5" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "SW1:6" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW1:7" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "SW1:8" )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
|
||||
|
||||
// According to the manual, SW1 is a bank of *10* switches (9 is unused and 10 is freeze)
|
||||
// Where are the values for the other two bits read?
|
||||
|
||||
@ -939,9 +940,8 @@ static INPUT_PORTS_START( tron )
|
||||
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL
|
||||
|
||||
PORT_START("SSIO.DIP")
|
||||
PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user