summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taxidrvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taxidrvr.c')
-rw-r--r--src/mame/drivers/taxidrvr.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/taxidrvr.c b/src/mame/drivers/taxidrvr.c
index c6c433bf256..2e5c19c1b4e 100644
--- a/src/mame/drivers/taxidrvr.c
+++ b/src/mame/drivers/taxidrvr.c
@@ -61,7 +61,7 @@ static READ8_HANDLER( p1b_r )
static READ8_HANDLER( p1c_r )
{
- return (s2 << 7) | (s4 << 6) | ((input_port_read(machine, "IN2") & 1) << 4);
+ return (s2 << 7) | (s4 << 6) | ((input_port_read(machine, "SERVCOIN") & 1) << 4);
}
static WRITE8_HANDLER( p1a_w )
@@ -167,11 +167,11 @@ static ADDRESS_MAP_START( cpu2_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x6000, 0x67ff) AM_RAM
AM_RANGE(0x8000, 0x87ff) AM_RAM
AM_RANGE(0xa000, 0xa003) AM_DEVREADWRITE(PPI8255, "ppi8255_1", ppi8255_r, ppi8255_w)
- AM_RANGE(0xe000, 0xe000) AM_READ(input_port_0_r)
- AM_RANGE(0xe001, 0xe001) AM_READ(input_port_1_r)
- AM_RANGE(0xe002, 0xe002) AM_READ(input_port_2_r)
- AM_RANGE(0xe003, 0xe003) AM_READ(input_port_3_r)
- AM_RANGE(0xe004, 0xe004) AM_READ(input_port_4_r)
+ AM_RANGE(0xe000, 0xe000) AM_READ_PORT("DSW0")
+ AM_RANGE(0xe001, 0xe001) AM_READ_PORT("DSW1")
+ AM_RANGE(0xe002, 0xe002) AM_READ_PORT("DSW2")
+ AM_RANGE(0xe003, 0xe003) AM_READ_PORT("P1")
+ AM_RANGE(0xe004, 0xe004) AM_READ_PORT("P2")
ADDRESS_MAP_END
static ADDRESS_MAP_START( cpu3_map, ADDRESS_SPACE_PROGRAM, 8 )
@@ -276,7 +276,7 @@ static INPUT_PORTS_START( taxidrvr )
PORT_DIPSETTING( 0x80, "20/15" )
PORT_DIPSETTING( 0xc0, "10/10" )
- PORT_START("IN0")
+ PORT_START("P1")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON2 )
@@ -286,7 +286,7 @@ static INPUT_PORTS_START( taxidrvr )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_4WAY
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_4WAY
- PORT_START("IN1")
+ PORT_START("P2")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_COCKTAIL
@@ -296,7 +296,7 @@ static INPUT_PORTS_START( taxidrvr )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
- PORT_START("IN2")
+ PORT_START("SERVCOIN")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) /* handled by p1c_r() */
INPUT_PORTS_END