diff options
Diffstat (limited to 'src/mame/drivers/mexico86.c')
-rw-r--r-- | src/mame/drivers/mexico86.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/mexico86.c b/src/mame/drivers/mexico86.c index 6381e432a9b..917e68f9be2 100644 --- a/src/mame/drivers/mexico86.c +++ b/src/mame/drivers/mexico86.c @@ -78,7 +78,7 @@ static ADDRESS_MAP_START( readmem, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0xc000, 0xe7ff) AM_READ(shared_r) /* shared with sound cpu */ AM_RANGE(0xe800, 0xe8ff) AM_READ(SMH_RAM) /* protection ram */ AM_RANGE(0xe900, 0xefff) AM_READ(SMH_RAM) - AM_RANGE(0xf010, 0xf010) AM_READ(input_port_5_r) + AM_RANGE(0xf010, 0xf010) AM_READ_PORT("IN3") AM_RANGE(0xf800, 0xffff) AM_READ(SMH_RAM) /* communication ram - to connect 4 players's subboard */ ADDRESS_MAP_END @@ -115,7 +115,7 @@ static ADDRESS_MAP_START( m68705_readmem, ADDRESS_SPACE_PROGRAM, 8 ) ADDRESS_MAP_GLOBAL_MASK(0x7ff) AM_RANGE(0x0000, 0x0000) AM_READ(mexico86_68705_portA_r) AM_RANGE(0x0001, 0x0001) AM_READ(mexico86_68705_portB_r) - AM_RANGE(0x0002, 0x0002) AM_READ(input_port_0_r) /* COIN */ + AM_RANGE(0x0002, 0x0002) AM_READ_PORT("IN0") /* COIN */ AM_RANGE(0x0010, 0x007f) AM_READ(SMH_RAM) AM_RANGE(0x0080, 0x07ff) AM_READ(SMH_ROM) ADDRESS_MAP_END @@ -137,7 +137,7 @@ static ADDRESS_MAP_START( sub_cpu_map, ADDRESS_SPACE_PROGRAM, 8 ) ADDRESS_MAP_END static INPUT_PORTS_START( mexico86 ) - PORT_START /* IN0 */ + PORT_START_TAG("IN0") /* IN0 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -147,7 +147,7 @@ static INPUT_PORTS_START( mexico86 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* IN1 */ + PORT_START_TAG("IN1") /* IN1 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) @@ -157,7 +157,7 @@ static INPUT_PORTS_START( mexico86 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) /* service 2 */ - PORT_START /* IN2 */ + PORT_START_TAG("IN2") /* IN2 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) @@ -167,7 +167,7 @@ static INPUT_PORTS_START( mexico86 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START + PORT_START_TAG("DSW0") /* When Bit 1 is On, the machine waits a signal from another one */ /* Seems like if you can join two cabinets, one as master */ /* and the other as slave, probably to play four players */ @@ -192,7 +192,7 @@ static INPUT_PORTS_START( mexico86 ) PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C ) ) PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) - PORT_START + PORT_START_TAG("DSW1") PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPSETTING( 0x03, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x02, DEF_STR( Normal ) ) @@ -217,7 +217,7 @@ static INPUT_PORTS_START( mexico86 ) PORT_DIPSETTING( 0x80, "2" ) PORT_DIPSETTING( 0x00, "4" ) - PORT_START + PORT_START_TAG("IN3") /* the following is actually service coin 1 */ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Advance") PORT_CODE(KEYCODE_F1) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -230,7 +230,7 @@ static INPUT_PORTS_START( mexico86 ) INPUT_PORTS_END static INPUT_PORTS_START( kikikai ) - PORT_START /* IN0 */ + PORT_START_TAG("IN0") /* IN0 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -240,7 +240,7 @@ static INPUT_PORTS_START( kikikai ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* IN1 */ + PORT_START_TAG("IN1") /* IN1 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY @@ -250,7 +250,7 @@ static INPUT_PORTS_START( kikikai ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* IN2 */ + PORT_START_TAG("IN2") /* IN2 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL @@ -261,7 +261,7 @@ static INPUT_PORTS_START( kikikai ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) //AT - PORT_START /* DSW0 */ + PORT_START_TAG("DSW0") /* DSW0 */ PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) ) PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) PORT_DIPSETTING( 0x01, DEF_STR( Cocktail ) ) @@ -298,7 +298,7 @@ static INPUT_PORTS_START( kikikai ) PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C ) ) PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) - PORT_START /* DSW1 */ + PORT_START_TAG("DSW1") /* DSW1 */ PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) PORT_DIPSETTING( 0x02, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x03, DEF_STR( Normal ) ) @@ -322,7 +322,7 @@ static INPUT_PORTS_START( kikikai ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) //ZT - PORT_START + PORT_START_TAG("IN3") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT ) |