Previous 199869 Revisions Next

r46588 Tuesday 22nd March, 2016 at 10:27:01 UTC by Vasantha Crabb
Improve DIP switches for orangeci, vipclub, ojousanm, korinaim, crystalg, apparel, and nightlov [Vas Crabb]
[src/mame/drivers]nbmj8688.cpp

trunk/src/mame/drivers/nbmj8688.cpp
r255099r255100
502502#else
503503
504504   PORT_START("DSWA")
505   PORT_DIPNAME( 0x07, 0x00, "Game Out" )
506   PORT_DIPSETTING(    0x07, "60% (Hard)" )
505   PORT_DIPNAME( 0x07, 0x00, "Game Out Rate" )
506   PORT_DIPSETTING(    0x07, "60%" )
507507   PORT_DIPSETTING(    0x06, "65%" )
508508   PORT_DIPSETTING(    0x05, "70%" )
509509   PORT_DIPSETTING(    0x04, "75%" )
510510   PORT_DIPSETTING(    0x03, "80%" )
511511   PORT_DIPSETTING(    0x02, "85%" )
512512   PORT_DIPSETTING(    0x01, "90%" )
513   PORT_DIPSETTING(    0x00, "95% (Easy)" )
513   PORT_DIPSETTING(    0x00, "95%" )
514514   PORT_DIPNAME( 0x18, 0x18, "Rate Min" )
515515   PORT_DIPSETTING(    0x18, "1" )
516516   PORT_DIPSETTING(    0x10, "2" )
r255099r255100
694694   PORT_DIPNAME( 0x04, 0x04, "NOTE" )
695695   PORT_DIPSETTING(    0x04, "Coin x5" )
696696   PORT_DIPSETTING(    0x00, "Coin x10" )
697   PORT_DIPNAME( 0x18, 0x18, "Game Out" )
698   PORT_DIPSETTING(    0x18, "90% (Easy)" )
699   PORT_DIPSETTING(    0x10, "80%" )
697   PORT_DIPNAME( 0x18, 0x18, "Game Out Rate" )
698   PORT_DIPSETTING(    0x00, "60%" )
700699   PORT_DIPSETTING(    0x08, "70%" )
701   PORT_DIPSETTING(    0x00, "60% (Hard)" )
700   PORT_DIPSETTING(    0x10, "80%" )
701   PORT_DIPSETTING(    0x18, "90%" )
702702   PORT_DIPNAME( 0x20, 0x20, "Bonus awarded on" )
703703   PORT_DIPSETTING(    0x20, "[over BAIMAN]" )
704704   PORT_DIPSETTING(    0x00, "[BAIMAN]" )
r255099r255100
13121312
13131313   PORT_START("DSWA")
13141314   PORT_DIPNAME( 0x07, 0x00, "Game Out" )
1315   PORT_DIPSETTING(    0x07, "60% (Hard)" )
1315   PORT_DIPSETTING(    0x07, "60%" )
13161316   PORT_DIPSETTING(    0x06, "65%" )
13171317   PORT_DIPSETTING(    0x05, "70%" )
13181318   PORT_DIPSETTING(    0x04, "75%" )
13191319   PORT_DIPSETTING(    0x03, "80%" )
13201320   PORT_DIPSETTING(    0x02, "85%" )
13211321   PORT_DIPSETTING(    0x01, "90%" )
1322   PORT_DIPSETTING(    0x00, "95% (Easy)" )
1322   PORT_DIPSETTING(    0x00, "95%" )
13231323   PORT_DIPNAME( 0x18, 0x18, "Rate Min" )
13241324   PORT_DIPSETTING(    0x18, "1" )
13251325   PORT_DIPSETTING(    0x10, "2" )
r255099r255100
14291429static INPUT_PORTS_START( seiham )
14301430   PORT_START("DSWA")
14311431   PORT_DIPNAME( 0x07, 0x00, "Game Out" )
1432   PORT_DIPSETTING(    0x07, "60% (Hard)" )
1432   PORT_DIPSETTING(    0x07, "60%" )
14331433   PORT_DIPSETTING(    0x06, "65%" )
14341434   PORT_DIPSETTING(    0x05, "70%" )
14351435   PORT_DIPSETTING(    0x04, "75%" )
14361436   PORT_DIPSETTING(    0x03, "80%" )
14371437   PORT_DIPSETTING(    0x02, "85%" )
14381438   PORT_DIPSETTING(    0x01, "90%" )
1439   PORT_DIPSETTING(    0x00, "95% (Easy)" )
1439   PORT_DIPSETTING(    0x00, "95%" )
14401440   PORT_DIPNAME( 0x18, 0x18, "Rate Min" )
14411441   PORT_DIPSETTING(    0x18, "1" )
14421442   PORT_DIPSETTING(    0x10, "2" )
r255099r255100
19461946
19471947static INPUT_PORTS_START( orangec )
19481948   PORT_START("DSWA")
1949   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
1949   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )       PORT_DIPLOCATION("DSWA:1,2,3")
19501950   PORT_DIPSETTING(    0x07, "1 (Easy)" )
19511951   PORT_DIPSETTING(    0x06, "2" )
19521952   PORT_DIPSETTING(    0x05, "3" )
r255099r255100
19551955   PORT_DIPSETTING(    0x02, "6" )
19561956   PORT_DIPSETTING(    0x01, "7" )
19571957   PORT_DIPSETTING(    0x00, "8 (Hard)" )
1958   PORT_DIPNAME( 0x08, 0x00, "Select Girl" )
1958   PORT_DIPNAME( 0x08, 0x00, "Select Girl" )               PORT_DIPLOCATION("DSWA:4")
19591959   PORT_DIPSETTING(    0x08, DEF_STR( No ) )
19601960   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
1961   PORT_DIPNAME( 0x10, 0x00, "Extend TSUMO" )
1961   PORT_DIPNAME( 0x10, 0x00, "Extend TSUMO" )              PORT_DIPLOCATION("DSWA:5")
19621962   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
19631963   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1964   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Coinage ) )
1964   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Coinage ) )          PORT_DIPLOCATION("DSWA:6")
19651965   PORT_DIPSETTING(    0x20, DEF_STR( 1C_1C ) )
19661966   PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
1967   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
1967   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )    PORT_DIPLOCATION("DSWA:7")
19681968   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
19691969   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1970   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
1970   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:8")
19711971   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
19721972   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
19731973
r255099r255100
19991999
20002000   PORT_START("SYSTEM")
20012001   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2002   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2003   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2004   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2005   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2006   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN2
2002   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2003   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2004   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2005   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2006   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN2
20072007   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
20082008   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
20092009
r255099r255100
20122012
20132013static INPUT_PORTS_START( orangeci )
20142014   PORT_START("DSWA")
2015   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2016   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2017   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2018   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2019   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2020   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2021   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
2022   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2023   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2024   PORT_DIPNAME( 0x08, 0x00, "Select Girl" )
2015   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
2016   PORT_DIPSETTING(    0x07, "60%" )
2017   PORT_DIPSETTING(    0x06, "64%" )
2018   PORT_DIPSETTING(    0x05, "67%" )
2019   PORT_DIPSETTING(    0x04, "70%" )
2020   PORT_DIPSETTING(    0x03, "75%" )
2021   PORT_DIPSETTING(    0x02, "80%" )
2022   PORT_DIPSETTING(    0x01, "85%" )
2023   PORT_DIPSETTING(    0x00, "90%" )
2024   PORT_DIPNAME( 0x08, 0x00, "Select Girl" )               PORT_DIPLOCATION("DSWA:4")
20252025   PORT_DIPSETTING(    0x08, DEF_STR( No ) )
20262026   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
2027   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2027   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:5")
20282028   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
20292029   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2030   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2030   PORT_DIPNAME( 0x20, 0x00, "Play" )                      PORT_DIPLOCATION("DSWA:6")
20312031   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
20322032   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2033   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
2033   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )    PORT_DIPLOCATION("DSWA:7")
20342034   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
20352035   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2036   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2036   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:8")
20372037   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
20382038   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
20392039
20402040   PORT_START("DSWB")
2041   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
2041   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:1")
20422042   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
20432043   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2044   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
2045   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2046   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2047   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
2044   PORT_DIPNAME( 0x02, 0x02, "Rate Max" )                  PORT_DIPLOCATION("DSWB:2")
2045   PORT_DIPSETTING(    0x00, "1" )
2046   PORT_DIPSETTING(    0x02, "10" )
2047   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:3")
20482048   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
20492049   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2050   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
2050   PORT_DIPNAME( 0x08, 0x00, "Last Chance" )               PORT_DIPLOCATION("DSWB:4")
20512051   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
20522052   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2053   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
2054   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2055   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2056   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
2057   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2058   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2059   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
2053   PORT_DIPNAME( 0x30, 0x30, "Odds Number" )               PORT_DIPLOCATION("DSWB:5,6")
2054   PORT_DIPSETTING(    0x30, "A" )
2055   PORT_DIPSETTING(    0x20, "B" )
2056   PORT_DIPSETTING(    0x10, "C" )
2057   PORT_DIPSETTING(    0x00, "D" )
2058   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:7")
20602059   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
20612060   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2062   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
2061   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
20632062   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
20642063   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
20652064
20662065   PORT_START("SYSTEM")
20672066   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2068   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2069   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2070   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2071   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2072   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN2
2067   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2068   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2069   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2070   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2071   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN2
20732072   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
20742073   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
20752074
r255099r255100
20782077
20792078static INPUT_PORTS_START( vipclub )
20802079   PORT_START("DSWA")
2081   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
2082   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2083   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2084   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
2085   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2086   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2087   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
2088   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2089   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2090   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
2080   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
2081   PORT_DIPSETTING(    0x07, "60%" )
2082   PORT_DIPSETTING(    0x06, "64%" )
2083   PORT_DIPSETTING(    0x05, "67%" )
2084   PORT_DIPSETTING(    0x04, "70%" )
2085   PORT_DIPSETTING(    0x03, "75%" )
2086   PORT_DIPSETTING(    0x02, "80%" )
2087   PORT_DIPSETTING(    0x01, "85%" )
2088   PORT_DIPSETTING(    0x00, "90%" )
2089   PORT_DIPNAME( 0x08, 0x00, "Rate Up" )                   PORT_DIPLOCATION("DSWA:4")
20912090   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
20922091   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2093   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
2092   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:5")
20942093   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
20952094   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2096   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
2095   PORT_DIPNAME( 0x20, 0x00, "Play" )                      PORT_DIPLOCATION("DSWA:6")
20972096   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
20982097   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2099   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
2098   PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )    PORT_DIPLOCATION("DSWA:7")
21002099   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
21012100   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2102   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
2101   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:8")
21032102   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21042103   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21052104
21062105   PORT_START("DSWB")
2107   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
2106   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:1")
21082107   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
21092108   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2110   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
2111   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2112   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2113   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
2109   PORT_DIPNAME( 0x02, 0x02, "Rate Max" )                  PORT_DIPLOCATION("DSWB:2")
2110   PORT_DIPSETTING(    0x00, "1" )
2111   PORT_DIPSETTING(    0x02, "10" )
2112   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:3")
21142113   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
21152114   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2116   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
2115   PORT_DIPNAME( 0x08, 0x00, "Last Chance" )               PORT_DIPLOCATION("DSWB:4")
21172116   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
21182117   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2119   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
2120   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2121   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2122   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
2123   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2124   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2125   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
2118   PORT_DIPNAME( 0x30, 0x30, "Odds Number" )               PORT_DIPLOCATION("DSWB:5,6")
2119   PORT_DIPSETTING(    0x30, "A" )
2120   PORT_DIPSETTING(    0x20, "B" )
2121   PORT_DIPSETTING(    0x10, "C" )
2122   PORT_DIPSETTING(    0x00, "D" )
2123   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:7")
21262124   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
21272125   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2128   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
2126   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
21292127   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21302128   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21312129
21322130   PORT_START("SYSTEM")
21332131   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2134   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2135   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2136   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2137   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2138   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN2
2132   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2133   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2134   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2135   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2136   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN2
21392137   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
21402138   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
21412139
r255099r255100
21442142
21452143static INPUT_PORTS_START( livegal )
21462144   PORT_START("DSWA")
2147   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )               PORT_DIPLOCATION("DSWA:1,2,3")
2148   PORT_DIPSETTING(    0x07, "60" )
2149   PORT_DIPSETTING(    0x06, "65" )
2150   PORT_DIPSETTING(    0x05, "70" )
2151   PORT_DIPSETTING(    0x04, "75" )
2152   PORT_DIPSETTING(    0x03, "80" )
2153   PORT_DIPSETTING(    0x02, "85" )
2154   PORT_DIPSETTING(    0x01, "90" )
2155   PORT_DIPSETTING(    0x00, "95" )
2156   PORT_DIPNAME( 0x08, 0x08, "Rate Max" )                    PORT_DIPLOCATION("DSWA:4")
2145   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
2146   PORT_DIPSETTING(    0x07, "60%" )
2147   PORT_DIPSETTING(    0x06, "65%" )
2148   PORT_DIPSETTING(    0x05, "70%" )
2149   PORT_DIPSETTING(    0x04, "75%" )
2150   PORT_DIPSETTING(    0x03, "80%" )
2151   PORT_DIPSETTING(    0x02, "85%" )
2152   PORT_DIPSETTING(    0x01, "90%" )
2153   PORT_DIPSETTING(    0x00, "95%" )
2154   PORT_DIPNAME( 0x08, 0x08, "Rate Max" )                  PORT_DIPLOCATION("DSWA:4")
21572155   PORT_DIPSETTING(    0x00, "1" )
21582156   PORT_DIPSETTING(    0x08, "9" )
2159   PORT_DIPNAME( 0x10, 0x10, "Rate Up" )                     PORT_DIPLOCATION("DSWA:5")
2157   PORT_DIPNAME( 0x10, 0x00, "Rate Up" )                   PORT_DIPLOCATION("DSWA:5")
21602158   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
21612159   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2162   PORT_DIPNAME( 0x60, 0x60, "Odds Number" )                 PORT_DIPLOCATION("DSWA:6,7")
2160   PORT_DIPNAME( 0x60, 0x60, "Odds Number" )               PORT_DIPLOCATION("DSWA:6,7")
21632161   PORT_DIPSETTING(    0x60, "A" )
21642162   PORT_DIPSETTING(    0x40, "B" )
21652163   PORT_DIPSETTING(    0x20, "C" )
21662164   PORT_DIPSETTING(    0x00, "D" )
2167   PORT_DIPNAME( 0x80, 0x80, "Last Chance Charge" )          PORT_DIPLOCATION("DSWA:8")
2165   PORT_DIPNAME( 0x80, 0x80, "Last Chance Charge" )        PORT_DIPLOCATION("DSWA:8")
21682166   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21692167   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21702168
21712169   PORT_START("DSWB")
2172   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown )  )           PORT_DIPLOCATION("DSWB:1")
2170   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown )  )         PORT_DIPLOCATION("DSWB:1")
21732171   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
21742172   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2175   PORT_DIPNAME( 0x02, 0x02, "Time Speed" )                  PORT_DIPLOCATION("DSWB:2")
2173   PORT_DIPNAME( 0x02, 0x02, "Time Speed" )                PORT_DIPLOCATION("DSWB:2")
21762174   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
21772175   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2178   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )         PORT_DIPLOCATION("DSWB:3,4")
2176   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )       PORT_DIPLOCATION("DSWB:3,4")
21792177   PORT_DIPSETTING(    0x0c, "1 (Easy)" )
21802178   PORT_DIPSETTING(    0x08, "2" )
21812179   PORT_DIPSETTING(    0x04, "3" )
21822180   PORT_DIPSETTING(    0x00, "4 (Hard)" )
2183   PORT_DIPNAME( 0x10, 0x10, "Character Display Test" )      PORT_DIPLOCATION("DSWB:5")
2181   PORT_DIPNAME( 0x10, 0x10, "Character Display Test" )    PORT_DIPLOCATION("DSWB:5")
21842182   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
21852183   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2186   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )            PORT_DIPLOCATION("DSWB:6,7")
2184   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )          PORT_DIPLOCATION("DSWB:6,7")
21872185   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
21882186   PORT_DIPSETTING(    0x20, DEF_STR( 1C_1C ) )
21892187   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
21902188   PORT_DIPSETTING(    0x60, DEF_STR( 1C_5C ) )
2191   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:8")
2189   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
21922190   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21932191   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21942192
r255099r255100
22852283
22862284static INPUT_PORTS_START( ojousanm )
22872285   PORT_START("DSWA")
2288   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2289   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2290   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2291   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2292   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2293   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2294   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
2295   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2296   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2297   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
2298   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2299   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2300   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2301   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2302   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2303   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2304   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2305   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2306   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2307   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2308   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2309   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2286   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )               PORT_DIPLOCATION("DSWA:1,2,3")
2287   PORT_DIPSETTING(    0x07, "60%" )
2288   PORT_DIPSETTING(    0x06, "63%" )
2289   PORT_DIPSETTING(    0x05, "66%" )
2290   PORT_DIPSETTING(    0x04, "70%" )
2291   PORT_DIPSETTING(    0x03, "75%" )
2292   PORT_DIPSETTING(    0x02, "80%" )
2293   PORT_DIPSETTING(    0x01, "85%" )
2294   PORT_DIPSETTING(    0x00, "90%" )
2295   PORT_DIPNAME( 0x18, 0x18, "Rate Min" )                    PORT_DIPLOCATION("DSWA:4,5")
2296   PORT_DIPSETTING(    0x18, "1" )
2297   PORT_DIPSETTING(    0x10, "2" )
2298   PORT_DIPSETTING(    0x08, "3" )
2299   PORT_DIPSETTING(    0x00, "5" )
2300   PORT_DIPNAME( 0x60, 0x60, "Rate Max" )                    PORT_DIPLOCATION("DSWA:6,7")
2301   PORT_DIPSETTING(    0x60, "8" )
2302   PORT_DIPSETTING(    0x40, "10" )
2303   PORT_DIPSETTING(    0x20, "12" )
2304   PORT_DIPSETTING(    0x00, "20" )
2305   PORT_DIPNAME( 0x80, 0x00, "Score Pool" )                  PORT_DIPLOCATION("DSWA:8")
23102306   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
23112307   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
23122308
23132309   PORT_START("DSWB")
2314   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2310   PORT_DIPNAME( 0x01, 0x00, "Rate Up" )                     PORT_DIPLOCATION("DSWB:1")
23152311   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
23162312   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2317   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2313   PORT_DIPNAME( 0x02, 0x00, "Last Chance" )                 PORT_DIPLOCATION("DSWB:2")
23182314   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
23192315   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2320   PORT_DIPNAME( 0x04, 0x04, "Character Display Test" )
2316   PORT_DIPNAME( 0x04, 0x04, "Character Display Test" )      PORT_DIPLOCATION("DSWB:3")
23212317   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
23222318   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2323   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
2319   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:4")
23242320   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
23252321   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2326   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2322   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:5")
23272323   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
23282324   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2329   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2325   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:6")
23302326   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
23312327   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2332   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2328   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:7")
23332329   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
23342330   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2335   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2331   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:8")
23362332   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
23372333   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
23382334
23392335   PORT_START("SYSTEM")
23402336   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2341   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2342   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2343   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2344   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2345   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
2337   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2338   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2339   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2340   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2341   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
23462342   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2347   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2343   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
23482344
23492345   PORT_INCLUDE( nbmjcontrols )
23502346INPUT_PORTS_END
r255099r255100
24042400
24052401   PORT_START("SYSTEM")
24062402   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2407   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2408   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2409   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2410   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2411   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
2403   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2404   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2405   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2406   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2407   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
24122408   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2413   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2409   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
24142410
24152411   PORT_INCLUDE( nbmjcontrols )
24162412INPUT_PORTS_END
24172413
24182414static INPUT_PORTS_START( korinaim )
24192415   PORT_START("DSWA")
2420   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2421   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2422   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2423   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2424   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2425   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2426   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
2427   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2428   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2429   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
2430   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2431   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2432   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2433   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2434   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2435   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2436   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2437   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2438   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2439   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2440   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2441   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2416   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )               PORT_DIPLOCATION("DSWA:1,2,3")
2417   PORT_DIPSETTING(    0x07, "60%" )
2418   PORT_DIPSETTING(    0x06, "63%" )
2419   PORT_DIPSETTING(    0x05, "66%" )
2420   PORT_DIPSETTING(    0x04, "70%" )
2421   PORT_DIPSETTING(    0x03, "75%" )
2422   PORT_DIPSETTING(    0x02, "80%" )
2423   PORT_DIPSETTING(    0x01, "85%" )
2424   PORT_DIPSETTING(    0x00, "90%" )
2425   PORT_DIPNAME( 0x18, 0x18, "Rate Min" )                    PORT_DIPLOCATION("DSWA:4,5")
2426   PORT_DIPSETTING(    0x18, "1" )
2427   PORT_DIPSETTING(    0x10, "2" )
2428   PORT_DIPSETTING(    0x08, "3" )
2429   PORT_DIPSETTING(    0x00, "5" )
2430   PORT_DIPNAME( 0x60, 0x60, "Rate Max" )                    PORT_DIPLOCATION("DSWA:6,7")
2431   PORT_DIPSETTING(    0x60, "8" )
2432   PORT_DIPSETTING(    0x40, "10" )
2433   PORT_DIPSETTING(    0x20, "12" )
2434   PORT_DIPSETTING(    0x00, "20" )
2435   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWA:8")
24422436   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
24432437   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
24442438
24452439   PORT_START("DSWB")
2446   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
2440   PORT_DIPNAME( 0x01, 0x00, "Double Bet" )                  PORT_DIPLOCATION("DSWB:1")
24472441   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
24482442   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2449   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
2443   PORT_DIPNAME( 0x02, 0x00, "Last Chance" )                 PORT_DIPLOCATION("DSWB:2")
24502444   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
24512445   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2452   PORT_DIPNAME( 0x04, 0x04, "Character Display Test" )
2446   PORT_DIPNAME( 0x04, 0x04, "Character Display Test" )      PORT_DIPLOCATION("DSWB:3")
24532447   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
24542448   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2455   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
2449   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:4")
24562450   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
24572451   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2458   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
2452   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:5")
24592453   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
24602454   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2461   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
2455   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:6")
24622456   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
24632457   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2464   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
2458   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:7")
24652459   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
24662460   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2467   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
2468   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
2469   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2461   PORT_DIPNAME( 0x80, 0x80, "Score Pool" )                  PORT_DIPLOCATION("DSWB:8")
2462   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
2463   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
24702464
24712465   PORT_START("SYSTEM")
24722466   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2473   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2474   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2475   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2476   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2477   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
2467   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2468   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2469   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2470   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2471   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
24782472   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2479   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2473   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
24802474
24812475   PORT_INCLUDE( nbmjcontrols )
24822476INPUT_PORTS_END
24832477
24842478static INPUT_PORTS_START( crystalg )
24852479   PORT_START("DSWA")
2486   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
2487   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2488   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2489   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
2490   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2491   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2492   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
2493   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2494   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2495   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
2496   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2497   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2498   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
2480   PORT_DIPNAME( 0x0f, 0x0d, DEF_STR( Difficulty ) )
2481   PORT_DIPSETTING(    0x0d, "1 (Easy)" )
2482   PORT_DIPSETTING(    0x0a, "2" )
2483   PORT_DIPSETTING(    0x09, "3" )
2484   PORT_DIPSETTING(    0x08, "4" )
2485   PORT_DIPSETTING(    0x07, "5" )
2486   PORT_DIPSETTING(    0x06, "6" )
2487   PORT_DIPSETTING(    0x05, "7" )
2488   PORT_DIPSETTING(    0x04, "8" )
2489   PORT_DIPSETTING(    0x00, "9 (Hard)" )
2490   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
24992491   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
25002492   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2501   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
2493   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
25022494   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
25032495   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2504   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
2496   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
25052497   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
25062498   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2507   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
2499   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
25082500   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
25092501   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
25102502
r255099r255100
25362528
25372529   PORT_START("SYSTEM")
25382530   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2539   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2540   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2541   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2542   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2543   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2531   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2532   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2533   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2534   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2535   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
25442536   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2545   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )         // OPTION (?)
2537   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
25462538
25472539   PORT_INCLUDE( nbmjcontrols )
25482540INPUT_PORTS_END
r255099r255100
26112603
26122604static INPUT_PORTS_START( apparel )
26132605   PORT_START("DSWA")
2614   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
2615   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2616   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2617   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
2618   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2619   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2620   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
2621   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2622   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2623   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
2624   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2625   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2626   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
2627   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2628   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2629   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
2630   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2631   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2632   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
2633   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2634   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2635   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
2606   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )               PORT_DIPLOCATION("DSWA:1,2,3")
2607   PORT_DIPSETTING(    0x07, "60%" )
2608   PORT_DIPSETTING(    0x06, "65%" )
2609   PORT_DIPSETTING(    0x05, "70%" )
2610   PORT_DIPSETTING(    0x04, "75%" )
2611   PORT_DIPSETTING(    0x03, "80%" )
2612   PORT_DIPSETTING(    0x02, "85%" )
2613   PORT_DIPSETTING(    0x01, "90%" )
2614   PORT_DIPSETTING(    0x00, "95%" )
2615   PORT_DIPNAME( 0x18, 0x10, "Rate Max" )                    PORT_DIPLOCATION("DSWA:4,5")
2616   PORT_DIPSETTING(    0x18, "1" )
2617   PORT_DIPSETTING(    0x10, "5" )
2618   PORT_DIPSETTING(    0x08, "10" )
2619   PORT_DIPSETTING(    0x00, "20" )
2620   PORT_DIPNAME( 0x60, 0x60, "Odds Number" )                 PORT_DIPLOCATION("DSWA:6,7")
2621   PORT_DIPSETTING(    0x60, "A" )
2622   PORT_DIPSETTING(    0x40, "B" )
2623   PORT_DIPSETTING(    0x20, "C" )
2624   PORT_DIPSETTING(    0x00, "D" )
2625   PORT_DIPNAME( 0x80, 0x00, "Rate Up" )                     PORT_DIPLOCATION("DSWA:8")
26362626   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
26372627   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
26382628
26392629   PORT_START("DSWB")
2640   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
2641   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2642   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2643   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
2644   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2645   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2646   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
2647   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2648   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2649   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
2650   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2651   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2652   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
2630   PORT_DIPNAME( 0x03, 0x02, "Number of last chance" )       PORT_DIPLOCATION("DSWB:1,2")
2631   PORT_DIPSETTING(    0x03, "0" )
2632   PORT_DIPSETTING(    0x02, "3" )
2633   PORT_DIPSETTING(    0x01, "5" )
2634   PORT_DIPSETTING(    0x00, "10" )
2635   PORT_DIPNAME( 0x0c, 0x04, "Cancel Type" )                 PORT_DIPLOCATION("DSWB:3,4")
2636   PORT_DIPSETTING(    0x0c, DEF_STR( Off ) )
2637   PORT_DIPSETTING(    0x08, "Tsumo 3" )
2638   PORT_DIPSETTING(    0x04, "Tsumo 7" )
2639   PORT_DIPSETTING(    0x00, "Haipai" )
2640   PORT_DIPNAME( 0x10, 0x10, "Ryuukoku Renchan" )            PORT_DIPLOCATION("DSWB:5")
26532641   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
26542642   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2655   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
2643   PORT_DIPNAME( 0x20, 0x20, "Cancel Charge" )               PORT_DIPLOCATION("DSWB:6")
26562644   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
26572645   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2658   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
2646   PORT_DIPNAME( 0x40, 0x40, "Last Chance Charge" )          PORT_DIPLOCATION("DSWB:7")
26592647   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
26602648   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2661   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
2649   PORT_DIPNAME( 0x80, 0x80, "See CPU's hand" )              PORT_DIPLOCATION("DSWB:8")
26622650   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
26632651   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
26642652
26652653   PORT_START("SYSTEM")
26662654   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2667   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2668   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2669   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2670   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2671   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2655   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2656   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2657   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2658   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2659   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
26722660   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2673   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )       // SERVICE
2661   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
26742662
26752663   PORT_INCLUDE( nbmjcontrols )
26762664INPUT_PORTS_END
26772665
26782666static INPUT_PORTS_START( nightlov )
26792667   PORT_START("DSWA")
2680   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
2681   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2682   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2683   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
2684   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2685   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2686   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
2687   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2688   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2689   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
2690   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2691   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2692   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
2693   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
2694   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2695   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
2696   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2697   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2698   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
2668   PORT_DIPNAME( 0x0f, 0x0f, "Game Out Rate" )         PORT_DIPLOCATION("DSWA:1,2,3,4")
2669   PORT_DIPSETTING(    0x00, "50%" )
2670   PORT_DIPSETTING(    0x01, "53%" )
2671   PORT_DIPSETTING(    0x02, "56%" )
2672   PORT_DIPSETTING(    0x03, "59%" )
2673   PORT_DIPSETTING(    0x04, "62%" )
2674   PORT_DIPSETTING(    0x05, "65%" )
2675   PORT_DIPSETTING(    0x06, "68%" )
2676   PORT_DIPSETTING(    0x07, "71%" )
2677   PORT_DIPSETTING(    0x08, "75%" )
2678   PORT_DIPSETTING(    0x09, "78%" )
2679   PORT_DIPSETTING(    0x0a, "81%" )
2680   PORT_DIPSETTING(    0x0b, "84%" )
2681   PORT_DIPSETTING(    0x0c, "87%" )
2682   PORT_DIPSETTING(    0x0d, "90%" )
2683   PORT_DIPSETTING(    0x0e, "93%" )
2684   PORT_DIPSETTING(    0x0f, "96%" )
2685   PORT_DIPNAME( 0x30, 0x10, "Rate Max" )              PORT_DIPLOCATION("DSWA:5,6")
2686   PORT_DIPSETTING(    0x00, "1" )
2687   PORT_DIPSETTING(    0x10, "5" )
2688   PORT_DIPSETTING(    0x20, "10" )
2689   PORT_DIPSETTING(    0x30, "20" )
2690   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSWA:7")
26992691   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
27002692   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2701   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
2693   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSWA:8")
27022694   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
27032695   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
27042696
r255099r255100
27302722
27312723   PORT_START("SYSTEM")
27322724   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2733   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2734   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2735   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2736   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2737   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2725   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2726   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2727   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2728   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2729   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
27382730   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2739   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )       // SERVICE
2731   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )               // SERVICE
27402732
27412733   PORT_INCLUDE( nbmjcontrols )
27422734INPUT_PORTS_END


Previous 199869 Revisions Next


© 1997-2024 The MAME Team