summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-01-05 17:46:45 +1100
committer Vas Crabb <vas@vastheman.com>2025-01-05 17:46:45 +1100
commitc62ba92d34ea164fa598721138b42edd0c540af7 (patch)
treed34656ead63d827c15d3c7910ceb5b6eb0501ba5
parentf268c403abe0a42c11f1a5e37ccaba904e8c8ea6 (diff)
dynax/ddenlovr.cpp: Corrected DIP switch settings for Mahjong The Mysterious World.
-rw-r--r--src/mame/dynax/ddenlovr.cpp160
1 files changed, 89 insertions, 71 deletions
diff --git a/src/mame/dynax/ddenlovr.cpp b/src/mame/dynax/ddenlovr.cpp
index 5620a17be12..a79f260db43 100644
--- a/src/mame/dynax/ddenlovr.cpp
+++ b/src/mame/dynax/ddenlovr.cpp
@@ -7023,107 +7023,125 @@ INPUT_PORTS_END
static INPUT_PORTS_START( mjmyster )
+ // The manual provides three sets of standard settings:
+ // 標準設定 シングル向け 標準設定 メダルコーナー向け 標準設定 アミューズコーナー向け
+ // SW 1 Off Off Off On On On Off On On Off Off Off Off On On On Off On On Off On Off Off On Off Off On Off On Off
+ // SW 2 Off Off Off Off On On Off On On Off Off Off Off Off Off Off On On On Off Off Off Off Off Off Off Off Off Off Off
+ // SW 3 Off Off Off On On On On On On On Off Off Off On On On On On On Off Off On Off On On On On On On Off
+ // SW 4 Off On On On On Off Off Off Off Off On On On On On Off Off Off Off Off On On On On On Off Off Off Off Off
+
PORT_START("SYSTEM")
- PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_CODE(KEYCODE_4) // pay
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_CODE(KEYCODE_4) PORT_CONDITION("DSW3", 0x03, EQUALS, 0x02) // pay
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_CONDITION("DSW3", 0x03, EQUALS, 0x03)
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSW3", 0x02, EQUALS, 0x00)
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN)
PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW)
- PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) // analyzer
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MEMORY_RESET ) // data clear
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) // note
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) // analyzer
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MEMORY_RESET ) // data clear
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BILL1 ) PORT_CODE(KEYCODE_6) // note
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1)
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN)
PORT_INCLUDE( mahjong_matrix_2p_bet_wup )
PORT_START("DSW1")
- MAHJONG_PAYOUT_RATE(0, "SW 1:1,2,3,4")
- PORT_DIPNAME( 0x30, 0x00, "Odds Rate" ) PORT_DIPLOCATION("SW 1:5,6")
+ MAHJONG_PAYOUT_RATE(0, "SW1:1,2,3,4") // PAY-OUT 管理
+ PORT_DIPNAME( 0x30, 0x00, "Odds Rate" ) PORT_DIPLOCATION("SW1:5,6") // ODDS 設定
PORT_DIPSETTING( 0x30, "1 2 4 8 12 16 24 32" )
PORT_DIPSETTING( 0x00, "1 2 3 5 8 15 30 50" )
PORT_DIPSETTING( 0x20, "2 3 6 8 12 15 30 50" )
PORT_DIPSETTING( 0x10, "1 2 3 5 10 25 50 100" )
- PORT_DIPNAME( 0xc0, 0x40, "Maximum Bet" ) PORT_DIPLOCATION("SW 1:7,8")
+ PORT_DIPNAME( 0xc0, 0x40, "Maximum Bet" ) PORT_DIPLOCATION("SW1:7,8") // BET-MAX
PORT_DIPSETTING( 0xc0, "1" )
PORT_DIPSETTING( 0x80, "5" )
PORT_DIPSETTING( 0x40, "10" )
PORT_DIPSETTING( 0x00, "20" )
PORT_START("DSW2")
- MAHJONG_COINAGE(0, "SW 2:1,2")
- PORT_DIPNAME( 0x0c, 0x0c, "Minimum Bet" ) PORT_DIPLOCATION("SW 2:3,4")
- PORT_DIPSETTING( 0x0c, "1" )
- PORT_DIPSETTING( 0x08, "2" )
- PORT_DIPSETTING( 0x04, "3" )
- PORT_DIPSETTING( 0x00, "5" )
- PORT_DIPNAME( 0x70, 0x40, "Bonus Chance Cycle" ) PORT_DIPLOCATION("SW 2:5,6,7")
- PORT_DIPSETTING( 0x70, "None" )
- PORT_DIPSETTING( 0x60, "First time only" )
- PORT_DIPSETTING( 0x50, "Every 300 coins" )
- PORT_DIPSETTING( 0x40, "Every 500 coins" )
- PORT_DIPSETTING( 0x30, "Every 700 coins" )
- PORT_DIPSETTING( 0x20, "Every 1000 coins" )
+ MAHJONG_COINAGE(0, "SW2:1,2") // COIN RATE
+ PORT_DIPNAME( 0x0c, 0x0c, "Minimum Bet" ) PORT_DIPLOCATION("SW2:3,4") // 最低 BET RATE
+ PORT_DIPSETTING( 0x0c, "1" ) // レート 1
+ PORT_DIPSETTING( 0x08, "2" ) // レート 2
+ PORT_DIPSETTING( 0x04, "3" ) // レート 3
+ PORT_DIPSETTING( 0x00, "5" ) // レート 5
+ PORT_DIPNAME( 0x70, 0x40, "Bonus Chance Cycle" ) PORT_DIPLOCATION("SW2:5,6,7") // ボーナスチャンスの周期設定
+ PORT_DIPSETTING( 0x70, "None" ) // 無し
+ PORT_DIPSETTING( 0x60, "First time only" ) // 初回のみ
+ PORT_DIPSETTING( 0x50, "Every 300 coins" ) // 300コイン毎
+ PORT_DIPSETTING( 0x40, "Every 500 coins" ) // 500コイン毎
+ PORT_DIPSETTING( 0x30, "Every 700 coins" ) // 700コイン毎
+ PORT_DIPSETTING( 0x20, "Every 1000 coins" ) // 1000コイン毎
//PORT_DIPSETTING( 0x10, "Every 1000 coins" )
//PORT_DIPSETTING( 0x00, "Every 1000 coins" )
- PORT_DIPNAME( 0x80, 0x00, "Chances Per Cycle" ) PORT_DIPLOCATION("SW 2:8")
- PORT_DIPSETTING( 0x00, "1" )
- PORT_DIPSETTING( 0x80, "2" )
+ PORT_DIPNAME( 0x80, 0x00, "Chances Per Cycle" ) PORT_DIPLOCATION("SW2:8") // 周期設定時のチャンス回数
+ PORT_DIPSETTING( 0x00, "1" ) // 1回
+ PORT_DIPSETTING( 0x80, "2" ) // 2回
PORT_START("DSW3")
- PORT_DIPNAME( 0x03, 0x03, "Game Mode" ) PORT_DIPLOCATION("SW 3:1,2")
- PORT_DIPSETTING( 0x03, "Key-out" )
- PORT_DIPSETTING( 0x02, "Hopper payout" )
- PORT_DIPSETTING( 0x01, "Points with credit timer" )
- PORT_DIPNAME( 0x04, 0x04, "Hopper Polarity" ) PORT_DIPLOCATION("SW 3:3")
- PORT_DIPSETTING( 0x04, DEF_STR(Normal) )
- PORT_DIPSETTING( 0x00, "Inverted" )
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW 3:4" )
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW 3:5" )
- PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW 3:6" )
- PORT_DIPNAME( 0x40, 0x00, "Double Bet" ) PORT_DIPLOCATION("SW 3:7")
- PORT_DIPSETTING( 0x40, DEF_STR(Off) )
- PORT_DIPSETTING( 0x00, DEF_STR(On) )
- PORT_DIPNAME( 0x80, 0x00, "Last Chance" ) PORT_DIPLOCATION("SW 3:8")
- PORT_DIPSETTING( 0x80, DEF_STR(Off) )
- PORT_DIPSETTING( 0x00, DEF_STR(On) )
+ PORT_DIPNAME( 0x03, 0x03, "Game Mode" ) PORT_DIPLOCATION("SW3:1,2")
+ PORT_DIPSETTING( 0x03, "Key-out" ) // クレジットタイプ
+ PORT_DIPSETTING( 0x02, "Hopper payout" ) // ホッパータイプ
+ PORT_DIPSETTING( 0x01, "Points with credit timer" ) // クレジットタイマータイプ
+ PORT_DIPNAME( 0x04, 0x04, "Hopper Polarity" ) PORT_DIPLOCATION("SW3:3") // ホッパーアクティブ
+ PORT_DIPSETTING( 0x04, DEF_STR(Normal) ) // 通常
+ PORT_DIPSETTING( 0x00, "Inverted" ) // 反転
+ PORT_DIPNAME( 0x18, 0x00, "Credit Limit" ) PORT_DIPLOCATION("SW3:4,5") // クレジットコインリミット
+ PORT_DIPSETTING( 0x18, "300" )
+ PORT_DIPSETTING( 0x10, "500" )
+ PORT_DIPSETTING( 0x08, "700" )
+ PORT_DIPSETTING( 0x00, "1000" )
+ PORT_DIPNAME( 0x20, 0x00, "Computer Strength" ) PORT_DIPLOCATION("SW3:6") // コンピューターの強さ
+ PORT_DIPSETTING( 0x00, DEF_STR(Normal) ) // 普通
+ PORT_DIPSETTING( 0x20, "Strong" ) // 強
+ PORT_DIPNAME( 0x40, 0x00, "Double Bet" ) PORT_DIPLOCATION("SW3:7") // W-BET 機能
+ PORT_DIPSETTING( 0x40, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x80, 0x00, "Last Chance" ) PORT_DIPLOCATION("SW3:8") // ラストチャンス
+ PORT_DIPSETTING( 0x80, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
PORT_START("DSW4")
- PORT_DIPNAME( 0x01, 0x00, DEF_STR(Demo_Sounds) ) PORT_DIPLOCATION("SW 4:1")
- PORT_DIPSETTING( 0x01, DEF_STR(Off) )
- PORT_DIPSETTING( 0x00, DEF_STR(On) )
- PORT_DIPNAME( 0x02, 0x00, "In-Game Music" ) PORT_DIPLOCATION("SW 4:2")
- PORT_DIPSETTING( 0x02, DEF_STR(Off) )
- PORT_DIPSETTING( 0x00, DEF_STR(On) )
- PORT_DIPNAME( 0x04, 0x00, "Show Gals" ) PORT_DIPLOCATION("SW 4:3")
- PORT_DIPSETTING( 0x04, DEF_STR(Off) )
+ PORT_DIPNAME( 0x01, 0x00, DEF_STR(Demo_Sounds) ) PORT_DIPLOCATION("SW4:1") // デモサウンド
+ PORT_DIPSETTING( 0x01, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x02, 0x00, "In-Game Music" ) PORT_DIPLOCATION("SW4:2") // ゲームサウンド
+ PORT_DIPSETTING( 0x02, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x04, 0x00, "Show Gals" ) PORT_DIPLOCATION("SW4:3") // ギャル表示
+ PORT_DIPSETTING( 0x04, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x08, 0x00, "Show Game Action" ) PORT_DIPLOCATION("SW4:4") // ゲームアクション表示
+ PORT_DIPSETTING( 0x08, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x10, 0x00, "Fever Payout Rate" ) PORT_DIPLOCATION("SW4:5" ) // フィーバーの出率
+ PORT_DIPSETTING( 0x10, DEF_STR(Low) ) // 普通
+ PORT_DIPSETTING( 0x00, DEF_STR(Normal) ) // 少ない
+ PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW4:6" ) // OFF固定
+ PORT_DIPNAME( 0x40, 0x40, DEF_STR(Controls) ) PORT_DIPLOCATION("SW4:7") // OFF固定 (seems to disable controls if switched on)
+ PORT_DIPSETTING( 0x40, DEF_STR(Off) )
PORT_DIPSETTING( 0x00, DEF_STR(On) )
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW 4:4" )
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW 4:5" )
- PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW 4:6" )
- PORT_DIPNAME( 0x40, 0x40, DEF_STR( Controls ) ) PORT_DIPLOCATION("SW 4:7")
- PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x80, 0x80, DEF_STR(Region) ) PORT_DIPLOCATION("SW 4:8")
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR(Region) ) PORT_DIPLOCATION("SW4:8") // OFF固定
PORT_DIPSETTING( 0x80, DEF_STR(Japan) )
PORT_DIPSETTING( 0x00, DEF_STR(Hong_Kong) )
PORT_START("DSW5")
- PORT_DIPNAME( 0x03, 0x03, "Computer Strength?" ) PORT_DIPLOCATION("SW 4:9,10")
- PORT_DIPSETTING( 0x03, "Weak" )
- PORT_DIPSETTING( 0x02, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x01, "Strong" )
- PORT_DIPSETTING( 0x00, "Very Strong" )
- PORT_DIPNAME( 0x04, 0x00, "Auto Reach" ) PORT_DIPLOCATION("SW 3:9")
- PORT_DIPSETTING( 0x04, DEF_STR(Off) )
- PORT_DIPSETTING( 0x00, DEF_STR(On) )
- PORT_DIPNAME( 0x08, 0x00, "Don Den Button" ) PORT_DIPLOCATION("SW 3:10")
- PORT_DIPSETTING( 0x08, "Start" )
- PORT_DIPSETTING( 0x00, "Flip Flop" )
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW 2:9" )
- PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW 2:10" )
- MAHJONG_NOTE_CREDITS(6, "SW 1:9", "DSW2", 0)
- PORT_DIPNAME( 0x80, 0x00, DEF_STR(Flip_Screen) ) PORT_DIPLOCATION("SW 1:10")
- PORT_DIPSETTING( 0x00, DEF_STR(Off) )
- PORT_DIPSETTING( 0x80, DEF_STR(On) )
+ PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "SW4:9" ) // OFF固定
+ PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW4:10" ) // OFF固定
+ PORT_DIPNAME( 0x04, 0x00, "Auto Reach" ) PORT_DIPLOCATION("SW3:9") // オートリーチ機能
+ PORT_DIPSETTING( 0x04, DEF_STR(Off) ) // 無
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 有
+ PORT_DIPNAME( 0x08, 0x00, "Don Den Button" ) PORT_DIPLOCATION("SW3:10") // Don・Den機能ボタン変更
+ PORT_DIPSETTING( 0x08, "Start" ) // スタート・ボタ
+ PORT_DIPSETTING( 0x00, "Flip Flop" ) // F/F・ボタン
+ PORT_DIPNAME( 0x30, 0x20, "Yakuman/Fever Chance Ratio" ) PORT_DIPLOCATION("SW2:9,10") // ボーナスチャンス周期設定時の役満チャンス&フィバーチャンスの比率
+ PORT_DIPSETTING( 0x30, "Yakuman Chance Only" ) // 役満チャンスのみ
+ PORT_DIPSETTING( 0x20, "Equal Yakuman/Fever Chance" ) // 役満チャンスとフィバーチャンスが同等
+ PORT_DIPSETTING( 0x10, "Frequent Fever Chance" ) // フィバーチャンスが多い
+ PORT_DIPSETTING( 0x00, "Fever Chance Only" ) // フィバーチャンスのみ
+ MAHJONG_NOTE_CREDITS(6, "SW1:9", "DSW2", 0) // NOTE RATE
+ PORT_DIPNAME( 0x80, 0x80, DEF_STR(Flip_Screen) ) PORT_DIPLOCATION("SW1:10") // 画面反転
+ PORT_DIPSETTING( 0x80, DEF_STR(Off) ) // 通常
+ PORT_DIPSETTING( 0x00, DEF_STR(On) ) // 反転
INPUT_PORTS_END
static INPUT_PORTS_START( hginga )