diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-10-13 01:33:52 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-10-13 01:33:52 +0000 |
commit | 824059b768fa01fcc57577e8e73b05d69c1ba18f (patch) | |
tree | e0e6dd6b50ae167a6e818d7a4f6c8abe785917e5 /src/mame/drivers/exidy.c | |
parent | cec2bad823ffd06b216dc5858a99d67bc4936f69 (diff) |
Added DIP LOCATIONS to items in the driver and cleaned up some of the
comments mentioning duplicate dips configurations. Not fully understanding
how the FREE PLAY was implemented, I left that not to show a location.
This .DIFF is based on 0.127u7 sources.
Tafoid
tafoid@yahoo.com
Diffstat (limited to 'src/mame/drivers/exidy.c')
-rw-r--r-- | src/mame/drivers/exidy.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/mame/drivers/exidy.c b/src/mame/drivers/exidy.c index 82ba24eefc7..09487c65c8c 100644 --- a/src/mame/drivers/exidy.c +++ b/src/mame/drivers/exidy.c @@ -290,17 +290,17 @@ ADDRESS_MAP_END static INPUT_PORTS_START( sidetrac ) PORT_START("DSW") - PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x00, "2" ) PORT_DIPSETTING( 0x01, "3" ) PORT_DIPSETTING( 0x02, "4" ) PORT_DIPSETTING( 0x03, "5" ) - PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:3,4") PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) ) + /* 0x0c same as 0x08 */ PORT_DIPSETTING( 0x04, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) -/* 0x0c 2C_1C */ - PORT_DIPNAME( 0x10, 0x10, "Top Score Award" ) + PORT_DIPNAME( 0x10, 0x10, "Top Score Award" ) PORT_DIPLOCATION("SW1:5") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x10, DEF_STR( On ) ) PORT_BIT( 0xe0, IP_ACTIVE_HIGH, IPT_UNUSED ) @@ -326,23 +326,23 @@ INPUT_PORTS_END static INPUT_PORTS_START( targ ) PORT_START("DSW") PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) /* upright/cocktail switch? */ - PORT_DIPNAME( 0x02, 0x00, "Pence Coinage" ) + PORT_DIPNAME( 0x02, 0x00, "Pence Coinage" ) PORT_DIPLOCATION("SW1:2") PORT_DIPSETTING( 0x00, "10P/1P, 50P Coin/6P" ) PORT_DIPSETTING( 0x02, "2x10P/1P, 50P Coin/3P" ) - PORT_DIPNAME( 0x04, 0x00, "Top Score Award" ) + PORT_DIPNAME( 0x04, 0x00, "Top Score Award" ) PORT_DIPLOCATION("SW1:3") PORT_DIPSETTING( 0x00, "Credit" ) PORT_DIPSETTING( 0x04, "Extended Play" ) - PORT_DIPNAME( 0x18, 0x08, "Quarter Coinage" ) + PORT_DIPNAME( 0x18, 0x08, "Quarter Coinage" ) PORT_DIPLOCATION("SW1:4,5") PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x08, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x00, "1C/1C (no display)" ) PORT_DIPSETTING( 0x18, DEF_STR( 1C_2C ) ) - PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x60, "2" ) PORT_DIPSETTING( 0x40, "3" ) PORT_DIPSETTING( 0x20, "4" ) PORT_DIPSETTING( 0x00, "5" ) - PORT_DIPNAME( 0x80, 0x80, "Currency" ) + PORT_DIPNAME( 0x80, 0x80, "Currency" ) PORT_DIPLOCATION("SW1:8") PORT_DIPSETTING( 0x80, "Quarters" ) PORT_DIPSETTING( 0x00, "Pence" ) @@ -372,7 +372,7 @@ static INPUT_PORTS_START( spectar ) PORT_INCLUDE(targ) PORT_MODIFY("INTSOURCE") - PORT_DIPNAME( 0x03, 0x00, DEF_STR( Language ) ) + PORT_DIPNAME( 0x03, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x00, DEF_STR( English ) ) PORT_DIPSETTING( 0x01, DEF_STR( French ) ) PORT_DIPSETTING( 0x02, DEF_STR( German ) ) @@ -384,7 +384,7 @@ static INPUT_PORTS_START( rallys ) PORT_INCLUDE(spectar) PORT_MODIFY("DSW") - PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) @@ -393,21 +393,21 @@ static INPUT_PORTS_START( rallys ) PORT_DIPSETTING( 0x01, "1C/1P, 50P Coin/6P" ) PORT_CONDITION("DSW", 0x80, PORTCOND_NOTEQUALS, 0x00) PORT_DIPSETTING( 0x02, "1C/2P, 50P Coin/12P" ) PORT_CONDITION("DSW", 0x80, PORTCOND_NOTEQUALS, 0x00) PORT_DIPSETTING( 0x03, "1C/3P, 50P Coin/18P" ) PORT_CONDITION("DSW", 0x80, PORTCOND_NOTEQUALS, 0x00) - PORT_DIPNAME( 0x04, 0x00, "Top Score Award" ) + PORT_DIPNAME( 0x04, 0x00, "Top Score Award" ) PORT_DIPLOCATION("SW1:3") PORT_DIPSETTING( 0x00, "Credit" ) PORT_DIPSETTING( 0x04, "Extended Play" ) - PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) + PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x08, DEF_STR( On ) ) - PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) + PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:5") PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x10, DEF_STR( On ) ) - PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x00, "2" ) PORT_DIPSETTING( 0x20, "3" ) PORT_DIPSETTING( 0x40, "4" ) PORT_DIPSETTING( 0x60, "5" ) - PORT_DIPNAME( 0x80, 0x00, "Coin Mode" ) + PORT_DIPNAME( 0x80, 0x00, "Coin Mode" ) PORT_DIPLOCATION("SW1:8") PORT_DIPSETTING( 0x00, "Mode 1" ) PORT_DIPSETTING( 0x80, "Mode 2" ) @@ -425,7 +425,7 @@ static INPUT_PORTS_START( phantoma ) PORT_INCLUDE(rallys) PORT_MODIFY("DSW") - PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) PORT_CONDITION("DSW", 0x80, PORTCOND_EQUALS, 0x00) @@ -440,12 +440,12 @@ INPUT_PORTS_END static INPUT_PORTS_START( mtrap ) PORT_START("DSW") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) + PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2,3") PORT_DIPSETTING( 0x06, "30000" ) PORT_DIPSETTING( 0x04, "40000" ) PORT_DIPSETTING( 0x02, "50000" ) PORT_DIPSETTING( 0x00, "60000" ) - PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5,8") PORT_DIPSETTING( 0x90, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, "Coin A 2C/1C Coin B 1C/3C" ) PORT_DIPSETTING( 0x98, DEF_STR( 1C_1C ) ) @@ -454,7 +454,7 @@ static INPUT_PORTS_START( mtrap ) PORT_DIPSETTING( 0x88, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x08, "Coin A 1C/3C Coin B 2C/7C" ) PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) - PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x60, "2" ) PORT_DIPSETTING( 0x40, "3" ) PORT_DIPSETTING( 0x20, "4" ) @@ -504,20 +504,20 @@ INPUT_PORTS_END static INPUT_PORTS_START( venture ) PORT_START("DSW") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_DIPNAME( 0x06, 0x00, DEF_STR( Bonus_Life ) ) + PORT_DIPNAME( 0x06, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2,3") PORT_DIPSETTING( 0x00, "20000" ) PORT_DIPSETTING( 0x02, "30000" ) PORT_DIPSETTING( 0x04, "40000" ) PORT_DIPSETTING( 0x06, "50000" ) - PORT_DIPNAME( 0x98, 0x80, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x98, 0x80, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5,8") PORT_DIPSETTING( 0x88, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x80, DEF_STR( 1C_1C ) ) + /*0x90 same as 0x80 */ PORT_DIPSETTING( 0x98, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x00, "Pence: A 2C/1C B 1C/3C" ) PORT_DIPSETTING( 0x18, "Pence: A 1C/1C B 1C/6C" ) /*0x10 same as 0x00 */ - /*0x90 same as 0x80 */ - PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x00, "2" ) PORT_DIPSETTING( 0x20, "3" ) PORT_DIPSETTING( 0x40, "4" ) @@ -560,12 +560,12 @@ INPUT_PORTS_END static INPUT_PORTS_START( teetert ) PORT_START("DSW") PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) + PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2,3") PORT_DIPSETTING( 0x06, "20000" ) PORT_DIPSETTING( 0x04, "30000" ) PORT_DIPSETTING( 0x02, "40000" ) PORT_DIPSETTING( 0x00, "50000" ) - PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5,8") PORT_DIPSETTING( 0x90, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, "Pence: A 2C/1C B 1C/3C" ) PORT_DIPSETTING( 0x98, DEF_STR( 1C_1C ) ) @@ -574,7 +574,7 @@ static INPUT_PORTS_START( teetert ) PORT_DIPSETTING( 0x88, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x08, "1C/3C, 2C/7C" ) PORT_DIPSETTING( 0x80, DEF_STR( 1C_4C ) ) - PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x00, "5" ) PORT_DIPSETTING( 0x20, "4" ) PORT_DIPSETTING( 0x40, "3" ) @@ -619,17 +619,17 @@ INPUT_PORTS_END static INPUT_PORTS_START( pepper2 ) PORT_START("DSW") PORT_BIT ( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) + PORT_DIPNAME( 0x06, 0x06, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:2,3") PORT_DIPSETTING( 0x06, "40000" ) PORT_DIPSETTING( 0x04, "50000" ) PORT_DIPSETTING( 0x02, "60000" ) PORT_DIPSETTING( 0x00, "70000" ) - PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x60, "2" ) PORT_DIPSETTING( 0x40, "3" ) PORT_DIPSETTING( 0x20, "4" ) PORT_DIPSETTING( 0x00, "5" ) - PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5,8") PORT_DIPSETTING( 0x90, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, "Coin A 2C/1C Coin B 1C/3C" ) PORT_DIPSETTING( 0x98, DEF_STR( 1C_1C ) ) @@ -676,17 +676,17 @@ INPUT_PORTS_END static INPUT_PORTS_START( fax ) PORT_START("DSW") PORT_BIT ( 0x01, IP_ACTIVE_HIGH, IPT_COIN2 ) - PORT_DIPNAME( 0x06, 0x06, "Bonus Time" ) + PORT_DIPNAME( 0x06, 0x06, "Bonus Time" ) PORT_DIPLOCATION("SW1:2,3") PORT_DIPSETTING( 0x06, "8000" ) PORT_DIPSETTING( 0x04, "13000" ) PORT_DIPSETTING( 0x02, "18000" ) PORT_DIPSETTING( 0x00, "25000" ) - PORT_DIPNAME( 0x60, 0x60, "Game/Bonus Times" ) + PORT_DIPNAME( 0x60, 0x60, "Game/Bonus Times" ) PORT_DIPLOCATION("SW1:6,7") PORT_DIPSETTING( 0x60, ":32/:24" ) PORT_DIPSETTING( 0x40, ":48/:36" ) PORT_DIPSETTING( 0x20, "1:04/:48" ) PORT_DIPSETTING( 0x00, "1:12/1:04" ) - PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x98, 0x98, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5,8") PORT_DIPSETTING( 0x90, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, "Coin A 2C/1C Coin B 1C/3C" ) PORT_DIPSETTING( 0x98, DEF_STR( 1C_1C ) ) |