summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fantland.c
diff options
context:
space:
mode:
author Scott Stone <tafoid@users.noreply.github.com>2011-02-17 01:21:28 +0000
committer Scott Stone <tafoid@users.noreply.github.com>2011-02-17 01:21:28 +0000
commit628e7a2b9b01a4e7ddebf62464c61413e03cabf6 (patch)
tree64c6f7d9d97a6d7873e6ce5f550f083dbfbb884d /src/mame/drivers/fantland.c
parent54566faa222339af5e39a9b72cf83fd95665ce8b (diff)
Updated DIPS and Dip Locations based on documents posted by Laschek at KLOV. [Tafoid]
Diffstat (limited to 'src/mame/drivers/fantland.c')
-rw-r--r--src/mame/drivers/fantland.c48
1 files changed, 22 insertions, 26 deletions
diff --git a/src/mame/drivers/fantland.c b/src/mame/drivers/fantland.c
index ca5fbd00fcf..e4dcf47b7a1 100644
--- a/src/mame/drivers/fantland.c
+++ b/src/mame/drivers/fantland.c
@@ -650,7 +650,7 @@ static INPUT_PORTS_START( borntofi )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CONDITION("Controls", 0x03, PORTCOND_EQUALS, 0x02) PORT_PLAYER(2)
PORT_START("DSW") /* 53002 */
- PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
+ PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW1:1,2,3")
PORT_DIPSETTING( 0x01, DEF_STR( 4C_1C ) )
PORT_DIPSETTING( 0x02, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x03, DEF_STR( 2C_1C ) )
@@ -658,44 +658,40 @@ static INPUT_PORTS_START( borntofi )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x00, "Invulnerability" )
- PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW1:4")
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
- PORT_DIPNAME( 0x10, 0x10, DEF_STR( Allow_Continue ) )
+ PORT_DIPNAME( 0x10, 0x10, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("DSW1:5")
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
PORT_DIPSETTING( 0x10, DEF_STR( Yes ) )
- PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) )
+ PORT_DIPNAME( 0x60, 0x60, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW1:6,7")
PORT_DIPSETTING( 0x60, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x40, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x20, DEF_STR( Harder ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) )
- PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
+ PORT_DIPSETTING( 0x40, DEF_STR( Medium ) )
+ PORT_DIPSETTING( 0x20, DEF_STR( Medium_Hard ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( Hard ) )
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR( Service_Mode ) ) PORT_DIPLOCATION("DSW1:8")
+ PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+
+// PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
PORT_START( "Controls" ) /* IN7 - 53003 */
- PORT_DIPNAME( 0x03, 0x03, DEF_STR( Controls ) )
-// PORT_DIPSETTING( 0x01, "Lightgun" )
+ PORT_DIPNAME( 0x03, 0x03, DEF_STR( Controls ) ) PORT_DIPLOCATION("DSW2:1,2")
+// PORT_DIPSETTING( 0x01, "Lightgun" )
PORT_DIPSETTING( 0x03, "Lightgun" )
PORT_DIPSETTING( 0x00, DEF_STR( Trackball ) )
PORT_DIPSETTING( 0x02, DEF_STR( Joystick ) )
- PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) // tested
+ PORT_DIPNAME( 0x04, 0x04, "Sound Test" ) PORT_DIPLOCATION("DSW2:3")
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x08, "180" )
- PORT_DIPSETTING( 0x00, "0" )
- PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
+ PORT_DIPNAME( 0x08, 0x08, "Free Bullets" ) PORT_DIPLOCATION("DSW2:4")
+ PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+ PORT_DIPUNUSED_DIPLOC( 0x10, 0x0010, "DSW2:5" )
+ PORT_DIPUNUSED_DIPLOC( 0x20, 0x0020, "DSW2:6" )
+ PORT_DIPUNUSED_DIPLOC( 0x40, 0x0040, "DSW2:7" )
+ PORT_DIPUNUSED_DIPLOC( 0x80, 0x0080, "DSW2:8" )
PORT_START("P1 Lightgun Y") /* 57000 */
PORT_BIT( 0xff, 0xb0, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, (352.0 - 12) / 352, 12.0 / 352, 0) PORT_MINMAX(0x80,0xfc) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_PLAYER(1)