From cf25490b4c8b3ffb7c5c772d8e311bcc1df35132 Mon Sep 17 00:00:00 2001 From: Brian Troha Date: Sat, 2 Feb 2008 21:15:58 +0000 Subject: [PATCH] adds dip locations to LockOn --- src/mame/drivers/lockon.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/mame/drivers/lockon.c b/src/mame/drivers/lockon.c index 68660a9f272..ed080bfd911 100644 --- a/src/mame/drivers/lockon.c +++ b/src/mame/drivers/lockon.c @@ -241,32 +241,34 @@ ADDRESS_MAP_END static INPUT_PORTS_START( lockon ) PORT_START_TAG("DSW") - /* DSW A */ - PORT_DIPNAME( 0x0003, 0x0000, DEF_STR( Lives ) ) + /* DSW 1 - verified on PCB as a 8 position dipswitch block */ + PORT_DIPNAME( 0x0003, 0x0000, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2") PORT_DIPSETTING( 0x0001, "2" ) PORT_DIPSETTING( 0x0000, "3" ) PORT_DIPSETTING( 0x0002, "4" ) PORT_DIPSETTING( 0x0003, "5" ) - PORT_DIPNAME( 0x000c, 0x0000, DEF_STR( Difficulty ) ) + PORT_DIPNAME( 0x000c, 0x0000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:3,4") PORT_DIPSETTING( 0x0004, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x0000, DEF_STR( Medium ) ) PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) ) PORT_DIPSETTING( 0x000c, DEF_STR( Hardest ) ) - PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Bonus_Life ) ) + PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:5") PORT_DIPSETTING( 0x0000, "150K & every 200K" ) PORT_DIPSETTING( 0x0010, "200K & every 200K" ) - PORT_DIPNAME( 0x0020, 0x0000, DEF_STR( Allow_Continue ) ) + PORT_DIPNAME( 0x0020, 0x0000, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW1:6") PORT_DIPSETTING( 0x0020, DEF_STR( No ) ) PORT_DIPSETTING( 0x0000, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) ) + PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0040, DEF_STR( On ) ) - /* DSW B */ - PORT_DIPNAME( 0x0700, 0x0000, DEF_STR( Coin_A ) ) + PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW1:8" ) + + /* DSW 2 - verified on PCB as a 6 position dipswitch block */ + PORT_DIPNAME( 0x0700, 0x0000, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW2:1,2,3") PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x0100, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C ) ) @@ -276,7 +278,7 @@ static INPUT_PORTS_START( lockon ) PORT_DIPSETTING( 0x0500, DEF_STR( 1C_6C ) ) PORT_DIPSETTING( 0x0700, DEF_STR( Free_Play ) ) - PORT_DIPNAME( 0x3800, 0x0000, DEF_STR( Coin_B ) ) + PORT_DIPNAME( 0x3800, 0x0000, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW2:4,5,6") PORT_DIPSETTING( 0x3000, DEF_STR( 4C_1C ) ) PORT_DIPSETTING( 0x0800, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x0000, DEF_STR( 1C_1C ) )