summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2022-09-02 07:33:28 -0800
committer GitHub <noreply@github.com>2022-09-03 01:33:28 +1000
commitf3bb9bdd7c8c6c9ed81947702d7a49a961a0f4b7 (patch)
tree553b980adb7d86a86256d55310f05f467a16c98b
parentb0ad4fcc4cc176f19116719d1042df6c6f38a94b (diff)
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.
-rw-r--r--src/mame/nintendo/vsnes.cpp33
1 files changed, 24 insertions, 9 deletions
diff --git a/src/mame/nintendo/vsnes.cpp b/src/mame/nintendo/vsnes.cpp
index e68e28e4f8c..b9e23ff3004 100644
--- a/src/mame/nintendo/vsnes.cpp
+++ b/src/mame/nintendo/vsnes.cpp
@@ -1851,6 +1851,7 @@ static INPUT_PORTS_START( jajamaru )
PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x10, "4" )
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( 0x40, 0x00, "SW1:!7" )
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( 0x07, DEF_STR( Free_Play ) )
PORT_DIPNAME( 0x08, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!4")
- PORT_DIPSETTING( 0x00, "2" )
- PORT_DIPSETTING( 0x08, "3" )
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" )
- PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x00, "SW1:!6" )
- PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x00, "SW1:!7" )
+ PORT_DIPSETTING( 0x00, "3" )
+ PORT_DIPSETTING( 0x08, "4" )
+ PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x00, "SW1:!5" ) // stored in $f5, is it ever used?
+// TODO: check if there's a more specific meaning than difficulty for this.
+// 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" )
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_DIPNAME( 0x01, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:!1")
- PORT_DIPSETTING( 0x00, "50000" ) // and every ?
- PORT_DIPSETTING( 0x01, "70000" ) // and every ?
+ PORT_DIPSETTING( 0x00, "50k, 150k, every 150k" )
+ PORT_DIPSETTING( 0x01, "70k, 200k, every 200k" )
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:!2")
PORT_DIPSETTING( 0x00, "3" )
PORT_DIPSETTING( 0x02, "5" )
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_DIPSETTING( 0x30, DEF_STR( 3C_1C ) )
PORT_DIPSETTING( 0x20, DEF_STR( 2C_1C ) )
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
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( 0x40, "RP2C04-0002" )
PORT_DIPSETTING( 0x80, "RP2C04-0003" )