summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-08-02 18:17:43 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-08-02 18:17:43 +0200
commitcf8f0150b3cacd3bfcd73b5e13d9621d60258d91 (patch)
treebedb774777ef969f8a30be729720d234b0cbb1c6 /src
parentd524010551fc4aa4215e9742cbe7523744be9b7d (diff)
royalmah: completed dip-switches for mjifb and clones (MT05608) (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/royalmah.cpp93
1 files changed, 48 insertions, 45 deletions
diff --git a/src/mame/drivers/royalmah.cpp b/src/mame/drivers/royalmah.cpp
index ce0f0d65d5e..ed43d07d8c6 100644
--- a/src/mame/drivers/royalmah.cpp
+++ b/src/mame/drivers/royalmah.cpp
@@ -2604,8 +2604,11 @@ INPUT_PORTS_END
static INPUT_PORTS_START( mjifb )
PORT_INCLUDE( mjctrl2 )
+ // Default dip-switch settings taken from manual for "single type" cabinet
+ // When they differ for "corner type" cabinet, it's noted in a comment near the dip-switch
+
PORT_START("PORT3_5") // IN10 - DSW1 (P3 & P5)
- PORT_DIPNAME( 0x0f, 0x07, "Pay Out Rate" )
+ PORT_DIPNAME( 0x0f, 0x07, "Pay Out Rate" ) PORT_DIPLOCATION("DSW1:1,2,3,4")
PORT_DIPSETTING( 0x0f, "96%" )
PORT_DIPSETTING( 0x0e, "93%" )
PORT_DIPSETTING( 0x0d, "90%" )
@@ -2615,98 +2618,98 @@ static INPUT_PORTS_START( mjifb )
PORT_DIPSETTING( 0x09, "78%" )
PORT_DIPSETTING( 0x08, "75%" )
PORT_DIPSETTING( 0x07, "71%" )
- PORT_DIPSETTING( 0x06, "68%" )
+ PORT_DIPSETTING( 0x06, "68%" ) // default for "corner type" cabinet
PORT_DIPSETTING( 0x05, "65%" )
PORT_DIPSETTING( 0x04, "62%" )
PORT_DIPSETTING( 0x03, "59%" )
PORT_DIPSETTING( 0x02, "56%" )
PORT_DIPSETTING( 0x01, "53%" )
PORT_DIPSETTING( 0x00, "50%" )
- PORT_DIPNAME( 0x30, 0x00, "Maximum Bet" )
+ PORT_DIPNAME( 0x30, 0x10, "Maximum Bet" ) PORT_DIPLOCATION("DSW1:5,6")
PORT_DIPSETTING( 0x30, "1" )
PORT_DIPSETTING( 0x20, "5" )
PORT_DIPSETTING( 0x10, "10" )
PORT_DIPSETTING( 0x00, "20" )
- PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Unknown ) )
+ PORT_DIPNAME( 0xc0, 0xc0, "Minimum Rate to Play" ) PORT_DIPLOCATION("DSW1:7,8")
PORT_DIPSETTING( 0xc0, "1" )
PORT_DIPSETTING( 0x80, "2" )
PORT_DIPSETTING( 0x40, "3" )
PORT_DIPSETTING( 0x00, "4" )
PORT_START("PORT6_7") // IN11 - DSW2 (P6 & P7)
- PORT_DIPNAME( 0x03, 0x03, "Winnings" )
+ PORT_DIPNAME( 0x03, 0x00, "Winnings" ) PORT_DIPLOCATION("DSW2:1,2")
PORT_DIPSETTING( 0x03, "32 24 16 12 8 4 2 1" )
PORT_DIPSETTING( 0x00, "50 30 15 8 5 3 2 1" )
PORT_DIPSETTING( 0x01, "100 50 25 10 5 3 2 1" )
PORT_DIPSETTING( 0x02, "200 100 50 10 5 3 2 1" )
- PORT_DIPNAME( 0x04, 0x04, "Credits Per Note" )
+ PORT_DIPNAME( 0x04, 0x00, "Credits Per Note" ) PORT_DIPLOCATION("DSW2:3")
PORT_DIPSETTING( 0x04, "5" )
PORT_DIPSETTING( 0x00, "10" )
- PORT_DIPNAME( 0x38, 0x38, "YAKUMAN Bonus" )
- PORT_DIPSETTING( 0x38, "Cut" )
- PORT_DIPSETTING( 0x30, "1 T" )
- PORT_DIPSETTING( 0x28, "300" )
- PORT_DIPSETTING( 0x20, "500" )
- PORT_DIPSETTING( 0x18, "700" )
- PORT_DIPSETTING( 0x10, "1000" )
-// PORT_DIPSETTING( 0x08, "1000?" )
-// PORT_DIPSETTING( 0x00, "1000?" )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, "1" )
- PORT_DIPSETTING( 0x40, "2" )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x00, "1/4" )
- PORT_DIPSETTING( 0x80, "2/4" )
+ PORT_DIPNAME( 0x38, 0x20, "YAKUMAN Bonus" ) PORT_DIPLOCATION("DSW2:4,5,6")
+ PORT_DIPSETTING( 0x38, "None" ) // default for "corner type" cabinet
+ PORT_DIPSETTING( 0x30, "Once at start" )
+ PORT_DIPSETTING( 0x28, "Every 300 coins" )
+ PORT_DIPSETTING( 0x20, "Every 500 coins" )
+ PORT_DIPSETTING( 0x18, "Every 700 coins" )
+ PORT_DIPSETTING( 0x10, "Every 1000 coins" )
+// PORT_DIPSETTING( 0x08, "Every 1000 coins?" )
+// PORT_DIPSETTING( 0x00, "Every 1000 coins?" )
+ PORT_DIPNAME( 0x40, 0x40, "YAKUMAN Bonus Frequency" ) PORT_DIPLOCATION("DSW2:7")
+ PORT_DIPSETTING( 0x00, "Once" )
+ PORT_DIPSETTING( 0x40, "Twice" )
+ PORT_DIPNAME( 0x80, 0x00, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW2:8")
+ PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x80, DEF_STR( Hard ) )
PORT_START("DSW3") // IN13 - DSW3 ($8200)
- PORT_DIPNAME( 0x01, 0x01, "Unknown 3-0" )
- PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
+ PORT_DIPNAME( 0x01, 0x00, "Automatic Rate Change" ) PORT_DIPLOCATION("DSW3:1")
+ PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) // default for "corner type" cabinet
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x02, 0x02, "Unknown 3-1" )
- PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
+ PORT_DIPNAME( 0x02, 0x00, "Service Count" ) PORT_DIPLOCATION("DSW3:2")
+ PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) // default for "corner type" cabinet
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x04, 0x04, "F-Rate" )
+ PORT_DIPNAME( 0x04, 0x00, "Renchan Rate" ) PORT_DIPLOCATION("DSW3:3")
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x08, "Unknown 3-3" )
+ PORT_DIPNAME( 0x08, 0x00, "W-Bet" ) PORT_DIPLOCATION("DSW3:4")
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x10, 0x10, "Bye-Byte Bonus" )
+ PORT_DIPNAME( 0x10, 0x00, "Bye-Bye Bonus" ) PORT_DIPLOCATION("DSW3:5")
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x20, 0x20, "Unknown 3-5" )
- PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x40, 0x40, "Auto-Mode After Reached" )
+ PORT_DIPNAME( 0x20, 0x00, "Last Chance" ) PORT_DIPLOCATION("DSW3:6")
+ PORT_DIPSETTING( 0x20, "Free" )
+ PORT_DIPSETTING( 0x00, "Charge" )
+ PORT_DIPNAME( 0x40, 0x00, "Auto Tsumo" ) PORT_DIPLOCATION("DSW3:7")
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, "Background Color" )
+ PORT_DIPNAME( 0x80, 0x00, "Background Color" ) PORT_DIPLOCATION("DSW3:8")
PORT_DIPSETTING( 0x80, "Black" )
- PORT_DIPSETTING( 0x00, "Blue" )
+ PORT_DIPSETTING( 0x00, "Blue" ) // gray according to manual?!?!
PORT_START("DSW4") // IN14 - DSW4 ($8000)
- PORT_DIPNAME( 0x01, 0x01, "Unknown 4-0" )
+ PORT_DIPNAME( 0x01, 0x00, "Double-tile exchange" ) PORT_DIPLOCATION("DSW4:1")
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x02, 0x02, "Unknown 4-1" )
+ PORT_DIPNAME( 0x02, 0x00, "Double hand-tile game" ) PORT_DIPLOCATION("DSW4:2")
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x04, 0x04, "Unknown 4-2" )
+ PORT_DIPNAME( 0x04, 0x00, "Blind-tile game" ) PORT_DIPLOCATION("DSW4:3")
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x08, 0x08, "Flip-Flop" )
- PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
+ PORT_DIPNAME( 0x08, 0x00, "Don Den Button" ) PORT_DIPLOCATION("DSW4:4")
+ PORT_DIPSETTING( 0x08, "F/F Button" )
+ PORT_DIPSETTING( 0x00, "A Button" )
+ PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("DSW4:5")
+ PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) // default for "corner type" cabinet
PORT_DIPSETTING( 0x10, DEF_STR( On ) )
- PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )
+ PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("DSW4:6")
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x40, 0x40, "Animation" )
+ PORT_DIPNAME( 0x40, 0x40, "Animation" ) PORT_DIPLOCATION("DSW4:7") // marked as "unused" in manual
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, "Full Tests" )
+ PORT_DIPNAME( 0x80, 0x80, "Full Tests" ) PORT_DIPLOCATION("DSW4:8") // marked as "unused" in manual
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
INPUT_PORTS_END