From efb9b61b6c351ca0430bfdc65baabb4a2ca3ea79 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Mon, 30 Nov 2009 20:28:38 +0000 Subject: [PATCH] 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. --- src/mame/drivers/mcr.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mame/drivers/mcr.c b/src/mame/drivers/mcr.c index 6b9fbc713e3..2c4044093d6 100644 --- a/src/mame/drivers/mcr.c +++ b/src/mame/drivers/mcr.c @@ -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