summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/exidy.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-08-06 13:56:38 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-08-06 13:56:38 +0000
commit5dcdb1d1c3e2fd3b3f71d7d418938bf83a17134c (patch)
tree17a7f72c151618bc0c227ada701df44d03672799 /src/mame/drivers/exidy.c
parent4a36b515ed656ccdaffe01af527524503d2d7bf3 (diff)
NOTE: with this change, I have also removed PORT_START and renamed
PORT_START_TAG to PORT_START. From: Fabio Priuli [mailto:doge.fabio@gmail.com] Subject: let's say goodbye to untagged input ports ;) Hi, enclosed please find a few patches against 126u3 source * port01.diff -> port09.diff : these patches continues the cleanup of inputs in drivers starting with C (the remaining ones), D and E. No ambiguous situations this time, so I guess there should be no problem with the changes. Improvements include conditional dips added to dynduke and diplocations for chinagat, chqflag, circus, citycon, cloak, contra and dynduke * tag01.diff -> tag09.diff : these patches add tag to EVERY input port in drivers starting with F->Z. Notice that only tags are added, no AM_READ_PORT, nor PORT_INCLUDE (and I saw a lot of drivers would need it ;) ), nor other cleanups contained in the patches above. I'll keep cleaning input next week, probably, but at least we can definitely remove the untagged version of PORT_START :) Notice I was able to compile the source commenting out the definition of PORT_START, so I guess every occurrence is covered...
Diffstat (limited to 'src/mame/drivers/exidy.c')
-rw-r--r--src/mame/drivers/exidy.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/mame/drivers/exidy.c b/src/mame/drivers/exidy.c
index 33632eb5dce..e3247ff5265 100644
--- a/src/mame/drivers/exidy.c
+++ b/src/mame/drivers/exidy.c
@@ -289,7 +289,7 @@ ADDRESS_MAP_END
*************************************/
static INPUT_PORTS_START( sidetrac )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
PORT_DIPSETTING( 0x00, "2" )
PORT_DIPSETTING( 0x01, "3" )
@@ -305,7 +305,7 @@ static INPUT_PORTS_START( sidetrac )
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
@@ -315,16 +315,16 @@ static INPUT_PORTS_START( sidetrac )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
static INPUT_PORTS_START( targ )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) /* upright/cocktail switch? */
PORT_DIPNAME( 0x02, 0x00, "Pence Coinage" )
PORT_DIPSETTING( 0x00, "10P/1P, 50P Coin/6P" )
@@ -346,7 +346,7 @@ static INPUT_PORTS_START( targ )
PORT_DIPSETTING( 0x80, "Quarters" )
PORT_DIPSETTING( 0x00, "Pence" )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
@@ -356,13 +356,13 @@ static INPUT_PORTS_START( targ )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
PORT_BIT( 0x1f, IP_ACTIVE_HIGH, IPT_SPECIAL )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
@@ -438,7 +438,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( mtrap )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x06, "30000" )
@@ -460,7 +460,7 @@ static INPUT_PORTS_START( mtrap )
PORT_DIPSETTING( 0x20, "4" )
PORT_DIPSETTING( 0x00, "5" )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
@@ -470,7 +470,7 @@ static INPUT_PORTS_START( mtrap )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
/*
The schematics claim these exist, but there's nothing in
the ROMs to support that claim (as far as I can see):
@@ -490,7 +490,7 @@ static INPUT_PORTS_START( mtrap )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Yellow Button")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Red Button")
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Free_Play ) )
@@ -502,7 +502,7 @@ INPUT_PORTS_END
static INPUT_PORTS_START( venture )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_DIPNAME( 0x06, 0x00, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x00, "20000" )
@@ -523,7 +523,7 @@ static INPUT_PORTS_START( venture )
PORT_DIPSETTING( 0x40, "4" )
PORT_DIPSETTING( 0x60, "5" )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
@@ -533,7 +533,7 @@ static INPUT_PORTS_START( venture )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
/*
The schematics claim these exist, but there's nothing in
the ROMs to support that claim (as far as I can see):
@@ -552,13 +552,13 @@ static INPUT_PORTS_START( venture )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
static INPUT_PORTS_START( teetert )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x06, "20000" )
@@ -580,7 +580,7 @@ static INPUT_PORTS_START( teetert )
PORT_DIPSETTING( 0x40, "3" )
PORT_DIPSETTING( 0x60, "2" )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x44, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(teetert_input_r, 0)
@@ -589,7 +589,7 @@ static INPUT_PORTS_START( teetert )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
/*
The schematics claim these exist, but there's nothing in
the ROMs to support that claim (as far as I can see):
@@ -608,16 +608,16 @@ static INPUT_PORTS_START( teetert )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START_TAG("DIAL")
+ PORT_START("DIAL")
PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(5) PORT_KEYDELTA(30) PORT_REVERSE
INPUT_PORTS_END
static INPUT_PORTS_START( pepper2 )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT ( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) )
PORT_DIPSETTING( 0x06, "40000" )
@@ -639,7 +639,7 @@ static INPUT_PORTS_START( pepper2 )
PORT_DIPSETTING( 0x08, "1 Coin/3 Credits 2C/7C" )
PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT ( 0x02, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT ( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
@@ -649,7 +649,7 @@ static INPUT_PORTS_START( pepper2 )
PORT_BIT ( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
/*
The schematics claim these exist, but there's nothing in
the ROMs to support that claim (as far as I can see):
@@ -668,13 +668,13 @@ static INPUT_PORTS_START( pepper2 )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
INPUT_PORTS_END
static INPUT_PORTS_START( fax )
- PORT_START_TAG("DSW")
+ PORT_START("DSW")
PORT_BIT ( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 )
PORT_DIPNAME( 0x06, 0x06, "Bonus Time" )
PORT_DIPSETTING( 0x06, "8000" )
@@ -696,11 +696,11 @@ static INPUT_PORTS_START( fax )
PORT_DIPSETTING( 0x08, "1 Coin/3 Credits 2C/7C" )
PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) )
- PORT_START_TAG("IN0")
+ PORT_START("IN0")
PORT_BIT ( 0x7f, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_START_TAG("INTSOURCE")
+ PORT_START("INTSOURCE")
/*
The schematics claim these exist, but there's nothing in
the ROMs to support that claim (as far as I can see):
@@ -719,10 +719,10 @@ static INPUT_PORTS_START( fax )
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
- PORT_START_TAG("IN2")
+ PORT_START("IN2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START_TAG("IN3")
+ PORT_START("IN3")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START2 )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x0c, IP_ACTIVE_LOW, IPT_UNUSED )
@@ -731,7 +731,7 @@ static INPUT_PORTS_START( fax )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
- PORT_START_TAG("IN4")
+ PORT_START("IN4")
PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)