nintendo/vsnes.cpp: Improved DIP switch labels for jajamaru, bnglngby and supxevs. (#10292)

* Corrected bnglngby Lives DIP switch settings, added Difficulty settings.
* Corrected supxevs Bonus Life DIP switch settings, added Password DIP settings.
* Corrected Lives DIP switch settings for jajamaru.
This commit is contained in:
0kmg 2022-09-02 07:33:28 -08:00 committed by GitHub
parent b0ad4fcc4c
commit f3bb9bdd7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1851,6 +1851,7 @@ static INPUT_PORTS_START( jajamaru )
PORT_DIPSETTING( 0x00, "3" ) PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x10, "4" ) PORT_DIPSETTING( 0x10, "4" )
PORT_DIPSETTING( 0x08, "5" ) PORT_DIPSETTING( 0x08, "5" )
PORT_DIPSETTING( 0x18, "6" ) // status bar only shows up to 4 reserve lives
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" ) PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" ) PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:!8") PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:!8")
@ -2330,11 +2331,16 @@ static INPUT_PORTS_START( bnglngby )
PORT_DIPSETTING( 0x06, DEF_STR( 1C_4C ) ) PORT_DIPSETTING( 0x06, DEF_STR( 1C_4C ) )
PORT_DIPSETTING( 0x07, DEF_STR( Free_Play ) ) PORT_DIPSETTING( 0x07, DEF_STR( Free_Play ) )
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!4") PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!4")
PORT_DIPSETTING( 0x00, "2" ) PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x08, "3" ) PORT_DIPSETTING( 0x08, "4" )
PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" ) PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" ) // stored in $f5, is it ever used?
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" ) // TODO: check if there's a more specific meaning than difficulty for this.
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" ) // The game seems to peg several things to level# ($d2) + DIP determined value ($0233).
PORT_DIPNAME( 0x60, 0x00, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW1:!6,!7")
PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x40, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x20, DEF_STR( Medium ) )
PORT_DIPSETTING( 0x60, DEF_STR( Hard ) )
PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" ) PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x00, "SW1:!8" )
INPUT_PORTS_END INPUT_PORTS_END
@ -2367,19 +2373,28 @@ static INPUT_PORTS_START( supxevs )
PORT_START("DSW0") // bit 0 and 1 read from bit 3 and 4 on $4016, rest of the bits read on $4017 PORT_START("DSW0") // bit 0 and 1 read from bit 3 and 4 on $4016, rest of the bits read on $4017
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:!1") PORT_DIPNAME( 0x01, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:!1")
PORT_DIPSETTING( 0x00, "50000" ) // and every ? PORT_DIPSETTING( 0x00, "50k, 150k, every 150k" )
PORT_DIPSETTING( 0x01, "70000" ) // and every ? PORT_DIPSETTING( 0x01, "70k, 200k, every 200k" )
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!2") PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!2")
PORT_DIPSETTING( 0x00, "3" ) PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x02, "5" ) PORT_DIPSETTING( 0x02, "5" )
PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW1:!3" ) PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x00, "SW1:!3" )
PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "SW1:!4" ) PORT_DIPNAME( 0x08, 0x00, "Hidden Password Screen" ) PORT_DIPLOCATION("SW1:!4")
PORT_DIPSETTING( 0x00, DEF_STR( Yes ) )
PORT_DIPSETTING( 0x08, DEF_STR( No ) )
// Set to Yes and hold both A and B while pressing P1 start to access Password Screen
// Level 2: 5135
// Level 3: 3706
// Level 4: 6853
// Level 5: 3381
// Level 6: 3913
// Level 7: 2311
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:!5,!6") PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:!5,!6")
PORT_DIPSETTING( 0x30, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x30, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) )
PORT_DIPNAME( 0xc0, 0x00, "PPU Type" ) PORT_DIPLOCATION("SW1:!7,!8") PORT_DIPNAME( 0xc0, 0x00, "PPU Type" ) PORT_DIPLOCATION("SW1:!7,!8")
PORT_DIPSETTING( 0x00, "RP2C04-0001" ) PORT_DIPSETTING( 0x00, "RP2C04-0001" )
PORT_DIPSETTING( 0x40, "RP2C04-0002" ) PORT_DIPSETTING( 0x40, "RP2C04-0002" )
PORT_DIPSETTING( 0x80, "RP2C04-0003" ) PORT_DIPSETTING( 0x80, "RP2C04-0003" )