Previous 199869 Revisions Next

r46586 Tuesday 22nd March, 2016 at 06:31:32 UTC by Vasantha Crabb
nbmj8688 two-player game improvements: [Vas Crabb]
* Flip Player 2 view to better represent what they see from their side of cocktail cabinet
* Add DIP locations for bijokkoy, bijokkog, housemnq, housemn2 and livegal
* Document DIP switches for livegal
* Make analyser switch for bijokkoy, bijokkog, housemnq, housemn2 and livegal a toggle
[src/mame/drivers]nbmj8688.cpp

trunk/src/mame/drivers/nbmj8688.cpp
r255097r255098
16901690
16911691static INPUT_PORTS_START( bijokkoy )
16921692   PORT_START("DSWA")
1693   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
1693   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )               PORT_DIPLOCATION("DSWA:1,2,3")
16941694   PORT_DIPSETTING(    0x07, "1 (Easy)" )
16951695   PORT_DIPSETTING(    0x06, "2" )
16961696   PORT_DIPSETTING(    0x05, "3" )
r255097r255098
16991699   PORT_DIPSETTING(    0x02, "6" )
17001700   PORT_DIPSETTING(    0x01, "7" )
17011701   PORT_DIPSETTING(    0x00, "8 (Hard)" )
1702   PORT_DIPNAME( 0x08, 0x08, "2P Simultaneous Play (LCD req'd)" )
1702   PORT_DIPNAME( 0x08, 0x08, "2P Simultaneous Play (LCD req'd)" )  PORT_DIPLOCATION("DSWA:4")
17031703   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
17041704   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1705   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1705   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )              PORT_DIPLOCATION("DSWA:5")
17061706   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
17071707   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1708   PORT_DIPNAME( 0x20, 0x20, "See non-Reacher's hand" )
1708   PORT_DIPNAME( 0x20, 0x20, "See non-Reacher's hand" )            PORT_DIPLOCATION("DSWA:6")
17091709   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
17101710   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1711   PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" )
1711   PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" )                           PORT_DIPLOCATION("DSWA:7")
17121712   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
17131713   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1714   PORT_DIPNAME( 0x80, 0x80, "Character Display Test" )
1714   PORT_DIPNAME( 0x80, 0x80, "Character Display Test" )            PORT_DIPLOCATION("DSWA:8")
17151715   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
17161716   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
17171717
17181718   PORT_START("DSWB")
1719   PORT_DIPNAME( 0x03, 0x00, "Number of last chance" )
1719   PORT_DIPNAME( 0x03, 0x00, "Number of last chance" )             PORT_DIPLOCATION("DSWB:1,2")
17201720   PORT_DIPSETTING(    0x03, "0" )
17211721   PORT_DIPSETTING(    0x02, "2" )
17221722   PORT_DIPSETTING(    0x01, "4" )
17231723   PORT_DIPSETTING(    0x00, "6" )
1724   PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" )
1724   PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" )                      PORT_DIPLOCATION("DSWB:3")
17251725   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
17261726   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1727   PORT_DIPNAME( 0x08, 0x08, "Chonbo" )
1727   PORT_DIPNAME( 0x08, 0x08, "Chonbo" )                            PORT_DIPLOCATION("DSWB:4")
17281728   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
17291729   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1730   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
1730   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:5")
17311731   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
17321732   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1733   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
1733   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:6")
17341734   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
17351735   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1736   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1736   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:7")
17371737   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
17381738   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1739   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1739   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:8")
17401740   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
17411741   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
17421742
17431743   PORT_START("SYSTEM")
17441744   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
1745   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
1746   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
1747   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
1748   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
1749   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
1745   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1746   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
1747   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
1748   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
1749   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
17501750   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1751   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
1751   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
17521752
17531753   PORT_INCLUDE( nbmjcontrols )
17541754INPUT_PORTS_END
17551755
17561756static INPUT_PORTS_START( bijokkog )
17571757   PORT_START("DSWA")
1758   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
1758   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )               PORT_DIPLOCATION("DSWA:1,2,3")
17591759   PORT_DIPSETTING(    0x07, "1 (Easy)" )
17601760   PORT_DIPSETTING(    0x06, "2" )
17611761   PORT_DIPSETTING(    0x05, "3" )
r255097r255098
17641764   PORT_DIPSETTING(    0x02, "6" )
17651765   PORT_DIPSETTING(    0x01, "7" )
17661766   PORT_DIPSETTING(    0x00, "8 (Hard)" )
1767   PORT_DIPNAME( 0x08, 0x08, "2P Simultaneous Play (LCD req'd)" )
1767   PORT_DIPNAME( 0x08, 0x08, "2P Simultaneous Play (LCD req'd)" )  PORT_DIPLOCATION("DSWA:4")
17681768   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
17691769   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1770   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1770   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )              PORT_DIPLOCATION("DSWA:5")
17711771   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
17721772   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1773   PORT_DIPNAME( 0x20, 0x20, "See non-Reacher's hand" )
1773   PORT_DIPNAME( 0x20, 0x20, "See non-Reacher's hand" )            PORT_DIPLOCATION("DSWA:6")
17741774   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
17751775   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1776   PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" )
1776   PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" )                           PORT_DIPLOCATION("DSWA:7")
17771777   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
17781778   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1779   PORT_DIPNAME( 0x80, 0x80, "Bonus Score for Extra Credit" )
1779   PORT_DIPNAME( 0x80, 0x80, "Bonus Score for Extra Credit" )      PORT_DIPLOCATION("DSWA:8")
17801780   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
17811781   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
17821782
17831783   PORT_START("DSWB")
1784   PORT_DIPNAME( 0x03, 0x00, "Number of last chance" )
1784   PORT_DIPNAME( 0x03, 0x00, "Number of last chance" )             PORT_DIPLOCATION("DSWB:1,2")
17851785   PORT_DIPSETTING(    0x03, "0" )
17861786   PORT_DIPSETTING(    0x02, "2" )
17871787   PORT_DIPSETTING(    0x01, "4" )
17881788   PORT_DIPSETTING(    0x00, "6" )
1789   PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" )
1789   PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" )                      PORT_DIPLOCATION("DSWB:3")
17901790   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
17911791   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1792   PORT_DIPNAME( 0x08, 0x08, "Chonbo" )
1792   PORT_DIPNAME( 0x08, 0x08, "Chonbo" )                            PORT_DIPLOCATION("DSWB:4")
17931793   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
17941794   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1795   PORT_DIPNAME( 0x10, 0x00, "Cancel Hand" )
1795   PORT_DIPNAME( 0x10, 0x00, "Cancel Hand" )                       PORT_DIPLOCATION("DSWB:5")
17961796   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
17971797   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1798   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )
1798   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )                  PORT_DIPLOCATION("DSWB:6,7")
17991799   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
18001800   PORT_DIPSETTING(    0x60, DEF_STR( 1C_1C ) )
18011801   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
18021802   PORT_DIPSETTING(    0x20, DEF_STR( 1C_3C ) )
1803   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
1803   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )              PORT_DIPLOCATION("DSWB:8")
18041804   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
18051805   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
18061806
18071807   PORT_START("SYSTEM")
18081808   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
1809   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
1810   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
1811   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
1812   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
1813   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
1809   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1810   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
1811   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
1812   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
1813   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
18141814   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1815   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
1815   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
18161816
18171817   PORT_INCLUDE( nbmjcontrols )
18181818INPUT_PORTS_END
18191819
18201820static INPUT_PORTS_START( housemnq )
18211821   PORT_START("DSWA")
1822   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
1822   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )               PORT_DIPLOCATION("DSWA:1,2,3")
18231823   PORT_DIPSETTING(    0x07, "1 (Easy)" )
18241824   PORT_DIPSETTING(    0x06, "2" )
18251825   PORT_DIPSETTING(    0x05, "3" )
r255097r255098
18281828   PORT_DIPSETTING(    0x02, "6" )
18291829   PORT_DIPSETTING(    0x01, "7" )
18301830   PORT_DIPSETTING(    0x00, "8 (Hard)" )
1831   PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" )
1831   PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" )                           PORT_DIPLOCATION("DSWA:4")
18321832   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
18331833   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1834   PORT_DIPNAME( 0x10, 0x10, "Chonbo" )
1834   PORT_DIPNAME( 0x10, 0x10, "Chonbo" )                            PORT_DIPLOCATION("DSWA:5")
18351835   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
18361836   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1837   PORT_DIPNAME( 0x20, 0x20, "Character Display Test" )
1837   PORT_DIPNAME( 0x20, 0x20, "Character Display Test" )            PORT_DIPLOCATION("DSWA:6")
18381838   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
18391839   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1840   PORT_DIPNAME( 0x40, 0x00, "RENCHAN after TENPAIed RYUKYOKU" )
1840   PORT_DIPNAME( 0x40, 0x00, "RENCHAN after TENPAIed RYUKYOKU" )   PORT_DIPLOCATION("DSWA:7")
18411841   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
18421842   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1843   PORT_DIPNAME( 0x80, 0x00, "See CPU's hand" )
1843   PORT_DIPNAME( 0x80, 0x00, "See CPU's hand" )                    PORT_DIPLOCATION("DSWA:8")
18441844   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
18451845   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
18461846
18471847   PORT_START("DSWB")
1848   PORT_DIPNAME( 0x03, 0x03, "Time" )
1848   PORT_DIPNAME( 0x03, 0x03, "Time" )                              PORT_DIPLOCATION("DSWB:1,2")
18491849   PORT_DIPSETTING(    0x03, "120" )
18501850   PORT_DIPSETTING(    0x02, "100" )
18511851   PORT_DIPSETTING(    0x01, "80" )
18521852   PORT_DIPSETTING(    0x00, "60" )
1853   PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" )
1853   PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" )                       PORT_DIPLOCATION("DSWB:3,4")
18541854   PORT_DIPSETTING(    0x0c, "1" )
18551855   PORT_DIPSETTING(    0x08, "2" )
18561856   PORT_DIPSETTING(    0x04, "3" )
18571857   PORT_DIPSETTING(    0x00, "4" )
1858   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1858   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )              PORT_DIPLOCATION("DSWB:5")
18591859   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
18601860   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1861   PORT_DIPNAME( 0x20, 0x20, "Coin Selector" )
1861   PORT_DIPNAME( 0x20, 0x20, "Coin Selector" )                     PORT_DIPLOCATION("DSWB:6")
18621862   PORT_DIPSETTING(    0x20, "common" )
18631863   PORT_DIPSETTING(    0x00, "separate" )
1864   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
1864   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:7")
18651865   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
18661866   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1867   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
1867   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )                  PORT_DIPLOCATION("DSWB:8")
18681868   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
18691869   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
18701870
18711871   PORT_START("SYSTEM")
18721872   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
1873   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
1874   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
1875   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
1876   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
1877   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
1873   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1874   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
1875   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
1876   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
1877   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
18781878   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1879   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
1879   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
18801880
18811881   PORT_INCLUDE( nbmjcontrols )
18821882INPUT_PORTS_END
18831883
18841884static INPUT_PORTS_START( housemn2 )
18851885   PORT_START("DSWA")
1886   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
1886   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )               PORT_DIPLOCATION("DSWA:1,2,3")
18871887   PORT_DIPSETTING(    0x07, "1 (Easy)" )
18881888   PORT_DIPSETTING(    0x06, "2" )
18891889   PORT_DIPSETTING(    0x05, "3" )
r255097r255098
18921892   PORT_DIPSETTING(    0x02, "6" )
18931893   PORT_DIPSETTING(    0x01, "7" )
18941894   PORT_DIPSETTING(    0x00, "8 (Hard)" )
1895   PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" )
1895   PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" )                           PORT_DIPLOCATION("DSWA:4")
18961896   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
18971897   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1898   PORT_DIPNAME( 0x10, 0x10, "Chonbo" )
1898   PORT_DIPNAME( 0x10, 0x10, "Chonbo" )                            PORT_DIPLOCATION("DSWA:5")
18991899   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
19001900   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1901   PORT_DIPNAME( 0x20, 0x20, "Character Display Test" )
1901   PORT_DIPNAME( 0x20, 0x20, "Character Display Test" )            PORT_DIPLOCATION("DSWA:6")
19021902   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
19031903   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1904   PORT_DIPNAME( 0x40, 0x00, "RENCHAN after TENPAIed RYUKYOKU" )
1904   PORT_DIPNAME( 0x40, 0x00, "RENCHAN after TENPAIed RYUKYOKU" )   PORT_DIPLOCATION("DSWA:7")
19051905   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
19061906   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1907   PORT_DIPNAME( 0x80, 0x00, "See CPU's hand" )
1907   PORT_DIPNAME( 0x80, 0x00, "See CPU's hand" )                    PORT_DIPLOCATION("DSWA:8")
19081908   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
19091909   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
19101910
19111911   PORT_START("DSWB")
1912   PORT_DIPNAME( 0x03, 0x03, "Time" )
1912   PORT_DIPNAME( 0x03, 0x03, "Time" )                              PORT_DIPLOCATION("DSWB:1,2")
19131913   PORT_DIPSETTING(    0x03, "120" )
19141914   PORT_DIPSETTING(    0x02, "100" )
19151915   PORT_DIPSETTING(    0x01, "80" )
19161916   PORT_DIPSETTING(    0x00, "60" )
1917   PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" )
1917   PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" )                       PORT_DIPLOCATION("DSWB:3,4")
19181918   PORT_DIPSETTING(    0x0c, "1" )
19191919   PORT_DIPSETTING(    0x08, "2" )
19201920   PORT_DIPSETTING(    0x04, "3" )
19211921   PORT_DIPSETTING(    0x00, "4" )
1922   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
1922   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )              PORT_DIPLOCATION("DSWB:5")
19231923   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
19241924   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1925   PORT_DIPNAME( 0x20, 0x20, "Coin Selector" )
1925   PORT_DIPNAME( 0x20, 0x20, "Coin Selector" )                     PORT_DIPLOCATION("DSWB:6")
19261926   PORT_DIPSETTING(    0x20, "common" )
19271927   PORT_DIPSETTING(    0x00, "separate" )
1928   PORT_DIPNAME( 0xc0, 0xc0, "Character Display Test (manual)" )
1928   PORT_DIPNAME( 0xc0, 0xc0, "Character Display Test (manual)" )   PORT_DIPLOCATION("DSWB:7,8")
19291929   PORT_DIPSETTING(    0xc0, DEF_STR( Off ) )
19301930//  PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
19311931//  PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
r255097r255098
19331933
19341934   PORT_START("SYSTEM")
19351935   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
1936   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
1937   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
1938   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
1939   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
1940   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
1936   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
1937   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
1938   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
1939   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
1940   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
19411941   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1942   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
1942   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
19431943
19441944   PORT_INCLUDE( nbmjcontrols )
19451945INPUT_PORTS_END
r255097r255098
21442144
21452145static INPUT_PORTS_START( livegal )
21462146   PORT_START("DSWA")
2147   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
2148   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2149   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2150   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
2151   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2152   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2153   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
2154   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2155   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2156   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
2157   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2158   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2159   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
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")
2157   PORT_DIPSETTING(    0x00, "1" )
2158   PORT_DIPSETTING(    0x08, "9" )
2159   PORT_DIPNAME( 0x10, 0x10, "Rate Up" )                     PORT_DIPLOCATION("DSWA:5")
21602160   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
21612161   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2162   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
2163   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2164   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2165   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
2166   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2167   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2168   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
2162   PORT_DIPNAME( 0x60, 0x60, "Odds Number" )                 PORT_DIPLOCATION("DSWA:6,7")
2163   PORT_DIPSETTING(    0x60, "A" )
2164   PORT_DIPSETTING(    0x40, "B" )
2165   PORT_DIPSETTING(    0x20, "C" )
2166   PORT_DIPSETTING(    0x00, "D" )
2167   PORT_DIPNAME( 0x80, 0x80, "Last Chance Charge" )          PORT_DIPLOCATION("DSWA:8")
21692168   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21702169   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21712170
21722171   PORT_START("DSWB")
2173   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
2172   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown )  )           PORT_DIPLOCATION("DSWB:1")
21742173   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
21752174   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2176   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
2175   PORT_DIPNAME( 0x02, 0x02, "Time Speed" )                  PORT_DIPLOCATION("DSWB:2")
21772176   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
21782177   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2179   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
2180   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
2181   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2182   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
2183   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
2184   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2185   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
2178   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )         PORT_DIPLOCATION("DSWB:3,4")
2179   PORT_DIPSETTING(    0x0c, "1 (Easy)" )
2180   PORT_DIPSETTING(    0x08, "2" )
2181   PORT_DIPSETTING(    0x04, "3" )
2182   PORT_DIPSETTING(    0x00, "4 (Hard)" )
2183   PORT_DIPNAME( 0x10, 0x10, "Character Display Test" )      PORT_DIPLOCATION("DSWB:5")
21862184   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
21872185   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2188   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
2189   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
2190   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2191   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
2192   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2193   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2194   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
2186   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )            PORT_DIPLOCATION("DSWB:6,7")
2187   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
2188   PORT_DIPSETTING(    0x20, DEF_STR( 1C_1C ) )
2189   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
2190   PORT_DIPSETTING(    0x60, DEF_STR( 1C_5C ) )
2191   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )            PORT_DIPLOCATION("DSWB:8")
21952192   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
21962193   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
21972194
21982195   PORT_START("SYSTEM")
21992196   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
2200   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
2201   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
2202   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
2203   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
2204   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
2197   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
2198   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
2199   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
2200   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
2201   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
22052202   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2206   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
2203   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
22072204
22082205   PORT_INCLUDE( nbmjcontrols )
22092206


Previous 199869 Revisions Next


© 1997-2024 The MAME Team