diff options
Diffstat (limited to 'src/mame/drivers/qix.c')
-rw-r--r-- | src/mame/drivers/qix.c | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/src/mame/drivers/qix.c b/src/mame/drivers/qix.c index 584b33c2c6e..5bc6b51a2da 100644 --- a/src/mame/drivers/qix.c +++ b/src/mame/drivers/qix.c @@ -301,7 +301,7 @@ ADDRESS_MAP_END static INPUT_PORTS_START( qix ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY @@ -311,16 +311,16 @@ static INPUT_PORTS_START( qix ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 2 Port A (PLAYER 2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL @@ -332,7 +332,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( sdungeon ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_8WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT ) PORT_8WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN ) PORT_8WAY @@ -342,18 +342,18 @@ static INPUT_PORTS_START( sdungeon ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN ) PORT_8WAY PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT ) PORT_8WAY - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 ) PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 2 Port A (PLAYER 2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN ) PORT_8WAY PORT_COCKTAIL @@ -366,7 +366,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( elecyoyo ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY @@ -376,16 +376,16 @@ static INPUT_PORTS_START( elecyoyo ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 2 Port A (PLAYER 2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL @@ -395,7 +395,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( kram ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY @@ -405,16 +405,16 @@ static INPUT_PORTS_START( kram ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 2 Port A (PLAYER 2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL @@ -426,7 +426,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( zookeep ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY @@ -436,16 +436,16 @@ static INPUT_PORTS_START( zookeep ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 2 Port A (PLAYER 2) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL @@ -457,14 +457,14 @@ INPUT_PORTS_END static INPUT_PORTS_START( slither ) - PORT_START /* PIA 0 Port A (PLAYER 1) */ + PORT_START_TAG("P1") /* PIA 0 Port A (PLAYER 1) */ PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ PORT_SERVICE(0x01, IP_ACTIVE_LOW ) PORT_BIT( 0x0e, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) @@ -472,29 +472,29 @@ static INPUT_PORTS_START( slither ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_TILT ) - PORT_START /* PIA 3 Port A (PLAYER 2) */ + PORT_START_TAG("P2") /* PIA 3 Port A (PLAYER 2) */ PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 ) PORT_COCKTAIL PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) PORT_COCKTAIL PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL - PORT_START /* PIA 1 Port A (TRACKBALL L/R) */ + PORT_START_TAG("AN0") /* PIA 1 Port A (TRACKBALL L/R) */ PORT_BIT( 0xff, 0, IPT_TRACKBALL_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) - PORT_START /* PIA 2 Port A (TRACKBALL U/D) */ + PORT_START_TAG("AN1") /* PIA 2 Port A (TRACKBALL U/D) */ PORT_BIT( 0xff, 0, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_REVERSE - PORT_START /* PIA 1 Port A (TRACKBALL L/R) */ + PORT_START_TAG("AN2") /* PIA 1 Port A (TRACKBALL L/R) */ PORT_BIT( 0xff, 0, IPT_TRACKBALL_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_COCKTAIL - PORT_START /* PIA 2 Port A (TRACKBALL U/D) */ + PORT_START_TAG("AN3") /* PIA 2 Port A (TRACKBALL U/D) */ PORT_BIT( 0xff, 0, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_REVERSE PORT_COCKTAIL INPUT_PORTS_END static INPUT_PORTS_START( complexx ) - PORT_START /* PIA 0 Port A (Left Stick) */ + PORT_START_TAG("P1") /* PIA 0 Port A (Left Stick) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_8WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT ) PORT_8WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN ) PORT_8WAY @@ -514,16 +514,16 @@ I gotta think it's not supposed to be hooked up at all and if the difficulty is that low, you just can't shoot, so I think it should stay as-is. Tim Lindquist 1-17-03 */ - PORT_START /* PIA 0 Port B (COIN) */ + PORT_START_TAG("COIN") /* PIA 0 Port B (COIN) */ COIN_PORT - PORT_START /* PIA 1 Port A (SPARE) */ + PORT_START_TAG("SPARE") /* PIA 1 Port A (SPARE) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 1 Port B (PLAYER 1/2) */ + PORT_START_TAG("IN0") /* PIA 1 Port B (PLAYER 1/2) */ PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_START /* PIA 2 Port A (Right Stick) */ + PORT_START_TAG("P2") /* PIA 2 Port A (Right Stick) */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED ) |