diff options
author | Scott Stone <tafoid@users.noreply.github.com> | 2009-06-11 02:32:58 +0000 |
---|---|---|
committer | Scott Stone <tafoid@users.noreply.github.com> | 2009-06-11 02:32:58 +0000 |
commit | d91cf62cd42742d9e0f1bad21afe5af59bb63290 (patch) | |
tree | 52579fb63d5f7f5ad7b229560ade1f37c5d640a2 /src | |
parent | de859773d2d5051c294e4f6ba0e3873fe7ad65ae (diff) |
Added Dip Locations and made default settings changes to match manuals for Star Wars and The Empire Strikes back (starwars.c)
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/starwars.c | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/src/mame/drivers/starwars.c b/src/mame/drivers/starwars.c index 705a9de3aba..6e246de3dbc 100644 --- a/src/mame/drivers/starwars.c +++ b/src/mame/drivers/starwars.c @@ -211,8 +211,14 @@ ADDRESS_MAP_END * * Port definitions * + * Dips Manual Verified and Defaults + * set for starwars and esb - 06/2009 + * *************************************/ + + + static INPUT_PORTS_START( starwars ) PORT_START("IN0") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 ) @@ -237,43 +243,45 @@ static INPUT_PORTS_START( starwars ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(matrix_flag_r, NULL) PORT_START("DSW0") - PORT_DIPNAME( 0x03, 0x00, "Starting Shields" ) + PORT_DIPNAME( 0x03, 0x02, "Starting Shields" ) PORT_DIPLOCATION("10D:1,2") PORT_DIPSETTING( 0x00, "6" ) PORT_DIPSETTING( 0x01, "7" ) PORT_DIPSETTING( 0x02, "8" ) PORT_DIPSETTING( 0x03, "9" ) - PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Difficulty ) ) + PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("10D:3,4") PORT_DIPSETTING( 0x00, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x04, "Moderate" ) PORT_DIPSETTING( 0x08, DEF_STR( Hard ) ) PORT_DIPSETTING( 0x0c, DEF_STR( Hardest ) ) - PORT_DIPNAME( 0x30, 0x00, "Bonus Shields" ) + PORT_DIPNAME( 0x30, 0x10, "Bonus Shields" ) PORT_DIPLOCATION("10D:5,6") PORT_DIPSETTING( 0x00, "0" ) PORT_DIPSETTING( 0x10, "1" ) PORT_DIPSETTING( 0x20, "2" ) PORT_DIPSETTING( 0x30, "3" ) - PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) ) + PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("10D:7") PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x80, 0x80, "Freeze" ) + PORT_DIPNAME( 0x80, 0x80, "Freeze" ) PORT_DIPLOCATION("10D:8") PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START("DSW1") - PORT_DIPNAME( 0x03, 0x02, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x03, 0x02, DEF_STR( Coinage ) ) PORT_DIPLOCATION("10EF:1,2") PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x02, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) - PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_B ) ) + /* Manual shows Coin_B (Right) as Bit 4,5 - actually Bit 3,4 */ + PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("10EF:3,4") PORT_DIPSETTING( 0x00, "*1" ) PORT_DIPSETTING( 0x04, "*4" ) PORT_DIPSETTING( 0x08, "*5" ) PORT_DIPSETTING( 0x0c, "*6" ) - PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coin_A ) ) + /* Manual shows Coin_A (Left) as Bit 3 - actually Bit 5 */ + PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("10EF:5") PORT_DIPSETTING( 0x00, "*1" ) PORT_DIPSETTING( 0x10, "*2" ) - PORT_DIPNAME( 0xe0, 0x00, "Bonus Coinage" ) + PORT_DIPNAME( 0xe0, 0x00, "Bonus Coin Adder" ) PORT_DIPLOCATION("10EF:6,7,8") PORT_DIPSETTING( 0x20, "2 gives 1" ) PORT_DIPSETTING( 0x60, "4 gives 2" ) PORT_DIPSETTING( 0xa0, "3 gives 1" ) @@ -282,6 +290,7 @@ static INPUT_PORTS_START( starwars ) PORT_DIPSETTING( 0x00, DEF_STR( None ) ) /* 0xc0 and 0xe0 None */ + PORT_START("STICKY") PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(70) PORT_KEYDELTA(30) @@ -294,12 +303,12 @@ static INPUT_PORTS_START( esb ) PORT_INCLUDE( starwars ) PORT_MODIFY("DSW0") - PORT_DIPNAME( 0x03, 0x03, "Starting Shields" ) + PORT_DIPNAME( 0x03, 0x03, "Starting Shields" ) PORT_DIPLOCATION("10D:1,2") PORT_DIPSETTING( 0x01, "2" ) PORT_DIPSETTING( 0x00, "3" ) PORT_DIPSETTING( 0x03, "4" ) PORT_DIPSETTING( 0x02, "5" ) - PORT_DIPNAME( 0x30, 0x30, "Jedi-Letter Mode" ) + PORT_DIPNAME( 0x30, 0x30, "Jedi-Letter Mode" ) PORT_DIPLOCATION("10D:5,6") PORT_DIPSETTING( 0x00, "Level Only" ) PORT_DIPSETTING( 0x10, "Level" ) PORT_DIPSETTING( 0x20, "Increment Only" ) |