gumbo.c: Added dipswitch locations to all sets in the driver. [Brian Troha]

This commit is contained in:
Brian Troha 2012-04-21 20:46:41 +00:00
parent 368b5e3fff
commit 0a8eb0f2e6

View File

@ -102,47 +102,47 @@ static INPUT_PORTS_START( gumbo )
PORT_START("DSW")
PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Coinage ) )
PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2")
PORT_DIPSETTING( 0x0000, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x0100, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x0300, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x0200, DEF_STR( 1C_2C ) )
PORT_DIPNAME( 0x0400, 0x0400, "Helps" ) // "Power Count" in test mode
PORT_DIPNAME( 0x0400, 0x0400, "Helps" ) PORT_DIPLOCATION("SW1:3") // "Power Count" in test mode
PORT_DIPSETTING( 0x0000, "0" )
PORT_DIPSETTING( 0x0400, "1" )
PORT_DIPNAME( 0x0800, 0x0800, "Bonus Bar Level" )
PORT_DIPNAME( 0x0800, 0x0800, "Bonus Bar Level" ) PORT_DIPLOCATION("SW1:4")
PORT_DIPSETTING( 0x0800, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x0000, DEF_STR( High ) )
PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Difficulty ) )
PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:5,6")
PORT_DIPSETTING( 0x2000, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x3000, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x1000, DEF_STR( Hard ) )
PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
PORT_DIPNAME( 0x4000, 0x4000, "Picture View" )
PORT_DIPNAME( 0x4000, 0x4000, "Picture View" ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW1:8" )
INPUT_PORTS_END
static INPUT_PORTS_START( msbingo )
PORT_INCLUDE( gumbo )
PORT_MODIFY("DSW")
PORT_DIPNAME( 0x0c00, 0x0c00, "Chance Count" )
PORT_DIPNAME( 0x0c00, 0x0c00, "Chance Count" ) PORT_DIPLOCATION("SW1:3,4")
PORT_DIPSETTING( 0x0c00, "0" )
PORT_DIPSETTING( 0x0800, "1" )
PORT_DIPSETTING( 0x0400, "2" )
PORT_DIPSETTING( 0x0000, "3" )
PORT_DIPNAME( 0x1000, 0x1000, "Play Level" )
PORT_DIPNAME( 0x1000, 0x1000, "Play Level" ) PORT_DIPLOCATION("SW1:5")
PORT_DIPSETTING( 0x1000, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
PORT_DIPNAME( 0x2000, 0x2000, "Play Speed" )
PORT_DIPNAME( 0x2000, 0x2000, "Play Speed" ) PORT_DIPLOCATION("SW1:6")
PORT_DIPSETTING( 0x2000, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x0000, DEF_STR( High ) )
PORT_DIPNAME( 0x4000, 0x4000, "Left Count" )
PORT_DIPNAME( 0x4000, 0x4000, "Left Count" ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x4000, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x0000, DEF_STR( Low ) )
PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW1:8" )
INPUT_PORTS_END
static INPUT_PORTS_START( mspuzzle )
@ -150,26 +150,26 @@ static INPUT_PORTS_START( mspuzzle )
PORT_MODIFY("DSW")
PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_DIPNAME( 0x0300, 0x0200, "Time Mode" )
PORT_DIPNAME( 0x0300, 0x0200, "Time Mode" ) PORT_DIPLOCATION("SW1:1,2") /* Manual list this as "Game Level" with Levels 1 through 4 */
PORT_DIPSETTING( 0x0300, "0" )
PORT_DIPSETTING( 0x0200, "1" )
PORT_DIPSETTING( 0x0100, "2" )
PORT_DIPSETTING( 0x0000, "3" )
PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Coinage ) )
PORT_DIPNAME( 0x0c00, 0x0c00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:3,4")
PORT_DIPSETTING( 0x0000, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x0c00, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x0800, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x0400, DEF_STR( 1C_3C ) )
PORT_DIPNAME( 0x1000, 0x1000, "Sound Test" )
PORT_DIPNAME( 0x1000, 0x1000, "Sound Test" ) PORT_DIPLOCATION("SW1:5")
PORT_DIPSETTING( 0x1000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x2000, 0x2000, "View Staff Credits" )
PORT_DIPNAME( 0x2000, 0x2000, "View Staff Credits" ) PORT_DIPLOCATION("SW1:6")
PORT_DIPSETTING( 0x2000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x4000, 0x4000, "Picture View" )
PORT_DIPNAME( 0x4000, 0x4000, "Picture View" ) PORT_DIPLOCATION("SW1:7")
PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW1:8" )
INPUT_PORTS_END
static INPUT_PORTS_START( dblpoint )
@ -184,19 +184,19 @@ static INPUT_PORTS_START( dblpoint )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
PORT_MODIFY("DSW")
PORT_DIPNAME( 0x0c00, 0x0800, DEF_STR( Difficulty ) )
PORT_DIPNAME( 0x0c00, 0x0800, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:3,4")
PORT_DIPSETTING( 0x0c00, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x0800, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x0400, DEF_STR( Hard ) )
PORT_DIPSETTING( 0x0000, DEF_STR( Very_Hard ) )
PORT_DIPNAME( 0x1000, 0x1000, "Sound Test" )
PORT_DIPNAME( 0x1000, 0x1000, "Sound Test" ) PORT_DIPLOCATION("SW1:5")
PORT_DIPSETTING( 0x1000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPNAME( 0x2000, 0x2000, "Picture View" )
PORT_DIPNAME( 0x2000, 0x2000, "Picture View" ) PORT_DIPLOCATION("SW1:6")
PORT_DIPSETTING( 0x2000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
PORT_DIPUNUSED( 0x4000, IP_ACTIVE_LOW )
PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
PORT_DIPUNUSED_DIPLOC( 0x4000, IP_ACTIVE_LOW, "SW1:7" )
PORT_SERVICE_DIPLOC( 0x8000, IP_ACTIVE_LOW, "SW1:8" )
INPUT_PORTS_END
static const gfx_layout gumbo_layout =