summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-02-28 05:46:00 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-02-28 05:46:00 +0000
commit061ea91358fb5594aa316664fe242f6e7ce7d6db (patch)
tree6abfd72fe533d490080a9416ec568d678b9efaea
parenta06cdea7db71eb2ece61e642e2e8e284f955a6d5 (diff)
From: RansAckeR
Subject: astinvad.c & astrocde.c dips Added dip location: astinvad. Added dip locations and improved dip switches: seawolf2, wow, gorf, robby, profpac. -- From: RansAckeR Subject: asuka.c dips Added dip locations for: bonzeadv, cadash, asuka, mofflott, galmedes. -- From: RansAckeR Subject: atarifb.c dips Added dip locations to: atarifb, atarifb4, abaseb, soccer.
-rw-r--r--src/mame/drivers/astinvad.c9
-rw-r--r--src/mame/drivers/astrocde.c133
-rw-r--r--src/mame/drivers/asuka.c171
-rw-r--r--src/mame/drivers/atarifb.c46
-rw-r--r--src/mame/includes/taitoipt.h6
5 files changed, 183 insertions, 182 deletions
diff --git a/src/mame/drivers/astinvad.c b/src/mame/drivers/astinvad.c
index dc1aafced09..840b7a2a0fe 100644
--- a/src/mame/drivers/astinvad.c
+++ b/src/mame/drivers/astinvad.c
@@ -11,6 +11,9 @@ Misc early Z80 games with simple color bitmap graphics
Space Intruder emulation by Lee Taylor (lee@defender.demon.co.uk),
December 1998.
+DIP locations verified for:
+ - astinvad (manual)
+
***************************************************************************/
#include "driver.h"
@@ -393,14 +396,14 @@ static INPUT_PORTS_START( astinvad )
PORT_INCLUDE(kamikaze)
PORT_MODIFY("IN1")
- PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
+ PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW:2")
PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x01, "4" )
- PORT_DIPNAME( 0x02, 0x02, DEF_STR( Bonus_Life ) )
+ PORT_DIPNAME( 0x02, 0x02, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:1")
PORT_DIPSETTING( 0x02, "10000" )
PORT_DIPSETTING( 0x00, "20000" )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
- PORT_DIPNAME( 0x88, 0x00, DEF_STR( Coinage ) )
+ PORT_DIPNAME( 0x88, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
PORT_DIPSETTING( 0x88, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
diff --git a/src/mame/drivers/astrocde.c b/src/mame/drivers/astrocde.c
index 7adcca22e09..e5b505ca2a6 100644
--- a/src/mame/drivers/astrocde.c
+++ b/src/mame/drivers/astrocde.c
@@ -98,6 +98,15 @@
2 pressed to get to an input check screen, reset with 1+2 pressed to
get to a convergence test screen.
+****************************************************************************
+
+ DIP locations verified for:
+ - seawolf2 (manual)
+ - wow (manual)
+ - gorf (manual)
+ - robby (manual)
+ - profpac (manual)
+
****************************************************************************/
#include "driver.h"
@@ -730,7 +739,7 @@ static const UINT32 controller_table[64] =
static INPUT_PORTS_START( seawolf2 )
PORT_START_TAG("P1HANDLE")
PORT_BIT( 0x3f, 0x1f, IPT_POSITIONAL ) PORT_PLAYER(2) PORT_POSITIONS(64) PORT_REMAP_TABLE(controller_table) PORT_SENSITIVITY(20) PORT_KEYDELTA(4) PORT_CENTERDELTA(0) PORT_CROSSHAIR(X, 2.0, -0.40, 34.0 / 240.0)
- PORT_DIPNAME( 0x40, 0x00, "Language 1" )
+ PORT_DIPNAME( 0x40, 0x00, "Language 1" ) PORT_DIPLOCATION("S2:!1")
PORT_DIPSETTING( 0x00, "Language 2" )
PORT_DIPSETTING( 0x40, DEF_STR( French ) )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_PLAYER(2)
@@ -744,32 +753,32 @@ static INPUT_PORTS_START( seawolf2 )
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 )
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START2 )
- PORT_DIPNAME( 0x08, 0x00, "Language 2" )
+ PORT_DIPNAME( 0x08, 0x00, "Language 2" ) PORT_DIPLOCATION("S2:!2")
PORT_DIPSETTING( 0x00, DEF_STR( English ) )
PORT_DIPSETTING( 0x08, DEF_STR( German ) )
PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("S1:2")
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coinage ) ) PORT_DIPLOCATION("S1:!2")
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x06, 0x00, "Play Time" ) PORT_DIPLOCATION("S1:3,4")
- PORT_DIPSETTING( 0x06, "40" )
- PORT_DIPSETTING( 0x04, "50" )
- PORT_DIPSETTING( 0x02, "60" )
- PORT_DIPSETTING( 0x00, "70" )
- PORT_DIPNAME( 0x08, 0x08, "2 Players Game" ) PORT_DIPLOCATION("S1:1")
+ PORT_DIPNAME( 0x06, 0x00, "Play Time" ) PORT_DIPLOCATION("S1:!3,!4")
+ PORT_DIPSETTING( 0x06, "1P 40s/2P 45s" ) /* Extended play: 1P 20s/2P 20s */
+ PORT_DIPSETTING( 0x04, "1P 50s/2P 60s" ) /* Extended play: 1P 25s/2P 30s */
+ PORT_DIPSETTING( 0x02, "1P 60s/2P 75s" ) /* Extended play: 1P 30s/2P 35s */
+ PORT_DIPSETTING( 0x00, "1P 70s/2P 90s" ) /* Extended play: 1P 35s/2P 45s */
+ PORT_DIPNAME( 0x08, 0x08, "2 Players Game" ) PORT_DIPLOCATION("S1:!1")
PORT_DIPSETTING( 0x00, "1 Credit" )
PORT_DIPSETTING( 0x08, "2 Credits" )
- PORT_DIPNAME( 0x30, 0x00, "Extended Play" ) PORT_DIPLOCATION("S1:5,6")
+ PORT_DIPNAME( 0x30, 0x00, "Extended Play" ) PORT_DIPLOCATION("S1:!5,!6")
PORT_DIPSETTING( 0x10, "5000" )
PORT_DIPSETTING( 0x20, "6000" )
PORT_DIPSETTING( 0x30, "7000" )
PORT_DIPSETTING( 0x00, DEF_STR( None ) )
- PORT_DIPNAME( 0x40, 0x40, "Monitor" ) PORT_DIPLOCATION("S1:7")
+ PORT_DIPNAME( 0x40, 0x40, "Monitor" ) PORT_DIPLOCATION("S1:!7")
PORT_DIPSETTING( 0x40, "Color" )
PORT_DIPSETTING( 0x00, "B/W" )
- PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "S1:8")
+ PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "S1:!8")
INPUT_PORTS_END
@@ -787,11 +796,11 @@ static INPUT_PORTS_START( ebases )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT )
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED )
- PORT_DIPNAME( 0x10, 0x00, "Monitor" )
+ PORT_DIPNAME( 0x10, 0x00, "Monitor" ) PORT_DIPLOCATION( "JU:1" )
PORT_DIPSETTING( 0x00, "Color" )
PORT_DIPSETTING( 0x10, "B/W" )
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
- PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
+ PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION( "JU:2" )
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x40, DEF_STR( Cocktail ) )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
@@ -800,7 +809,7 @@ static INPUT_PORTS_START( ebases )
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(ebases_trackball_r, 0)
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x00, "2 Players Game" ) PORT_DIPLOCATION( "S1:1" )
+ PORT_DIPNAME( 0x01, 0x00, "2 Players Game" ) PORT_DIPLOCATION( "S1:1" )
PORT_DIPSETTING( 0x00, "1 Credit" )
PORT_DIPSETTING( 0x01, "2 Credits" )
PORT_DIPUNUSED_DIPLOC( 0x02, 0x00, "S1:2" )
@@ -841,7 +850,7 @@ static INPUT_PORTS_START( spacezap )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
- PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "S1:7" )
+ PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "JU:1" )
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START_TAG("P3HANDLE")
@@ -850,16 +859,16 @@ static INPUT_PORTS_START( spacezap )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
- PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
+ PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("JU:2")
PORT_DIPSETTING( 0x20, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION( "S1:1" )
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION( "S1:1" )
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION( "S1:2,3" )
+ PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION( "S1:2,3" )
PORT_DIPSETTING( 0x04, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
@@ -867,7 +876,8 @@ static INPUT_PORTS_START( spacezap )
PORT_DIPUNUSED_DIPLOC( 0x08, 0x00, "S1:4" )
PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "S1:5" )
PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "S1:6" )
- PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "S1:7" )
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "S1:8" )
INPUT_PORTS_END
@@ -880,7 +890,7 @@ static INPUT_PORTS_START( wow )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_TILT )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("JU:1") /* Undocumented, jumper? */
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
@@ -904,28 +914,29 @@ static INPUT_PORTS_START( wow )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(wow_speech_status_r, 0)
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("S1:1")
+ /* "If S1:1,2,3 are all ON or all OFF, only coin meter number 1 will count." */
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("S1:1")
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("S1:2,3")
+ PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("S1:2,3")
PORT_DIPSETTING( 0x04, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_5C ) )
- PORT_DIPNAME( 0x08, 0x08, DEF_STR( Language ) ) PORT_DIPLOCATION("S1:4")
+ PORT_DIPNAME( 0x08, 0x08, DEF_STR( Language ) ) PORT_DIPLOCATION("S1:4")
PORT_DIPSETTING( 0x08, DEF_STR( English ) )
- PORT_DIPSETTING( 0x00, "Foreign (NEED ROM)" )
- PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("S1:5")
+ PORT_DIPSETTING( 0x00, "Foreign (NEED ROM)" ) /* "Requires A082-91374-A000" */
+ PORT_DIPNAME( 0x10, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("S1:5")
PORT_DIPSETTING( 0x10, "2 for 1 Credit / 5 for 2 Credits" )
PORT_DIPSETTING( 0x00, "3 for 1 Credit / 7 for 2 Credits" )
- PORT_DIPNAME( 0x20, 0x20, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("S1:6")
- PORT_DIPSETTING( 0x20, "3rd Level" )
- PORT_DIPSETTING( 0x00, "4th Level" )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:7")
+ PORT_DIPNAME( 0x20, 0x20, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("S1:6")
+ PORT_DIPSETTING( 0x20, "After 3rd Level" )
+ PORT_DIPSETTING( 0x00, "After 4th Level" )
+ PORT_DIPNAME( 0x40, 0x40, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8")
- PORT_DIPSETTING( 0x00, "On only when controls are touched" )
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8")
+ PORT_DIPSETTING( 0x00, "On only when controls are touched" ) /* "Touching controls will enable attract sound for 1 cycle." */
PORT_DIPSETTING( 0x80, "Always On" )
INPUT_PORTS_END
@@ -938,10 +949,10 @@ static INPUT_PORTS_START( gorf )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_TILT )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
+ PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("JU:1") /* Jumper */
PORT_DIPSETTING( 0x40, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x80, 0x80, "Speech" )
+ PORT_DIPNAME( 0x80, 0x80, "Speech" ) PORT_DIPLOCATION("JU:2") /* Jumper */
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
@@ -963,27 +974,27 @@ static INPUT_PORTS_START( gorf )
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(gorf_speech_status_r, 0)
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("S1:1")
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("S1:1")
PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x01, DEF_STR( 1C_1C ) )
- PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("S1:2,3")
+ PORT_DIPNAME( 0x06, 0x06, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("S1:2,3")
PORT_DIPSETTING( 0x04, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x02, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_5C ) )
- PORT_DIPNAME( 0x08, 0x08, DEF_STR( Language ) ) PORT_DIPLOCATION("S1:4")
+ PORT_DIPNAME( 0x08, 0x08, DEF_STR( Language ) ) PORT_DIPLOCATION("S1:4")
PORT_DIPSETTING( 0x08, DEF_STR( English ) )
- PORT_DIPSETTING( 0x00, "Foreign (NEED ROM)" )
- PORT_DIPNAME( 0x10, 0x00, "Lives per Credit" ) PORT_DIPLOCATION("S1:5")
+ PORT_DIPSETTING( 0x00, "Foreign (NEED ROM)" ) /* "Requires A082-91374-A000" */
+ PORT_DIPNAME( 0x10, 0x00, "Lives per Credit" ) PORT_DIPLOCATION("S1:5")
PORT_DIPSETTING( 0x10, "2" )
PORT_DIPSETTING( 0x00, "3" )
- PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("S1:6")
+ PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("S1:6")
PORT_DIPSETTING( 0x00, "Mission 5" )
PORT_DIPSETTING( 0x20, DEF_STR( None ) )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:7")
+ PORT_DIPNAME( 0x40, 0x40, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8")
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
INPUT_PORTS_END
@@ -1019,22 +1030,22 @@ static INPUT_PORTS_START( robby )
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, "Use NVRAM" ) PORT_DIPLOCATION("S1:1")
+ PORT_DIPNAME( 0x01, 0x01, "Use NVRAM" ) PORT_DIPLOCATION("S1:1")
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
PORT_DIPSETTING( 0x01, DEF_STR( Yes ) )
PORT_DIPNAME( 0x02, 0x02, "Use Service Mode Settings" ) PORT_DIPLOCATION("S1:2")
PORT_DIPSETTING( 0x00, "Reset" )
PORT_DIPSETTING( 0x02, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x04, 0x04, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:3")
+ PORT_DIPNAME( 0x04, 0x04, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("S1:3")
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x08, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:4")
+ PORT_DIPNAME( 0x08, 0x08, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:4") /* Listed as "Unused". */
PORT_DIPSETTING( 0x08, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
PORT_DIPUNUSED_DIPLOC( 0x10, 0x00, "S1:5" )
PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "S1:6" )
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "S1:7" )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8")
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("S1:8") /* Listed as "Unused". */
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
INPUT_PORTS_END
@@ -1064,21 +1075,21 @@ static INPUT_PORTS_START( profpac )
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_START_TAG("P4HANDLE")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:1")
- PORT_DIPSETTING( 0x01, DEF_STR( Upright ) )
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:1")
+ PORT_DIPSETTING( 0x01, DEF_STR( Upright ) ) /* Upright or Mini */
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x02, 0x02, "Reset on powerup" ) PORT_DIPLOCATION("S1:2")
+ PORT_DIPNAME( 0x02, 0x02, "Reset on powerup" ) PORT_DIPLOCATION("S1:2")
PORT_DIPSETTING( 0x02, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x04, 0x00, "Halt on error" ) PORT_DIPLOCATION("S1:3")
+ PORT_DIPNAME( 0x04, 0x00, "Halt on error" ) PORT_DIPLOCATION("S1:3")
PORT_DIPSETTING( 0x04, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x08, 0x00, "Beep" ) PORT_DIPLOCATION("S1:4")
+ PORT_DIPNAME( 0x08, 0x00, "Beep" ) PORT_DIPLOCATION("S1:4")
PORT_DIPSETTING( 0x08, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x10, 0x10, "ROM" ) PORT_DIPLOCATION("S1:5")
- PORT_DIPSETTING( 0x10, DEF_STR( No ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
+ PORT_DIPNAME( 0x10, 0x00, "ROM's Used" ) PORT_DIPLOCATION("S1:5")
+ PORT_DIPSETTING( 0x10, "8K & 16K ROM's" )
+ PORT_DIPSETTING( 0x00, "32K ROM's" )
PORT_DIPUNUSED_DIPLOC( 0x20, 0x00, "S1:6" )
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "S1:7" )
PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "S1:8" )
@@ -1138,25 +1149,25 @@ static INPUT_PORTS_START( tenpindx )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START_TAG("P61")
- PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:1")
+ PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("S1:1")
PORT_DIPSETTING( 0x01, DEF_STR( Upright ) )
PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x02, 0x02, "Lockup" ) PORT_DIPLOCATION("S1:2")
+ PORT_DIPNAME( 0x02, 0x02, "Lockup" ) PORT_DIPLOCATION("S1:2")
PORT_DIPSETTING( 0x02, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x04, 0x00, "Reset" ) PORT_DIPLOCATION("S1:3")
+ PORT_DIPNAME( 0x04, 0x00, "Reset" ) PORT_DIPLOCATION("S1:3")
PORT_DIPSETTING( 0x04, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x08, 0x00, "Beep" ) PORT_DIPLOCATION("S1:4")
+ PORT_DIPNAME( 0x08, 0x00, "Beep" ) PORT_DIPLOCATION("S1:4")
PORT_DIPSETTING( 0x08, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x10, 0x10, "Regulation" ) PORT_DIPLOCATION("S1:5")
+ PORT_DIPNAME( 0x10, 0x10, "Regulation" ) PORT_DIPLOCATION("S1:5")
PORT_DIPSETTING( 0x10, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x20, 0x20, "Ticket Dispenser" ) PORT_DIPLOCATION("S1:6")
+ PORT_DIPNAME( 0x20, 0x20, "Ticket Dispenser" ) PORT_DIPLOCATION("S1:6")
PORT_DIPSETTING( 0x20, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x40, 0x40, "Bill Acceptor" ) PORT_DIPLOCATION("S1:7")
+ PORT_DIPNAME( 0x40, 0x40, "Bill Acceptor" ) PORT_DIPLOCATION("S1:7")
PORT_DIPSETTING( 0x40, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
PORT_DIPUNUSED_DIPLOC( 0x80, 0x00, "S1:8" )
diff --git a/src/mame/drivers/asuka.c b/src/mame/drivers/asuka.c
index b917d18037d..93ac7adadab 100644
--- a/src/mame/drivers/asuka.c
+++ b/src/mame/drivers/asuka.c
@@ -85,8 +85,8 @@ Stephh's notes (based on the game M68000 code and some tests) :
* 'bonzeadu' : region = 0x0001
- These 3 games are 100% the same, only region differs !
- Coinage relies on the region (code at 0x02d344) :
- * 0x0000 (Japan) and 0x0001 (US) use TAITO_COINAGE_JAPAN_OLD
- * 0x0002 (World) uses TAITO_COINAGE_WORLD
+ * 0x0000 (Japan) and 0x0001 (US) use TAITO_COINAGE_JAPAN_OLD_LOC()
+ * 0x0002 (World) uses TAITO_COINAGE_WORLD_LOC()
- Notice screen only if region = 0x0000
- Texts and game name rely on the region :
* 0x0000 : most texts in Japanese - game name is "Jigoku Meguri"
@@ -125,7 +125,7 @@ Stephh's notes (based on the game M68000 code and some tests) :
3) 'asuka*'
- No region
- - BOTH sets use TAITO_COINAGE_JAPAN_OLD for coinage,
+ - BOTH sets use TAITO_COINAGE_JAPAN_OLD_LOC() for coinage,
so I wonder if the World version isn't a US version
- Additional notice screen in 'asukaj'
@@ -136,8 +136,8 @@ Stephh's notes (based on the game M68000 code and some tests) :
- Sets :
* 'mofflott' : region = 0x0001
- Coinage relies on the region (code at 0x0145ec) :
- * 0x0001 (Japan) and 0x0002 (US ?) use TAITO_COINAGE_JAPAN_OLD
- * 0x0003 (World) uses TAITO_COINAGE_WORLD
+ * 0x0001 (Japan) and 0x0002 (US ?) use TAITO_COINAGE_JAPAN_OLD_LOC()
+ * 0x0003 (World) uses TAITO_COINAGE_WORLD_LOC()
- Notice screen only if region = 0x0001
@@ -153,9 +153,9 @@ Stephh's notes (based on the game M68000 code and some tests) :
- These 5 games are 100% the same, only region differs !
However each version requires its specific texts
- Coinage relies on the region (code at 0x0013d6) :
- * 0x0001 (Japan) uses TAITO_COINAGE_JAPAN_OLD
- * 0x0002 (US) uses TAITO_COINAGE_US
- * 0x0003 (World) uses TAITO_COINAGE_WORLD
+ * 0x0001 (Japan) uses TAITO_COINAGE_JAPAN_OLD_LOC()
+ * 0x0002 (US) uses TAITO_COINAGE_US_LOC()
+ * 0x0003 (World) uses TAITO_COINAGE_WORLD_LOC()
- Notice screen only if region = 0x0001 or region = 0x0002
- FBI logo only if region = 0x0002
- I can't tell about the Italian and Japanese versions,
@@ -166,22 +166,22 @@ Stephh's notes (based on the game M68000 code and some tests) :
- No region (not a Taito game anyway)
- Coinage relies on "Coin Mode" Dip Switch (code at 0x0801c0) :
- * "Mode A" uses TAITO_COINAGE_JAPAN_OLD
- * "Mode B" uses TAITO_COINAGE_WORLD
+ * "Mode A" uses TAITO_COINAGE_JAPAN_OLD_LOC()
+ * "Mode B" uses TAITO_COINAGE_WORLD_LOC()
- Notice screen
7) 'earthjkr'
- No region (not a Taito game anyway)
- - Game uses TAITO_COINAGE_JAPAN_OLD
+ - Game uses TAITO_COINAGE_JAPAN_OLD_LOC()
- Notice screen only if "Copyright" Dip Switch set to "Visco"
8) 'eto'
- No region (not a Taito game anyway)
- - Game uses TAITO_COINAGE_JAPAN_OLD
+ - Game uses TAITO_COINAGE_JAPAN_OLD_LOC()
- No notice screen
@@ -202,6 +202,13 @@ Galmedes: Test mode has select1/2 stuck at on.
Eto: $76d0 might be a protection check? It reads to and writes from
the prog rom. Doesn't seem to cause problems though.
+DIP locations verified for:
+ - bonzeadv (manual)
+ - cadash (manual)
+ - asuka (manual)
+ - mofflott (manual)
+ - galmedes (manual)
+
***************************************************************************/
#include "driver.h"
@@ -425,26 +432,26 @@ ADDRESS_MAP_END
static INPUT_PORTS_START( bonzeadv )
/* 0x390000 -> 0x10cb7c ($b7c,A5) */
PORT_START_TAG("DSWA")
- TAITO_MACHINE_COCKTAIL
- TAITO_COINAGE_WORLD
+ TAITO_MACHINE_COCKTAIL_LOC(SWA)
+ TAITO_COINAGE_WORLD_LOC(SWA)
/* 0x3b0000 -> 0x10cb7e ($b7e,A5) */
PORT_START_TAG("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) /* see notes */
- PORT_DIPSETTING( 0x08, "40k 100k" ) /* 300k 1000k 1500k 2000k 2500k 3000k 3500k 5000k */
- PORT_DIPSETTING( 0x0c, "50k 150k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
- PORT_DIPSETTING( 0x04, "60k 200k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
- PORT_DIPSETTING( 0x00, "80k 250k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
+ TAITO_DIFFICULTY_LOC(SWB)
+ PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWB:3,4") /* see notes */
+ PORT_DIPSETTING( 0x08, "40k 100k" ) /* 300k 1000k 1500k 2000k 2500k 3000k 3500k 5000k */
+ PORT_DIPSETTING( 0x0c, "50k 150k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
+ PORT_DIPSETTING( 0x04, "60k 200k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
+ PORT_DIPSETTING( 0x00, "80k 250k" ) /* 500k 1000k 2000k 3000k 4000k 5000k 6000k 7000k */
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x20, "2" )
PORT_DIPSETTING( 0x30, "3" )
PORT_DIPSETTING( 0x10, "4" )
PORT_DIPSETTING( 0x00, "5" )
- PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) )
+ PORT_DIPNAME( 0x40, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SWB:7")
PORT_DIPSETTING( 0x40, DEF_STR( No ) )
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
- PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW ) /* see notes */
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SWB:8" ) /* see notes */
PORT_START_TAG("800007")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
@@ -480,32 +487,32 @@ static INPUT_PORTS_START( jigkmgri )
PORT_INCLUDE(bonzeadv)
PORT_MODIFY("DSWA")
- TAITO_COINAGE_JAPAN_OLD
+ TAITO_COINAGE_JAPAN_OLD_LOC(SWA)
INPUT_PORTS_END
static INPUT_PORTS_START( asuka )
/* 0x400000 -> 0x103618 */
PORT_START_TAG("DSWA")
- TAITO_MACHINE_NO_COCKTAIL
- TAITO_COINAGE_JAPAN_OLD
+ TAITO_MACHINE_NO_COCKTAIL_LOC(SWA)
+ TAITO_COINAGE_JAPAN_OLD_LOC(SWA)
/* 0x400002 -> 0x10361c */
PORT_START_TAG("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x0c, "Bonus Points" ) /* for each plane shot after each end of level boss */
+ TAITO_DIFFICULTY_LOC(SWB)
+ PORT_DIPNAME( 0x0c, 0x0c, "Bonus Points" ) PORT_DIPLOCATION("SWB:3,4") /* for each plane shot after each end of level boss */
PORT_DIPSETTING( 0x0c, "500" )
PORT_DIPSETTING( 0x08, "1500" )
PORT_DIPSETTING( 0x04, "2000" )
PORT_DIPSETTING( 0x00, "2500" )
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x10, "1" )
PORT_DIPSETTING( 0x20, "2" )
PORT_DIPSETTING( 0x30, "3" )
PORT_DIPSETTING( 0x00, "4" )
- PORT_DIPNAME( 0xc0, 0x40, DEF_STR( Allow_Continue ) )
+ PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SWB:7,8")
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
- PORT_DIPSETTING( 0xc0, "Up to Level 2" )
- PORT_DIPSETTING( 0x80, "Up to Level 3" )
+ PORT_DIPSETTING( 0xc0, "Up To Level 2" )
+ PORT_DIPSETTING( 0x80, "Up To Level 3" )
PORT_DIPSETTING( 0x40, DEF_STR( Yes ) )
PORT_START_TAG("IN0")
@@ -530,41 +537,40 @@ static INPUT_PORTS_START( mofflott )
/* 0x400000 -> 0x100a92.b */
PORT_MODIFY("DSWA")
- TAITO_MACHINE_COCKTAIL
- TAITO_COINAGE_JAPAN_OLD
+ TAITO_MACHINE_COCKTAIL_LOC(SWA)
/* 0x400002 -> 0x100a93.b */
PORT_MODIFY("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x0c, "20k and every 50k" )
- PORT_DIPSETTING( 0x08, "50k and every 100k" )
- PORT_DIPSETTING( 0x04, "100k only" )
+ TAITO_DIFFICULTY_LOC(SWB)
+ PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWB:3,4")
+ PORT_DIPSETTING( 0x0c, "20k And Every 50k" )
+ PORT_DIPSETTING( 0x08, "50k And Every 100k" )
+ PORT_DIPSETTING( 0x04, "100k Only" )
PORT_DIPSETTING( 0x00, DEF_STR( None ) )
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x00, "2" )
PORT_DIPSETTING( 0x30, "3" )
PORT_DIPSETTING( 0x10, "4" )
PORT_DIPSETTING( 0x20, "5" )
- PORT_DIPNAME( 0x40, 0x40, "Invulnerability (Cheat)")
+ PORT_DIPNAME( 0x40, 0x40, "Invulnerability (Cheat)") PORT_DIPLOCATION("SWB:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, "Number of Keys" )
- PORT_DIPSETTING( 0x00, "14" ) /* Hard */
- PORT_DIPSETTING( 0x80, "16" ) /* Easy */
+ PORT_DIPNAME( 0x80, 0x80, "Number Of Keys" ) PORT_DIPLOCATION("SWB:8")
+ PORT_DIPSETTING( 0x00, "B 14" ) /* Hard */
+ PORT_DIPSETTING( 0x80, "A 16" ) /* Easy */
INPUT_PORTS_END
/* different players and system inputs than 'asuka' */
static INPUT_PORTS_START( cadash )
/* 0x900000 -> 0x10317a ($317a,A5) */
PORT_START_TAG("DSWA")
- TAITO_MACHINE_NO_COCKTAIL
- TAITO_COINAGE_WORLD
+ TAITO_MACHINE_NO_COCKTAIL_LOC(SWA)
+ TAITO_COINAGE_WORLD_LOC(SWA)
/* 0x900002 -> 0x10317c ($317c,A5) */
PORT_START_TAG("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x0c, "Starting Time" )
+ TAITO_DIFFICULTY_LOC(SWB)
+ PORT_DIPNAME( 0x0c, 0x0c, "Starting Time" ) PORT_DIPLOCATION("SWB:3,4")
PORT_DIPSETTING( 0x00, "5:00" )
PORT_DIPSETTING( 0x04, "6:00" )
PORT_DIPSETTING( 0x0c, "7:00" )
@@ -575,12 +581,12 @@ static INPUT_PORTS_START( cadash )
/* 3 8:00 */
/* 4 7:00 */
/* 5 9:00 */
- PORT_DIPNAME( 0x30, 0x30, "Added Time (after round clear)" )
+ PORT_DIPNAME( 0x30, 0x30, "Added Time (after round clear)" ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x00, "Default - 2:00" )
PORT_DIPSETTING( 0x10, "Default - 1:00" )
PORT_DIPSETTING( 0x30, "Default" )
PORT_DIPSETTING( 0x20, "Default + 1:00" )
- PORT_DIPNAME( 0xc0, 0xc0, "Communication Mode" )
+ PORT_DIPNAME( 0xc0, 0xc0, "Communication Mode" ) PORT_DIPLOCATION("SWB:7,8")
PORT_DIPSETTING( 0xc0, "Stand alone" )
PORT_DIPSETTING( 0x80, "Master" )
PORT_DIPSETTING( 0x00, "Slave" )
@@ -607,14 +613,14 @@ static INPUT_PORTS_START( cadashj )
PORT_INCLUDE(cadash)
PORT_MODIFY("DSWA")
- TAITO_COINAGE_JAPAN_OLD
+ TAITO_COINAGE_JAPAN_OLD_LOC(SWA)
INPUT_PORTS_END
static INPUT_PORTS_START( cadashu )
PORT_INCLUDE(cadash)
PORT_MODIFY("DSWA")
- TAITO_COINAGE_US
+ TAITO_COINAGE_US_LOC(SWA)
INPUT_PORTS_END
static INPUT_PORTS_START( galmedes )
@@ -622,8 +628,7 @@ static INPUT_PORTS_START( galmedes )
/* 0x400000 -> 0x100982 */
PORT_MODIFY("DSWA")
- TAITO_MACHINE_NO_COCKTAIL
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) )
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SWA:5,6")
PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x00)
PORT_DIPSETTING( 0x10, DEF_STR( 3C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x00)
PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
@@ -632,7 +637,7 @@ static INPUT_PORTS_START( galmedes )
PORT_DIPSETTING( 0x30, DEF_STR( 1C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x00)
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
PORT_DIPSETTING( 0x20, DEF_STR( 1C_2C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
- PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) )
+ PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SWA:7,8")
PORT_DIPSETTING( 0x40, DEF_STR( 2C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
PORT_DIPSETTING( 0xc0, DEF_STR( 1C_1C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
PORT_DIPSETTING( 0x00, DEF_STR( 2C_3C ) ) PORT_CONDITION("DSWB",0x80,PORTCOND_EQUALS,0x80)
@@ -644,67 +649,57 @@ static INPUT_PORTS_START( galmedes )
/* 0x400002 -> 0x100984 */
PORT_MODIFY("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x08, "every 100k" )
- PORT_DIPSETTING( 0x0c, "100k and every 200k" )
- PORT_DIPSETTING( 0x04, "150k and every 200k" )
- PORT_DIPSETTING( 0x00, "every 200k" )
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
+ TAITO_DIFFICULTY_LOC(SWB)
+ PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWB:3,4")
+ PORT_DIPSETTING( 0x08, "Every 100k" )
+ PORT_DIPSETTING( 0x0c, "100k And Every 200k" )
+ PORT_DIPSETTING( 0x04, "150k And Every 200k" )
+ PORT_DIPSETTING( 0x00, "Every 200k" )
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x20, "1" )
PORT_DIPSETTING( 0x10, "2" )
PORT_DIPSETTING( 0x30, "3" )
PORT_DIPSETTING( 0x00, "4" )
- PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
- PORT_DIPNAME( 0x80, 0x80, "Coin Mode" )
- PORT_DIPSETTING( 0x80, "Mode A (Japan)" ) /* Mode A is TAITO_COINAGE_JAPAN_OLD */
- PORT_DIPSETTING( 0x00, "Mode B (World)" ) /* Mode B is TAITO_COINAGE_WORLD */
+ PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SWB:7" ) /* Listed as "Unused" */
+ PORT_DIPNAME( 0x80, 0x80, "Coin Mode" ) PORT_DIPLOCATION("SWB:8")
+ PORT_DIPSETTING( 0x80, "Mode A (Japan)" ) /* Mode A is TAITO_COINAGE_JAPAN_OLD */
+ PORT_DIPSETTING( 0x00, "Mode B (World)" ) /* Mode B is TAITO_COINAGE_WORLD */
INPUT_PORTS_END
static INPUT_PORTS_START( earthjkr )
PORT_INCLUDE(asuka)
-
- /* 0x400000 -> 0x100932 */
- PORT_MODIFY("DSWA")
- TAITO_MACHINE_NO_COCKTAIL
- TAITO_COINAGE_JAPAN_OLD
+ /* DSWA: 0x400000 -> 0x100932 */
/* 0x400002 -> 0x1009842 */
PORT_MODIFY("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Bonus_Life ) )
+ PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWB:3,4")
PORT_DIPSETTING( 0x00, "100k and 300k" )
PORT_DIPSETTING( 0x08, "100k only" )
PORT_DIPSETTING( 0x04, "200k only" )
PORT_DIPSETTING( 0x0c, DEF_STR( None ) )
- PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
+ PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SWB:5,6")
PORT_DIPSETTING( 0x00, "1" )
PORT_DIPSETTING( 0x30, "2" )
PORT_DIPSETTING( 0x20, "3" )
PORT_DIPSETTING( 0x10, "4" )
- PORT_DIPNAME( 0x40, 0x40, "Copyright" ) /* code at 0x00b982 and 0x00dbce */
+ PORT_DIPNAME( 0x40, 0x40, "Copyright" ) PORT_DIPLOCATION("SWB:7") /* code at 0x00b982 and 0x00dbce */
PORT_DIPSETTING( 0x40, "Visco" ) /* Japan notice screen ON */
PORT_DIPSETTING( 0x00, "Visco (distributed by Romstar)" ) /* Japan notice screen OFF */
- PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SWB:8" )
INPUT_PORTS_END
static INPUT_PORTS_START( eto )
PORT_INCLUDE(asuka)
-
- /* 0x300000 -> 0x200914 */
- PORT_MODIFY("DSWA")
- TAITO_MACHINE_NO_COCKTAIL
- TAITO_COINAGE_JAPAN_OLD
+ /* DSWA: 0x300000 -> 0x200914 */
/* 0x300002 -> 0x200916 */
PORT_MODIFY("DSWB")
- TAITO_DIFFICULTY
- PORT_DIPUNUSED( 0x04, IP_ACTIVE_LOW )
- PORT_DIPUNUSED( 0x08, IP_ACTIVE_LOW )
- PORT_DIPUNUSED( 0x10, IP_ACTIVE_LOW )
- PORT_DIPUNUSED( 0x20, IP_ACTIVE_LOW ) /* value stored at 0x20090a but not read back */
- PORT_DIPUNUSED( 0x40, IP_ACTIVE_LOW )
- PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW )
+ PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SWB:3" )
+ PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SWB:4" )
+ PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SWB:5" )
+ PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SWB:6" ) /* value stored at 0x20090a but not read back */
+ PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SWB:7" )
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SWB:8" )
INPUT_PORTS_END
diff --git a/src/mame/drivers/atarifb.c b/src/mame/drivers/atarifb.c
index 0cf07f523cb..e9e42733a4c 100644
--- a/src/mame/drivers/atarifb.c
+++ b/src/mame/drivers/atarifb.c
@@ -248,15 +248,13 @@ static INPUT_PORTS_START( atarifb )
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_START_TAG("IN1")
- PORT_DIPNAME( 0x03, 0x00, "Time per coin" )
+ PORT_DIPNAME( 0x03, 0x00, "Time Per Coin" ) PORT_DIPLOCATION("K10:1,2")
PORT_DIPSETTING( 0x00, "1:30" )
PORT_DIPSETTING( 0x01, "2:00" )
PORT_DIPSETTING( 0x02, "2:30" )
PORT_DIPSETTING( 0x03, "3:00" )
- PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x04, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x00, "Atari logo" )
+ PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "K10:3" ) /* Listed as "Unused" */
+ PORT_DIPNAME( 0x08, 0x00, "Atari Logo" ) PORT_DIPLOCATION("K10:4") /* Listed as "Unused" */
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_BIT ( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
@@ -295,15 +293,13 @@ static INPUT_PORTS_START( atarifb4 )
PORT_BIT ( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
PORT_START_TAG("IN2")
- PORT_DIPNAME( 0x03, 0x00, "Time per coin" )
+ PORT_DIPNAME( 0x03, 0x00, "Time Per Coin" ) PORT_DIPLOCATION("K10:1,2")
PORT_DIPSETTING( 0x00, "1:30" )
PORT_DIPSETTING( 0x01, "2:00" )
PORT_DIPSETTING( 0x02, "2:30" )
PORT_DIPSETTING( 0x03, "3:00" )
- PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x04, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x00, "Atari logo" )
+ PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "K10:3" ) /* Listed as "Unused" */
+ PORT_DIPNAME( 0x08, 0x00, "Atari Logo" ) PORT_DIPLOCATION("K10:4") /* Listed as "Unused" */
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_BIT ( 0x10, IP_ACTIVE_LOW, IPT_START1 )
@@ -354,17 +350,13 @@ static INPUT_PORTS_START( abaseb )
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_START_TAG("IN1")
- PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
+ PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("K10:1,2")
PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) )
PORT_DIPSETTING( 0x01, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x02, "Fair" )
- PORT_DIPSETTING( 0x03, DEF_STR( Easy ) )
- PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x04, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x08, DEF_STR( On ) )
+ PORT_DIPSETTING( 0x02, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x03, DEF_STR( Easiest ) )
+ PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "K10:3" ) /* Listed as "Unused" */
+ PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "K10:4" ) /* Listed as "Unused" */
PORT_BIT ( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT ( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
@@ -403,11 +395,11 @@ static INPUT_PORTS_START( soccer )
PORT_BIT ( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
PORT_START_TAG("IN2")
- PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("2/4 Player Toggle")
- PORT_DIPNAME( 0x02, 0x00, "Rule Switch" )
+ PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("2/4 Player Toggle") PORT_DIPLOCATION("SW2:4") /* Listed as "Unused" */
+ PORT_DIPNAME( 0x02, 0x00, "Rule Switch" ) PORT_DIPLOCATION("SW2:3") /* Listed as "Unused" */
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x02, DEF_STR( On ) )
- PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Language ) )
+ PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("SW2:1,2")
PORT_DIPSETTING( 0x00, DEF_STR( English ) )
PORT_DIPSETTING( 0x04, DEF_STR( German ) )
PORT_DIPSETTING( 0x08, DEF_STR( French ) )
@@ -450,7 +442,7 @@ static INPUT_PORTS_START( soccer )
/* The lower 4 bits are the input */
PORT_START_TAG("IN11")
- PORT_DIPNAME( 0x07, 0x00, "Time per coin" )
+ PORT_DIPNAME( 0x07, 0x00, "Time per coin" ) PORT_DIPLOCATION("SW1:1,2,3")
PORT_DIPSETTING( 0x00, "1:00" )
PORT_DIPSETTING( 0x01, "1:20" )
PORT_DIPSETTING( 0x02, "1:40" )
@@ -459,18 +451,18 @@ static INPUT_PORTS_START( soccer )
PORT_DIPSETTING( 0x05, "3:00" )
PORT_DIPSETTING( 0x06, "3:30" )
PORT_DIPSETTING( 0x07, "4:00" )
- PORT_DIPNAME( 0x18, 0x00, DEF_STR( Coin_B ) )
+ PORT_DIPNAME( 0x18, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:4,5")
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x08, DEF_STR( 1C_4C ) )
PORT_DIPSETTING( 0x10, DEF_STR( 1C_5C ) )
PORT_DIPSETTING( 0x18, DEF_STR( 1C_6C ) )
- PORT_DIPNAME( 0x20, 0x00, DEF_STR( Coin_A ) )
+ PORT_DIPNAME( 0x20, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:6")
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x20, DEF_STR( 1C_2C ) )
- PORT_DIPNAME( 0x40, 0x00, DEF_STR( Coinage ) )
+ PORT_DIPNAME( 0x40, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x00, "1 Coin Minimum" )
PORT_DIPSETTING( 0x40, "2 Coin Minimum" )
- PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused on schematics */
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW1:8" ) /* Listed as "Unused" */
INPUT_PORTS_END
diff --git a/src/mame/includes/taitoipt.h b/src/mame/includes/taitoipt.h
index f0c73fa1a85..aeb5c181f7e 100644
--- a/src/mame/includes/taitoipt.h
+++ b/src/mame/includes/taitoipt.h
@@ -1,11 +1,11 @@
/*******************************************************************************
- Input port macros used by many games in mutiple Taito drivers
+ Input port macros used by many games in multiple Taito drivers
*******************************************************************************/
-/**************************** Machine Dip Swicthes ****************************/
+/**************************** Machine Dip Switches ****************************/
/* with location */
#define TAITO_DSWA_BITS_2_TO_3_LOC(DIPBANK) \
@@ -205,7 +205,7 @@
TAITO_COINAGE_US_COIN_CONT
-/************************** Difficulty Dip Swicthes ***************************/
+/************************** Difficulty Dip Switches ***************************/
/* with location */
#define TAITO_DIFFICULTY_LOC(DIPBANK) \