diff options
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 |
commit | 5dcdb1d1c3e2fd3b3f71d7d418938bf83a17134c (patch) | |
tree | 17a7f72c151618bc0c227ada701df44d03672799 /src/mame/drivers/m57.c | |
parent | 4a36b515ed656ccdaffe01af527524503d2d7bf3 (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/m57.c')
-rw-r--r-- | src/mame/drivers/m57.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/m57.c b/src/mame/drivers/m57.c index 877a63d33a0..275badfda66 100644 --- a/src/mame/drivers/m57.c +++ b/src/mame/drivers/m57.c @@ -88,7 +88,7 @@ ADDRESS_MAP_END /* Same as m52, m58 and m62 (IREM Z80 hardware) */ static INPUT_PORTS_START( m57 ) - PORT_START_TAG("IN0") + PORT_START("IN0") /* Start 1 & 2 also restarts and freezes the game with stop mode on and are used in test mode to enter and esc the various tests */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) @@ -98,7 +98,7 @@ static INPUT_PORTS_START( m57 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_START_TAG("IN1") + PORT_START("IN1") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY @@ -108,7 +108,7 @@ static INPUT_PORTS_START( m57 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) - PORT_START_TAG("IN2") + PORT_START("IN2") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL @@ -120,7 +120,7 @@ static INPUT_PORTS_START( m57 ) /* DSW1 is so different from game to game that it isn't included here */ - PORT_START_TAG("DSW2") + PORT_START("DSW2") PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW2:1") PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) @@ -172,7 +172,7 @@ static INPUT_PORTS_START( troangel ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW2:6" ) - PORT_START_TAG("DSW1") + PORT_START("DSW1") PORT_DIPNAME( 0x03, 0x03, "Time" ) PORT_DIPLOCATION("SW1:1,2") /* table at 0x6110 - 4 * 8 bytes (B1 B2 bonus A1 A2 bonus M1 M2) */ PORT_DIPSETTING( 0x03, "B:180/A:160/M:140/BG:120" ) PORT_DIPSETTING( 0x02, "B:160/A:140/M:120/BG:100" ) |