trunk/src/mame/drivers/nbmj8688.cpp
r255097 | r255098 | |
1690 | 1690 | |
1691 | 1691 | static INPUT_PORTS_START( bijokkoy ) |
1692 | 1692 | 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") |
1694 | 1694 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
1695 | 1695 | PORT_DIPSETTING( 0x06, "2" ) |
1696 | 1696 | PORT_DIPSETTING( 0x05, "3" ) |
r255097 | r255098 | |
1699 | 1699 | PORT_DIPSETTING( 0x02, "6" ) |
1700 | 1700 | PORT_DIPSETTING( 0x01, "7" ) |
1701 | 1701 | 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") |
1703 | 1703 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1704 | 1704 | 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") |
1706 | 1706 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1707 | 1707 | 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") |
1709 | 1709 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
1710 | 1710 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1711 | | PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" ) |
| 1711 | PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" ) PORT_DIPLOCATION("DSWA:7") |
1712 | 1712 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1713 | 1713 | 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") |
1715 | 1715 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1716 | 1716 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1717 | 1717 | |
1718 | 1718 | 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") |
1720 | 1720 | PORT_DIPSETTING( 0x03, "0" ) |
1721 | 1721 | PORT_DIPSETTING( 0x02, "2" ) |
1722 | 1722 | PORT_DIPSETTING( 0x01, "4" ) |
1723 | 1723 | PORT_DIPSETTING( 0x00, "6" ) |
1724 | | PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" ) |
| 1724 | PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" ) PORT_DIPLOCATION("DSWB:3") |
1725 | 1725 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
1726 | 1726 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1727 | | PORT_DIPNAME( 0x08, 0x08, "Chonbo" ) |
| 1727 | PORT_DIPNAME( 0x08, 0x08, "Chonbo" ) PORT_DIPLOCATION("DSWB:4") |
1728 | 1728 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1729 | 1729 | 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") |
1731 | 1731 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1732 | 1732 | 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") |
1734 | 1734 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
1735 | 1735 | 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") |
1737 | 1737 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1738 | 1738 | 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") |
1740 | 1740 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1741 | 1741 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1742 | 1742 | |
1743 | 1743 | PORT_START("SYSTEM") |
1744 | 1744 | 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 |
1750 | 1750 | 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 |
1752 | 1752 | |
1753 | 1753 | PORT_INCLUDE( nbmjcontrols ) |
1754 | 1754 | INPUT_PORTS_END |
1755 | 1755 | |
1756 | 1756 | static INPUT_PORTS_START( bijokkog ) |
1757 | 1757 | 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") |
1759 | 1759 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
1760 | 1760 | PORT_DIPSETTING( 0x06, "2" ) |
1761 | 1761 | PORT_DIPSETTING( 0x05, "3" ) |
r255097 | r255098 | |
1764 | 1764 | PORT_DIPSETTING( 0x02, "6" ) |
1765 | 1765 | PORT_DIPSETTING( 0x01, "7" ) |
1766 | 1766 | 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") |
1768 | 1768 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1769 | 1769 | 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") |
1771 | 1771 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1772 | 1772 | 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") |
1774 | 1774 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
1775 | 1775 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1776 | | PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" ) |
| 1776 | PORT_DIPNAME( 0x40, 0x00, "Kan-Ura" ) PORT_DIPLOCATION("DSWA:7") |
1777 | 1777 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1778 | 1778 | 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") |
1780 | 1780 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1781 | 1781 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1782 | 1782 | |
1783 | 1783 | 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") |
1785 | 1785 | PORT_DIPSETTING( 0x03, "0" ) |
1786 | 1786 | PORT_DIPSETTING( 0x02, "2" ) |
1787 | 1787 | PORT_DIPSETTING( 0x01, "4" ) |
1788 | 1788 | PORT_DIPSETTING( 0x00, "6" ) |
1789 | | PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" ) |
| 1789 | PORT_DIPNAME( 0x04, 0x00, "Double Tsumo" ) PORT_DIPLOCATION("DSWB:3") |
1790 | 1790 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
1791 | 1791 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1792 | | PORT_DIPNAME( 0x08, 0x08, "Chonbo" ) |
| 1792 | PORT_DIPNAME( 0x08, 0x08, "Chonbo" ) PORT_DIPLOCATION("DSWB:4") |
1793 | 1793 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1794 | 1794 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1795 | | PORT_DIPNAME( 0x10, 0x00, "Cancel Hand" ) |
| 1795 | PORT_DIPNAME( 0x10, 0x00, "Cancel Hand" ) PORT_DIPLOCATION("DSWB:5") |
1796 | 1796 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1797 | 1797 | 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") |
1799 | 1799 | PORT_DIPSETTING( 0x00, DEF_STR( 2C_1C ) ) |
1800 | 1800 | PORT_DIPSETTING( 0x60, DEF_STR( 1C_1C ) ) |
1801 | 1801 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_2C ) ) |
1802 | 1802 | 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") |
1804 | 1804 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1805 | 1805 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1806 | 1806 | |
1807 | 1807 | PORT_START("SYSTEM") |
1808 | 1808 | 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 |
1814 | 1814 | 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 |
1816 | 1816 | |
1817 | 1817 | PORT_INCLUDE( nbmjcontrols ) |
1818 | 1818 | INPUT_PORTS_END |
1819 | 1819 | |
1820 | 1820 | static INPUT_PORTS_START( housemnq ) |
1821 | 1821 | 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") |
1823 | 1823 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
1824 | 1824 | PORT_DIPSETTING( 0x06, "2" ) |
1825 | 1825 | PORT_DIPSETTING( 0x05, "3" ) |
r255097 | r255098 | |
1828 | 1828 | PORT_DIPSETTING( 0x02, "6" ) |
1829 | 1829 | PORT_DIPSETTING( 0x01, "7" ) |
1830 | 1830 | PORT_DIPSETTING( 0x00, "8 (Hard)" ) |
1831 | | PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" ) |
| 1831 | PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" ) PORT_DIPLOCATION("DSWA:4") |
1832 | 1832 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1833 | 1833 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1834 | | PORT_DIPNAME( 0x10, 0x10, "Chonbo" ) |
| 1834 | PORT_DIPNAME( 0x10, 0x10, "Chonbo" ) PORT_DIPLOCATION("DSWA:5") |
1835 | 1835 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1836 | 1836 | 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") |
1838 | 1838 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
1839 | 1839 | 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") |
1841 | 1841 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1842 | 1842 | 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") |
1844 | 1844 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1845 | 1845 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1846 | 1846 | |
1847 | 1847 | PORT_START("DSWB") |
1848 | | PORT_DIPNAME( 0x03, 0x03, "Time" ) |
| 1848 | PORT_DIPNAME( 0x03, 0x03, "Time" ) PORT_DIPLOCATION("DSWB:1,2") |
1849 | 1849 | PORT_DIPSETTING( 0x03, "120" ) |
1850 | 1850 | PORT_DIPSETTING( 0x02, "100" ) |
1851 | 1851 | PORT_DIPSETTING( 0x01, "80" ) |
1852 | 1852 | PORT_DIPSETTING( 0x00, "60" ) |
1853 | | PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" ) |
| 1853 | PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" ) PORT_DIPLOCATION("DSWB:3,4") |
1854 | 1854 | PORT_DIPSETTING( 0x0c, "1" ) |
1855 | 1855 | PORT_DIPSETTING( 0x08, "2" ) |
1856 | 1856 | PORT_DIPSETTING( 0x04, "3" ) |
1857 | 1857 | 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") |
1859 | 1859 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1860 | 1860 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1861 | | PORT_DIPNAME( 0x20, 0x20, "Coin Selector" ) |
| 1861 | PORT_DIPNAME( 0x20, 0x20, "Coin Selector" ) PORT_DIPLOCATION("DSWB:6") |
1862 | 1862 | PORT_DIPSETTING( 0x20, "common" ) |
1863 | 1863 | PORT_DIPSETTING( 0x00, "separate" ) |
1864 | | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) |
| 1864 | PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSWB:7") |
1865 | 1865 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1866 | 1866 | 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") |
1868 | 1868 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1869 | 1869 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1870 | 1870 | |
1871 | 1871 | PORT_START("SYSTEM") |
1872 | 1872 | 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 |
1878 | 1878 | 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 |
1880 | 1880 | |
1881 | 1881 | PORT_INCLUDE( nbmjcontrols ) |
1882 | 1882 | INPUT_PORTS_END |
1883 | 1883 | |
1884 | 1884 | static INPUT_PORTS_START( housemn2 ) |
1885 | 1885 | 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") |
1887 | 1887 | PORT_DIPSETTING( 0x07, "1 (Easy)" ) |
1888 | 1888 | PORT_DIPSETTING( 0x06, "2" ) |
1889 | 1889 | PORT_DIPSETTING( 0x05, "3" ) |
r255097 | r255098 | |
1892 | 1892 | PORT_DIPSETTING( 0x02, "6" ) |
1893 | 1893 | PORT_DIPSETTING( 0x01, "7" ) |
1894 | 1894 | PORT_DIPSETTING( 0x00, "8 (Hard)" ) |
1895 | | PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" ) |
| 1895 | PORT_DIPNAME( 0x08, 0x00, "Kan-Ura" ) PORT_DIPLOCATION("DSWA:4") |
1896 | 1896 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
1897 | 1897 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1898 | | PORT_DIPNAME( 0x10, 0x10, "Chonbo" ) |
| 1898 | PORT_DIPNAME( 0x10, 0x10, "Chonbo" ) PORT_DIPLOCATION("DSWA:5") |
1899 | 1899 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1900 | 1900 | 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") |
1902 | 1902 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
1903 | 1903 | 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") |
1905 | 1905 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
1906 | 1906 | 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") |
1908 | 1908 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1909 | 1909 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1910 | 1910 | |
1911 | 1911 | PORT_START("DSWB") |
1912 | | PORT_DIPNAME( 0x03, 0x03, "Time" ) |
| 1912 | PORT_DIPNAME( 0x03, 0x03, "Time" ) PORT_DIPLOCATION("DSWB:1,2") |
1913 | 1913 | PORT_DIPSETTING( 0x03, "120" ) |
1914 | 1914 | PORT_DIPSETTING( 0x02, "100" ) |
1915 | 1915 | PORT_DIPSETTING( 0x01, "80" ) |
1916 | 1916 | PORT_DIPSETTING( 0x00, "60" ) |
1917 | | PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" ) |
| 1917 | PORT_DIPNAME( 0x0c, 0x0c, "Timer Speed" ) PORT_DIPLOCATION("DSWB:3,4") |
1918 | 1918 | PORT_DIPSETTING( 0x0c, "1" ) |
1919 | 1919 | PORT_DIPSETTING( 0x08, "2" ) |
1920 | 1920 | PORT_DIPSETTING( 0x04, "3" ) |
1921 | 1921 | 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") |
1923 | 1923 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
1924 | 1924 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
1925 | | PORT_DIPNAME( 0x20, 0x20, "Coin Selector" ) |
| 1925 | PORT_DIPNAME( 0x20, 0x20, "Coin Selector" ) PORT_DIPLOCATION("DSWB:6") |
1926 | 1926 | PORT_DIPSETTING( 0x20, "common" ) |
1927 | 1927 | 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") |
1929 | 1929 | PORT_DIPSETTING( 0xc0, DEF_STR( Off ) ) |
1930 | 1930 | // PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
1931 | 1931 | // PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
r255097 | r255098 | |
1933 | 1933 | |
1934 | 1934 | PORT_START("SYSTEM") |
1935 | 1935 | 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 |
1941 | 1941 | 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 |
1943 | 1943 | |
1944 | 1944 | PORT_INCLUDE( nbmjcontrols ) |
1945 | 1945 | INPUT_PORTS_END |
r255097 | r255098 | |
2144 | 2144 | |
2145 | 2145 | static INPUT_PORTS_START( livegal ) |
2146 | 2146 | 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") |
2160 | 2160 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
2161 | 2161 | 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") |
2169 | 2168 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
2170 | 2169 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
2171 | 2170 | |
2172 | 2171 | PORT_START("DSWB") |
2173 | | PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" ) |
| 2172 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSWB:1") |
2174 | 2173 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
2175 | 2174 | 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") |
2177 | 2176 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
2178 | 2177 | 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") |
2186 | 2184 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
2187 | 2185 | 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") |
2195 | 2192 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
2196 | 2193 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
2197 | 2194 | |
2198 | 2195 | PORT_START("SYSTEM") |
2199 | 2196 | 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 |
2205 | 2202 | 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 |
2207 | 2204 | |
2208 | 2205 | PORT_INCLUDE( nbmjcontrols ) |
2209 | 2206 | |