Previous 199869 Revisions Next

r36301 Saturday 7th March, 2015 at 06:07:49 UTC by Vasantha Crabb
More goldstar cleanup and notes/DIP updates from Bad A Billy
[src/mame/drivers]goldstar.c

trunk/src/mame/drivers/goldstar.c
r244812r244813
10691069ADDRESS_MAP_END
10701070
10711071
1072static INPUT_PORTS_START( cmv801 )
1072static INPUT_PORTS_START( cmv4_player )
10731073   PORT_START("IN0")
10741074   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
10751075   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
10791079   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
10801080   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small / Info")
10811081   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
1082INPUT_PORTS_END
10821083
1084static INPUT_PORTS_START( cmv4_coins )
10831085   PORT_START("IN1")
10841086   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
10851087   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1086   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */
1088   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Coin B")
10871089   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1088   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1089   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1090   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2) PORT_NAME("Coin D")
1091   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) PORT_NAME("Coin C")
10901092   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1091   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1093   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) PORT_NAME("Coin A")
1094INPUT_PORTS_END
10921095
1096static INPUT_PORTS_START( cmv4_service )
10931097   PORT_START("IN2")
10941098   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
10951099   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
10991103   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
11001104   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
11011105   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1106INPUT_PORTS_END
11021107
1108static INPUT_PORTS_START( cmv801 )
1109   PORT_INCLUDE( cmv4_player )
1110
1111   PORT_INCLUDE( cmv4_coins )
1112
1113   PORT_INCLUDE( cmv4_service )
1114
11031115   PORT_START("DSW1")
11041116   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
11051117   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
r244812r244813
12321244INPUT_PORTS_END
12331245
12341246static INPUT_PORTS_START( cmv4 )
1235   PORT_START("IN0")
1236   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1237   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1238   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Big")
1239   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
1240   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Take")
1241   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
1242   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Small / Info")
1243   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
1247   PORT_INCLUDE( cmv4_player )
12441248
1245   PORT_START("IN1")
1246   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1247   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1248   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
1249   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1250   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1251   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1252   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1253   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1249   PORT_INCLUDE( cmv4_coins )
12541250
1255   PORT_START("IN2")
1256   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1257   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1258   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1259   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1260   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
1261   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1262   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1263   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1251   PORT_INCLUDE( cmv4_service )
12641252
12651253   PORT_START("DSW1")
12661254   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
r244812r244813
14041392   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SLOT_STOP2 ) PORT_NAME("Stop 2 / Small / Info")
14051393   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
14061394
1407   PORT_START("IN1")
1408   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1409   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1410   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
1411   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1412   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1413   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1414   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1415   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1395   PORT_INCLUDE( cmv4_coins )
14161396
1417   PORT_START("IN2")
1418   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1419   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1420   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1421   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1422   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
1423   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1424   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1425   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1397   PORT_INCLUDE( cmv4_service )
14261398
14271399   PORT_START("DSW1")
14281400   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
r244812r244813
15661538   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
15671539   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
15681540
1569   PORT_START("IN1")
1570   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1571   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1572   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
1573   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1574   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1575   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1576   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1577   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1541   PORT_INCLUDE( cmv4_coins )
15781542
1579   PORT_START("IN2")
1580   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1581   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1582   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1583   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1584   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
1585   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1586   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1587   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1543   PORT_INCLUDE( cmv4_service )
15881544
15891545   PORT_START("DSW1")
15901546   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
r244812r244813
17281684   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info / Stop 3")
17291685   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
17301686
1731   PORT_START("IN1")
1732   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1733   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1734   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
1735   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1736   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1737   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1738   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1739   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1687   PORT_INCLUDE( cmv4_coins )
17401688
1741   PORT_START("IN2")
1742   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1743   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1744   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1745   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1746   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
1747   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1748   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1749   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1689   PORT_INCLUDE( cmv4_service )
17501690
17511691   PORT_START("DSW1")
17521692   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
r244812r244813
18901830   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
18911831   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
18921832
1893   PORT_START("IN1")
1894   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1895   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1896   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
1897   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1898   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
1899   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
1900   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
1901   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
1833   PORT_INCLUDE( cmv4_coins )
19021834
1903   PORT_START("IN2")
1904   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1905   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
1906   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1907   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1908   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
1909   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1910   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
1911   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
1835   PORT_INCLUDE( cmv4_service )
19121836
19131837   PORT_START("DSW1")
19141838   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")  /* OK */
r244812r244813
20441968
20451969static INPUT_PORTS_START( goldstar )
20461970   PORT_START("IN0")
2047   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )    // appear in the input test but seems that lack of functions.
2048   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )    // appear in the input test but seems that lack of functions.
1971   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )    // appear in the input test but seems to lack function
1972   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )    // appear in the input test but seems to lack function
20491973   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("Bet Red / 2")
20501974   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / 1 / Info")
20511975   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("Bet Blue / D-UP / 3")
r244812r244813
20541978   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Stop All / 4")
20551979
20561980   PORT_START("IN1")
2057   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
2058   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
1981   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_NAME("Coin A")
1982   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Coin B")
20591983   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
20601984   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
20611985   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
20661990   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F1) PORT_NAME("Statistics")
20671991
20681992   PORT_START("DSW1")
2069   PORT_DIPNAME( 0x01, 0x00, "Game Style" )
1993   PORT_DIPNAME( 0x01, 0x00, "Game Style" )            PORT_DIPLOCATION("DSW1:1")
20701994   PORT_DIPSETTING(    0x01, "Gettoni" )
20711995   PORT_DIPSETTING(    0x00, "Ticket" )
2072   PORT_DIPNAME( 0x02, 0x02, "Hopper Out" )
1996   PORT_DIPNAME( 0x02, 0x02, "Hopper Out" )            PORT_DIPLOCATION("DSW1:2" )
20731997   PORT_DIPSETTING(    0x02, "Active Low" )
20741998   PORT_DIPSETTING(    0x00, "Active High" )
2075   PORT_DIPNAME( 0x04, 0x04, "Payout Automatic?" )
1999   PORT_DIPNAME( 0x04, 0x04, "Payout Automatic" )      PORT_DIPLOCATION("DSW1:3" )
20762000   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
20772001   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2078   PORT_DIPNAME( 0x08, 0x00, "W-Up '7'" )
2002   PORT_DIPNAME( 0x08, 0x00, "W-Up '7'" )              PORT_DIPLOCATION("DSW1:4" )
20792003   PORT_DIPSETTING(    0x08, "Loss" )
20802004   PORT_DIPSETTING(    0x00, "Even" )
2081   PORT_DIPNAME( 0x10, 0x10, "W-Up Pay Rate" )
2005   PORT_DIPNAME( 0x10, 0x10, "W-Up Pay Rate" )         PORT_DIPLOCATION("DSW1:5" )
20822006   PORT_DIPSETTING(    0x10, "60%" )
20832007   PORT_DIPSETTING(    0x00, "70%" )
2084   PORT_DIPNAME( 0x20, 0x20, "W-Up Game" )
2008   PORT_DIPNAME( 0x20, 0x20, "W-Up Game" )             PORT_DIPLOCATION("DSW1:6" )
20852009   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
20862010   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2087   PORT_DIPNAME( 0xc0, 0x00, "Bet Max" )
2011   PORT_DIPNAME( 0xc0, 0x00, "Bet Max" )               PORT_DIPLOCATION("DSW1:7,8" )
20882012   PORT_DIPSETTING(    0xc0, "8 Bet" )
20892013   PORT_DIPSETTING(    0x80, "16 Bet" )
20902014   PORT_DIPSETTING(    0x40, "32 Bet" )
r244812r244813
20972021   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
20982022
20992023   PORT_START("DSW2")
2100   PORT_DIPNAME( 0x07, 0x00, "Main Game Pay Rate" )
2024   PORT_DIPNAME( 0x07, 0x00, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3" )
21012025   PORT_DIPSETTING(    0x00, "75 %" )
21022026   PORT_DIPSETTING(    0x01, "70 %" )
21032027   PORT_DIPSETTING(    0x02, "65 %" )
r244812r244813
21062030   PORT_DIPSETTING(    0x05, "50 %" )
21072031   PORT_DIPSETTING(    0x06, "45 %" )
21082032   PORT_DIPSETTING(    0x07, "40 %" )
2109   PORT_DIPNAME( 0x18, 0x00, "Hopper Limit" )
2033   PORT_DIPNAME( 0x18, 0x00, "Hopper Limit" )          PORT_DIPLOCATION("DSW2:4,5" )
21102034   PORT_DIPSETTING(    0x18, "300" )
21112035   PORT_DIPSETTING(    0x10, "500" )
21122036   PORT_DIPSETTING(    0x08, "1000" )
21132037   PORT_DIPSETTING(    0x00, "Unlimited" )
2114   PORT_DIPNAME( 0x20, 0x00, "100 Odds Sound" )
2038   PORT_DIPNAME( 0x20, 0x00, "100 Odds Sound" )        PORT_DIPLOCATION("DSW2:6" )
21152039   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
21162040   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
2117   PORT_DIPNAME( 0x40, 0x00, "Key-In Type" )
2041   PORT_DIPNAME( 0x40, 0x00, "Key-In Type" )           PORT_DIPLOCATION("DSW2:7" )
21182042   PORT_DIPSETTING(    0x40, "B-Type" )
21192043   PORT_DIPSETTING(    0x00, "A-Type" )
2120   PORT_DIPNAME( 0x80, 0x00, "Center Super 7 Bet Limit" )
2044   PORT_DIPNAME( 0x80, 0x00, "Center Super 7 Bet Limit" ) PORT_DIPLOCATION("DSW2:8" )
21212045   PORT_DIPSETTING(    0x80, "Unlimited" )
21222046   PORT_DIPSETTING(    0x00, "Limited" )
21232047
21242048   PORT_START("DSW3")
2125   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )
2049   PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coin_A ) )       PORT_DIPLOCATION("DSW3:1,2" )
21262050   PORT_DIPSETTING(    0x00, "1 Coin/10 Credits" )
21272051   PORT_DIPSETTING(    0x04, "1 Coin/20 Credits" )
21282052   PORT_DIPSETTING(    0x08, "1 Coin/50 Credits" )
21292053   PORT_DIPSETTING(    0x0c, "1 Coin/100 Credits" )
2130   PORT_DIPNAME( 0xc0, 0x40, "Coin C" )
2054   PORT_DIPNAME( 0xc0, 0x40, "Coin C" )                PORT_DIPLOCATION("DSW3:3,4" )
21312055   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
21322056   PORT_DIPSETTING(    0x40, DEF_STR( 1C_2C ) )
21332057   PORT_DIPSETTING(    0x80, DEF_STR( 1C_5C ) )
21342058   PORT_DIPSETTING(    0xc0, "1 Coin/10 Credits" )
21352059
21362060   PORT_START("DSW4")
2137   PORT_DIPNAME( 0x07, 0x06, "Credit Limited" )
2061   PORT_DIPNAME( 0x07, 0x06, "Credit Limit" )          PORT_DIPLOCATION("DSW4:1,2,3" )
21382062   PORT_DIPSETTING(    0x07, "5000" )
21392063   PORT_DIPSETTING(    0x06, "10000" )
21402064   PORT_DIPSETTING(    0x05, "20000" )
r244812r244813
21432067   PORT_DIPSETTING(    0x02, "50000" )
21442068   PORT_DIPSETTING(    0x01, "100000" )
21452069   PORT_DIPSETTING(    0x00, "Unlimited" )
2146   PORT_DIPNAME( 0x08, 0x00, "Display Credit Limit" )
2070   PORT_DIPNAME( 0x08, 0x00, "Display Credit Limit" )  PORT_DIPLOCATION("DSW4:4" )
21472071   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
21482072   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2149   PORT_DIPNAME( 0x10, 0x10, "Type of Coin D" )
2073   PORT_DIPNAME( 0x10, 0x10, "Type of Coin D" )        PORT_DIPLOCATION("DSW4:5" )
21502074   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
21512075   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2152   PORT_DIPNAME( 0x20, 0x00, "Bonus Play Min Bet" )
2076   PORT_DIPNAME( 0x20, 0x00, "Bonus Play Min Bet" )    PORT_DIPLOCATION("DSW4:6" )
21532077   PORT_DIPSETTING(    0x20, "16 Bet" )
21542078   PORT_DIPSETTING(    0x00, "8 Bet" )
2155   PORT_DIPNAME( 0x40, 0x00, "Reel Speed" )
2079   PORT_DIPNAME( 0x40, 0x00, "Reel Speed" )            PORT_DIPLOCATION("DSW4:7" )
21562080   PORT_DIPSETTING(    0x40, DEF_STR( Low ) )
21572081   PORT_DIPSETTING(    0x00, DEF_STR( High ) )
2158   PORT_DIPNAME( 0x80, 0x00, "Ticket Payment" )
2082   PORT_DIPNAME( 0x80, 0x00, "Ticket Payment" )        PORT_DIPLOCATION("DSW4:8" )
21592083   PORT_DIPSETTING(    0x80, "1 Ticket/100" )
21602084   PORT_DIPSETTING(    0x00, "Pay All" )
21612085
21622086   PORT_START("DSW6")
21632087   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN )
21642088
2165   PORT_START("DSW7")  /* ??? */
2089   PORT_START("DSW7")  /* ??? Where am I hooked to??? */
21662090   PORT_BIT( 0xdf, IP_ACTIVE_LOW, IPT_UNKNOWN )
2167   PORT_DIPNAME( 0x20, 0x00, "Show Woman" )
2091   PORT_DIPNAME( 0x20, 0x00, "Show Woman" )            PORT_DIPLOCATION("DSW7:1" )
21682092   PORT_DIPSETTING(    0x20, DEF_STR( No ) )
21692093   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
21702094INPUT_PORTS_END
r244812r244813
21802104   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / Info / Card 1")
21812105   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Stop All / Card 4")
21822106
2183   PORT_START("IN1")
2184   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2185   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2186   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
2187   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2188   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
2189   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
2190   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2191   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
2107   PORT_INCLUDE( cmv4_coins )
21922108
2193   PORT_START("IN2")
2194   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2195   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2196   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2197   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2198   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
2199   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2200   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2201   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2109   PORT_INCLUDE( cmv4_service )
22022110
22032111   PORT_START("IN3")
22042112   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
23522260   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Stop 3 / Small / Info / Card 1")
23532261   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Stop All / Card 4")
23542262
2355   PORT_START("IN1")
2356   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2357   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2358   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
2359   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2360   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
2361   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
2362   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2363   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
2263   PORT_INCLUDE( cmv4_coins )
23642264
2365   PORT_START("IN2")
2366   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2367   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2368   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2369   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2370   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
2371   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2372   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2373   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2265   PORT_INCLUDE( cmv4_service )
23742266
23752267   PORT_START("IN3")
23762268   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
25232415   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Stop 3 / Small / Info / Card 1")
25242416   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start / Stop All / Card 4")
25252417
2526   PORT_START("IN1")
2527   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2528   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2529   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
2530   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2531   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
2532   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
2533   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2534   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
2418   PORT_INCLUDE( cmv4_coins )
25352419
2536   PORT_START("IN2")
2537   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2538   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2539   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2540   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2541   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
2542   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2543   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2544   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2420   PORT_INCLUDE( cmv4_service )
25452421
25462422   PORT_START("IN3")
25472423   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
26952571   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Stop 3 / Small / Info / Card 1")
26962572   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Start / Stop All / Card 4")
26972573
2698   PORT_START("IN1")
2699   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2700   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2701   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  /* Coin B */
2702   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2703   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  /* Coin D */
2704   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  /* Coin C */
2705   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
2706   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  /* Coin A */
2574   PORT_INCLUDE( cmv4_coins )
27072575
2708   PORT_START("IN2")
2709   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
2710   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
2711   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
2712   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
2713   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
2714   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
2715   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
2716   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2576   PORT_INCLUDE( cmv4_service )
27172577
27182578   PORT_START("IN3")
27192579   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
29422802   PORT_DIPSETTING(    0x03, "92%" )
29432803   PORT_DIPSETTING(    0x02, "95%" )
29442804   PORT_DIPSETTING(    0x01, "98%" )
2945   PORT_DIPSETTING(    0x00, "101%" )
2805   PORT_DIPSETTING(    0x00, "101%" )  /* ??? */
29462806   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:4")
29472807   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
29482808   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r244812r244813
29552815   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" ) PORT_DIPLOCATION("DSW2:7")
29562816   PORT_DIPSETTING(    0x40, "Low Pay" )
29572817   PORT_DIPSETTING(    0x00, "High Pay" )
2958   PORT_DIPNAME( 0x80, 0x80, "W-UP Type" ) PORT_DIPLOCATION("DSW2:8")
2818   PORT_DIPNAME( 0x80, 0x80, "W-UP Game Type" )    PORT_DIPLOCATION("DSW2:8")
29592819   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
29602820   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
29612821
r244812r244813
29862846   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
29872847
29882848   PORT_START("DSW4")
2989   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )           PORT_DIPLOCATION("DSW4:1,2,3")
2849   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )       PORT_DIPLOCATION("DSW4:1,2,3")
29902850   PORT_DIPSETTING(    0x00, "5" )
29912851   PORT_DIPSETTING(    0x01, "10" )
29922852   PORT_DIPSETTING(    0x02, "20" )
r244812r244813
30132873INPUT_PORTS_END
30142874
30152875static INPUT_PORTS_START( lucky8a )
3016   PORT_START("IN0")   /* d800 */
3017   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3018   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3019   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
3020   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
3021   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
3022   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
3023   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
3024   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
2876   PORT_INCLUDE( lucky8 )
30252877
3026   PORT_START("IN1")   /* d801 */
3027   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3028   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3029   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
3030   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
3031   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
3032   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
3033   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
3034   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
3035
3036   PORT_START("IN2")   /* d802 */
3037   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3038   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3039   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3040   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3041   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
3042   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3043   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
3044   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
3045
3046   PORT_START("IN3")   /* d810 */
3047   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3048   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3049   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  // Coin1?
3050   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3051   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2?
3052   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3?
3053   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3054   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  // Coin4?
3055
3056   PORT_START("IN4")   /* d811 */
3057   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3058   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3059   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3060   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3061   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
3062   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
3063   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3064   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
3065
3066   PORT_START("DSW1")
3067   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")
3068   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3069   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3070   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:2")
3071   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3072   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3073   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:3")
3074   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3075   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3076   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:4")
3077   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3078   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3079   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )     PORT_DIPLOCATION("DSW1:5")
3080   PORT_DIPSETTING(    0x10, "80%" )
3081   PORT_DIPSETTING(    0x00, "90%" )
3082   PORT_DIPNAME( 0x20, 0x20, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")
3083   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3084   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
3085   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:7")
3086   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3087   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3088   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:8")
3089   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3090   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3091
3092   PORT_START("DSW2")
3093   PORT_DIPNAME( 0x07, 0x02, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3")
2878   PORT_MODIFY("DSW2")
2879   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3")
30942880   PORT_DIPSETTING(    0x07, "30%" )
30952881   PORT_DIPSETTING(    0x06, "40%" )
30962882   PORT_DIPSETTING(    0x05, "50%" )
r244812r244813
30992885   PORT_DIPSETTING(    0x02, "80%" )
31002886   PORT_DIPSETTING(    0x01, "90%" )
31012887   PORT_DIPSETTING(    0x00, "100%" )
3102   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:4")
3103   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3104   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3105   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:5")
3106   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3107   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3108   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:6")
3109   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3110   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3111   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" ) PORT_DIPLOCATION("DSW2:7")
3112   PORT_DIPSETTING(    0x40, "Low Pay" )
3113   PORT_DIPSETTING(    0x00, "High Pay" )
3114   PORT_DIPNAME( 0x80, 0x80, "W-UP Type" )         PORT_DIPLOCATION("DSW2:8")
3115   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
3116   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
3117
3118   PORT_START("DSW3")
3119   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:1")
3120   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3121   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3122   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:2")
3123   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3124   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3125   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:3")
3126   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3127   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3128   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:4")
3129   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3130   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3131   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:5")
3132   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3133   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3134   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:6")
3135   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3136   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3137   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:7")
3138   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3139   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3140   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:8")
3141   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3142   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3143
3144   PORT_START("DSW4")
3145   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )           PORT_DIPLOCATION("DSW4:1,2,3")
3146   PORT_DIPSETTING(    0x00, "5" )
3147   PORT_DIPSETTING(    0x01, "10" )
3148   PORT_DIPSETTING(    0x02, "20" )
3149   PORT_DIPSETTING(    0x03, "25" )
3150   PORT_DIPSETTING(    0x04, "40" )
3151   PORT_DIPSETTING(    0x05, "50" )
3152   PORT_DIPSETTING(    0x06, "60" )
3153   PORT_DIPSETTING(    0x07, "100" )
3154   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:4")
3155   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3156   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3157   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:5")
3158   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3159   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3160   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:6")
3161   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3162   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3163   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:7")
3164   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3165   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3166   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:8")
3167   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3168   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
31692888INPUT_PORTS_END
31702889
3171static INPUT_PORTS_START( lucky8d )
3172   PORT_START("IN0")   /* d800 */
3173   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3174   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3175   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
3176   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
3177   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
3178   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
3179   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
3180   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
2890static INPUT_PORTS_START( lucky8b )
2891   PORT_INCLUDE( lucky8 )
31812892
3182   PORT_START("IN1")   /* d801 */
2893   PORT_MODIFY("IN1")      /* Player 2 controls not used in this set */
31832894   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
31842895   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3185   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_CODE(KEYCODE_G) PORT_NAME("P2 - Big / Switch Controls")
3186   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_CODE(KEYCODE_D) PORT_NAME("P2 - Double-Up")
3187   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_CODE(KEYCODE_F) PORT_NAME("P2 - Take Score")
3188   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON13 ) PORT_CODE(KEYCODE_A) PORT_NAME("P2 - Bet")
3189   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON15 ) PORT_CODE(KEYCODE_H) PORT_NAME("P2 - Small / Info")
3190   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON14 ) PORT_CODE(KEYCODE_S) PORT_NAME("P2 - Start")
3191
3192   PORT_START("IN2")   /* d802 */
3193   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3194   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
31952896   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
31962897   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
31972898   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
31992900   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
32002901   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
32012902
3202   PORT_START("IN3")   /* d810 */
3203   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3204   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3205   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  // Coin1?
3206   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3207   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2?
3208   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3?
3209   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3210   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  // Coin4?
2903   PORT_MODIFY("DSW1")
2904   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )     PORT_DIPLOCATION("DSW1:5")
2905   PORT_DIPSETTING(    0x10, "60%" )
2906   PORT_DIPSETTING(    0x00, "75%" )
32112907
3212   PORT_START("IN4")   /* d811 */
3213   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3214   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3215   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3216   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3217   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
3218   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
3219   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3220   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
2908   PORT_MODIFY("DSW2")
2909   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3")
2910   PORT_DIPSETTING(    0x07, "58%" )
2911   PORT_DIPSETTING(    0x06, "62%" )
2912   PORT_DIPSETTING(    0x05, "66%" )
2913   PORT_DIPSETTING(    0x04, "70%" )
2914   PORT_DIPSETTING(    0x03, "74%" )
2915   PORT_DIPSETTING(    0x02, "78%" )
2916   PORT_DIPSETTING(    0x01, "82%" )
2917   PORT_DIPSETTING(    0x00, "86%" )
2918INPUT_PORTS_END
32212919
3222   PORT_START("DSW1")
3223   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")
3224   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3225   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3226   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:2")
3227   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3228   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3229   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:3")
3230   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3231   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3232   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:4")
3233   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3234   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2920static INPUT_PORTS_START( lucky8d )
2921   PORT_INCLUDE( lucky8 )
2922
2923   PORT_MODIFY("DSW1")
32352924   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )     PORT_DIPLOCATION("DSW1:5")
32362925   PORT_DIPSETTING(    0x10, "60%" )
32372926   PORT_DIPSETTING(    0x00, "70%" )
3238   PORT_DIPNAME( 0x20, 0x20, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")
3239   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3240   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
3241   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:7")
3242   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3243   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3244   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:8")
3245   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3246   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
32472927
3248   PORT_START("DSW2")
2928   PORT_MODIFY("DSW2")
32492929   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3")
32502930   PORT_DIPSETTING(    0x07, "43%" )
32512931   PORT_DIPSETTING(    0x06, "47%" )
r244812r244813
32552935   PORT_DIPSETTING(    0x02, "67%" )
32562936   PORT_DIPSETTING(    0x01, "73%" )
32572937   PORT_DIPSETTING(    0x00, "79%" )
3258   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:4")
3259   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3260   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3261   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:5")
3262   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3263   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3264   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:6")
3265   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3266   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3267   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" ) PORT_DIPLOCATION("DSW2:7")
3268   PORT_DIPSETTING(    0x40, "Low Pay" )
3269   PORT_DIPSETTING(    0x00, "High Pay" )
3270   PORT_DIPNAME( 0x80, 0x80, "W-UP Type" ) PORT_DIPLOCATION("DSW2:8")
3271   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
3272   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
3273
3274   PORT_START("DSW3")
3275   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:1")
3276   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3277   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3278   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:2")
3279   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3280   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3281   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:3")
3282   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3283   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3284   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:4")
3285   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3286   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3287   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:5")
3288   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3289   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3290   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:6")
3291   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3292   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3293   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:7")
3294   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3295   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3296   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:8")
3297   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3298   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3299
3300   PORT_START("DSW4")
3301   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )           PORT_DIPLOCATION("DSW4:1,2,3")
3302   PORT_DIPSETTING(    0x00, "5" )
3303   PORT_DIPSETTING(    0x01, "10" )
3304   PORT_DIPSETTING(    0x02, "20" )
3305   PORT_DIPSETTING(    0x03, "25" )
3306   PORT_DIPSETTING(    0x04, "40" )
3307   PORT_DIPSETTING(    0x05, "50" )
3308   PORT_DIPSETTING(    0x06, "60" )
3309   PORT_DIPSETTING(    0x07, "100" )
3310   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:4")
3311   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3312   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3313   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:5")
3314   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3315   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3316   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:6")
3317   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3318   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3319   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:7")
3320   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3321   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3322   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:8")
3323   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3324   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
33252938INPUT_PORTS_END
33262939
3327static INPUT_PORTS_START( ns8lines )
3328   PORT_START("IN0")   /* d800 */
3329   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3330   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3331   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_B) PORT_NAME("P1 - Big / Switch Controls")
3332   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_C) PORT_NAME("P1 - Double-Up")
3333   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_V) PORT_NAME("P1 - Take Score")
3334   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1 - Bet")
3335   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("P1 - Small / Info")
3336   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1 - Start")
3337
3338   PORT_START("IN1")   /* d801 */
3339   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3340   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3341   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3342   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3343   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
3344   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3345   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
3346   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
3347
3348   PORT_START("IN2")   /* d802 */
3349   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3350   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3351   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3352   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3353   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
3354   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
3355   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
3356   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
3357
3358   PORT_START("IN3")   /* d810 */
3359   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3360   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3361   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  // Coin1?
3362   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3363   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2?
3364   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3?
3365   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3366   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  // Coin4?
3367
3368   PORT_START("IN4")   /* d811 */
3369   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
3370   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3371   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
3372   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3373   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
3374   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Hopper")
3375   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3376   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
3377
3378   PORT_START("DSW1")
3379   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")
3380   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3381   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3382   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:2")
3383   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3384   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3385   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:3")
3386   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3387   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3388   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:4")
3389   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3390   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3391   PORT_DIPNAME( 0x10, 0x10, "W-UP Pay Rate" )     PORT_DIPLOCATION("DSW1:5")
3392   PORT_DIPSETTING(    0x10, "60%" )
3393   PORT_DIPSETTING(    0x00, "75%" )
3394   PORT_DIPNAME( 0x20, 0x20, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")
3395   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
3396   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
3397   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:7")
3398   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3399   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3400   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:8")
3401   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3402   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3403
3404   PORT_START("DSW2")
3405   PORT_DIPNAME( 0x07, 0x07, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2,3")
3406   PORT_DIPSETTING(    0x07, "58%" )
3407   PORT_DIPSETTING(    0x06, "62%" )
3408   PORT_DIPSETTING(    0x05, "66%" )
3409   PORT_DIPSETTING(    0x04, "70%" )
3410   PORT_DIPSETTING(    0x03, "74%" )
3411   PORT_DIPSETTING(    0x02, "78%" )
3412   PORT_DIPSETTING(    0x01, "82%" )
3413   PORT_DIPSETTING(    0x00, "86%" )
3414   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:4")
3415   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3416   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3417   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:5")
3418   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3419   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3420   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:6")
3421   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3422   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3423   PORT_DIPNAME( 0x40, 0x40, "Paytable Settings" ) PORT_DIPLOCATION("DSW2:7")
3424   PORT_DIPSETTING(    0x40, "Low Pay" )
3425   PORT_DIPSETTING(    0x00, "High Pay" )
3426   PORT_DIPNAME( 0x80, 0x80, "Double-Up Type" )    PORT_DIPLOCATION("DSW2:8")
3427   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
3428   PORT_DIPSETTING(    0x00, "Cards (Big/Small)" )
3429
3430   PORT_START("DSW3")
3431   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:1")
3432   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3433   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3434   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:2")
3435   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3436   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3437   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:3")
3438   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3439   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3440   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:4")
3441   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3442   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3443   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:5")
3444   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3445   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3446   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:6")
3447   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3448   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3449   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:7")
3450   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3451   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3452   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:8")
3453   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3454   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3455
3456   PORT_START("DSW4")
3457   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )           PORT_DIPLOCATION("DSW4:1,2,3")
3458   PORT_DIPSETTING(    0x00, "5" )
3459   PORT_DIPSETTING(    0x01, "10" )
3460   PORT_DIPSETTING(    0x02, "20" )
3461   PORT_DIPSETTING(    0x03, "25" )
3462   PORT_DIPSETTING(    0x04, "40" )
3463   PORT_DIPSETTING(    0x05, "50" )
3464   PORT_DIPSETTING(    0x06, "60" )
3465   PORT_DIPSETTING(    0x07, "100" )
3466   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:4")
3467   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3468   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3469   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:5")
3470   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3471   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3472   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:6")
3473   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3474   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3475   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:7")
3476   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3477   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3478   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:8")
3479   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
3480   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3481INPUT_PORTS_END
3482
34832940static INPUT_PORTS_START( ns8linew )
34842941   PORT_START("IN0")   /* b800 */
34852942   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
35142971   PORT_START("IN3")   /* $b810 - Money in */
35152972   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
35162973   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3517   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) // Coin1?
2974   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Coin B");
35182975   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3519   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2?
3520   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3?
2976   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2) PORT_NAME("Coin D");
2977   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) PORT_NAME("Coin C");
35212978   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3522   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2) // Coin4?
2979   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) PORT_NAME("Coin A")
35232980
35242981   PORT_START("IN4")   /* $b811 - Service controls */
35252982   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
35583015   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
35593016
35603017   PORT_START("DSW2")
3561   PORT_DIPNAME( 0x03, 0x03, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2")
3018   PORT_DIPNAME( 0x03, 0x01, "Main Game Pay Rate" )    PORT_DIPLOCATION("DSW2:1,2")
35623019   PORT_DIPSETTING(    0x03, "60%" )
35633020   PORT_DIPSETTING(    0x02, "70%" )
35643021   PORT_DIPSETTING(    0x01, "80%" )
35653022   PORT_DIPSETTING(    0x00, "90%" )
3566   PORT_DIPNAME( 0x04, 0x04, "Double-Up" )         PORT_DIPLOCATION("DSW2:3")
3023   PORT_DIPNAME( 0x04, 0x04, "Double-Up Game" )        PORT_DIPLOCATION("DSW2:3")
35673024   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
35683025   PORT_DIPSETTING(    0x04, DEF_STR( Yes ) )
3569   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:4")
3570   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3571   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3572   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:5")
3573   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3574   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3575   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:6")
3026   PORT_DIPNAME( 0x18, 0x00, "Hopper Limit" )          PORT_DIPLOCATION("DSW2:4,5")    // unverified
3027   PORT_DIPSETTING(    0x18, "300" )
3028   PORT_DIPSETTING(    0x10, "500" )
3029   PORT_DIPSETTING(    0x08, "1000" )
3030   PORT_DIPSETTING(    0x00, "Unlimited" )
3031   PORT_DIPNAME( 0x20, 0x20, "Over 100 Bet Sound" )    PORT_DIPLOCATION("DSW2:6")     // unverified
35763032   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
35773033   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3578   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:7")
3579   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3580   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3581   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW2:8")
3034   PORT_DIPNAME( 0x40, 0x40, "Odds Table" )            PORT_DIPLOCATION("DSW2:7")     // unverified
3035   PORT_DIPSETTING(    0x40, "A - Low" )
3036   PORT_DIPSETTING(    0x00, "B - High" )
3037   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("DSW2:8")
35823038   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
35833039   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
35843040
35853041   PORT_START("DSW3")
3586   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:1")
3587   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3588   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3589   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:2")
3590   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3591   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3592   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:3")
3593   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3594   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3595   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:4")
3596   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3597   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3598   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:5")
3599   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3600   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3601   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:6")
3602   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3603   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3604   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW3:7")
3605   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3606   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3042   PORT_DIPNAME( 0x0f, 0x07, "Coin D" )            PORT_DIPLOCATION("DSW3:1,2,3,4")
3043   PORT_DIPSETTING(    0x00, "10 Coins/1 Credit" )
3044   PORT_DIPSETTING(    0x01, DEF_STR( 5C_1C ) )
3045   PORT_DIPSETTING(    0x02, "5 Coins/2 Credits" )
3046   PORT_DIPSETTING(    0x03, DEF_STR( 4C_1C ) )
3047   PORT_DIPSETTING(    0x04, DEF_STR( 3C_1C ) )
3048   PORT_DIPSETTING(    0x06, DEF_STR( 2C_3C ) )
3049   PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
3050   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
3051   PORT_DIPSETTING(    0x09, DEF_STR( 1C_3C ) )
3052   PORT_DIPSETTING(    0x0a, DEF_STR( 1C_5C ) )
3053   PORT_DIPSETTING(   0x0b, "1 Coin/10 Credits" )
3054   PORT_DIPNAME( 0x70, 0x60, "Coin C" )            PORT_DIPLOCATION("DSW3:5,6,7")
3055   PORT_DIPSETTING(    0x70, "10 Coins/1 Credit" )
3056   PORT_DIPSETTING(    0x10, "9 Coins/1 Credit" )
3057   PORT_DIPSETTING(    0x20, "6 Coins/1 Credit" )
3058   PORT_DIPSETTING(    0x30, DEF_STR( 5C_1C ) )
3059   PORT_DIPSETTING(    0x40, DEF_STR( 3C_1C ) )
3060   PORT_DIPSETTING(    0x50, DEF_STR( 2C_1C ) )
3061   PORT_DIPSETTING(    0x60, DEF_STR( 1C_1C ) )
36073062   PORT_DIPNAME( 0x80, 0x80, "4th Coin" )          PORT_DIPLOCATION("DSW3:8")
3608   PORT_DIPSETTING(    0x80, "As Coin 4" )
3063   PORT_DIPSETTING(    0x80, "As Coin D" )
36093064   PORT_DIPSETTING(    0x00, "As Hopper Line" )
36103065
36113066   PORT_START("DSW4")
3612   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )           PORT_DIPLOCATION("DSW4:1,2,3")
3067   PORT_DIPNAME( 0x07, 0x07, "Key In Coin" )       PORT_DIPLOCATION("DSW4:1,2,3")
36133068   PORT_DIPSETTING(    0x00, "5" )
36143069   PORT_DIPSETTING(    0x01, "10" )
36153070   PORT_DIPSETTING(    0x02, "20" )
r244812r244813
36183073   PORT_DIPSETTING(    0x05, "50" )
36193074   PORT_DIPSETTING(    0x06, "60" )
36203075   PORT_DIPSETTING(    0x07, "100" )
3621   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:4")
3622   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3623   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3624   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:5")
3625   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3626   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3627   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:6")
3628   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3629   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3630   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:7")
3076   PORT_DIPNAME( 0x38, 0x00, "Coin A" )            PORT_DIPLOCATION("DSW4:4,5,6")
3077   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
3078   PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
3079   PORT_DIPSETTING(    0x10, DEF_STR( 1C_4C ) )
3080   PORT_DIPSETTING(    0x18, DEF_STR( 1C_5C ) )
3081   PORT_DIPSETTING(    0x20, DEF_STR( 1C_6C ) )   // manual says 1c/8c
3082   PORT_DIPSETTING(    0x28, "1 Coin/10 Credits" )
3083   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:7")  // unverified
36313084   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
36323085   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3633   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:8")
3086   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW4:8")  // unverified
36343087   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
36353088   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
36363089INPUT_PORTS_END
36373090
3638static INPUT_PORTS_START( luckylad )
3091static INPUT_PORTS_START( luckylad ) // CHECK & FIX ME
36393092   PORT_START("IN0")
36403093   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
36413094   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
37973250   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
37983251   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
37993252   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3800   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)
3801   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)
3802   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Key In") PORT_CODE(KEYCODE_Q)
3803   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)
3253   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)
3254   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)
3255   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3256   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
38043257
38053258   PORT_START("IN1")
38063259   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
38093262   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_J) PORT_NAME("Hopper Voll (Hopper Fill)")
38103263   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
38113264   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT ) PORT_NAME("Abschreib (Payout)")
3812   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Aufsteller (Supervisor)")
3813   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Buchhaltung (Bookkeeping)")
3265   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Aufsteller (Supervisor)")
3266   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Buchhaltung (Bookkeeping)")
38143267
38153268   PORT_START("IN2")
38163269   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
38883341   PORT_START("IN3")   /* d810 */
38893342   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
38903343   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
3891   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  // Coin1?
3344   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)  // Coin1 1 coin/1 credit
38923345   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
3893   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2?
3894   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3?
3346   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // Coin2 10 coins/1 credit
3347   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // Coin3 2 coins/1 credit
38953348   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
3896   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  // Coin4?
3349   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN4 ) PORT_IMPULSE(2)  // Coin4 1 coin/10 credits
38973350
38983351   PORT_START("IN4")   /* d811 */
38993352   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
39053358   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
39063359   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
39073360
3908   PORT_START("DSW1")
3361   PORT_START("DSW1")  /* dips 1-7 appear to do nothing */
39093362   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:1")
39103363   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
39113364   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r244812r244813
39283381   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
39293382   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
39303383   PORT_DIPNAME( 0x80, 0x00, "W-UP Type" )         PORT_DIPLOCATION("DSW1:8")
3931   PORT_DIPSETTING(    0x80, "Reels (automatic)" )
3384   PORT_DIPSETTING(    0x80, "Reels (automatic)" ) /* Fix me - reel graphics do not show in game */
39323385   PORT_DIPSETTING(    0x00, "Flowers (Big/Small)" )
39333386INPUT_PORTS_END
39343387
r244812r244813
41243577   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
41253578   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
41263579   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
4127   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2)  // CoinD?
4128   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2)  // CoinC?
3580   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) PORT_NAME("Coin D")
3581   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Coin C")
41293582   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
4130   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) // CoinA?
3583   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) PORT_NAME("Coin A")
41313584
41323585   PORT_START("IN4")   /* d811 */
41333586   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
41663619
41673620   PORT_START("DSW2")
41683621   PORT_DIPNAME( 0x07, 0x04, "Main Game Level" )           PORT_DIPLOCATION("DSW2:1,2,3")
4169   PORT_DIPSETTING(    0x00, "+4" )
4170   PORT_DIPSETTING(    0x01, "+3" )
4171   PORT_DIPSETTING(    0x02, "+2" )
4172   PORT_DIPSETTING(    0x03, "+1" )
4173   PORT_DIPSETTING(    0x04, "0" )
4174   PORT_DIPSETTING(    0x05, "-1" )
4175   PORT_DIPSETTING(    0x06, "-2" )
4176   PORT_DIPSETTING(    0x07, "-3" )
3622   PORT_DIPSETTING(    0x00, "+4 - 56%" )
3623   PORT_DIPSETTING(    0x01, "+3 - 60%" )
3624   PORT_DIPSETTING(    0x02, "+2 - 64%" )
3625   PORT_DIPSETTING(    0x03, "+1 - 68%" )
3626   PORT_DIPSETTING(    0x04, "0 - 72%" )
3627   PORT_DIPSETTING(    0x05, "-1 - 76%" )
3628   PORT_DIPSETTING(    0x06, "-2 - 80%" )
3629   PORT_DIPSETTING(    0x07, "-3 - 84%" )
41773630   PORT_DIPNAME( 0x08, 0x08, "Nudity / Strip" )    PORT_DIPLOCATION("DSW2:4") // verified
41783631   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
41793632   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r244812r244813
42643717   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
42653718   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
42663719   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Note In")       /* Note In */
4267   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In */
3720   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
42683721   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                            /* Coin A */
42693722
42703723   PORT_START("IN2")
r244812r244813
42753728   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
42763729   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
42773730   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
4278   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
3731   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")   // doesn't work in v352c4
42793732
42803733   PORT_START("DSW1")
42813734   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
4282   PORT_DIPSETTING(    0x07, "Level 1" )
3735   PORT_DIPSETTING(    0x07, "Level 1 (Easiest)" )
42833736   PORT_DIPSETTING(    0x06, "Level 2" )
42843737   PORT_DIPSETTING(    0x05, "Level 3" )
42853738   PORT_DIPSETTING(    0x04, "Level 4" )
42863739   PORT_DIPSETTING(    0x03, "Level 5" )
42873740   PORT_DIPSETTING(    0x02, "Level 6" )
42883741   PORT_DIPSETTING(    0x01, "Level 7" )
4289   PORT_DIPSETTING(    0x00, "Level 8" )
4290   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
3742   PORT_DIPSETTING(    0x00, "Level 8 (Hardest)" )
3743   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")
42913744   PORT_DIPSETTING(    0x00, "8" )
42923745   PORT_DIPSETTING(    0x08, "10" )
42933746   PORT_DIPSETTING(    0x10, "24" )
r244812r244813
43333786   PORT_DIPSETTING(    0x01, "8" )
43343787   PORT_DIPSETTING(    0x02, "10" )    /* 16 in the manual */
43353788   PORT_DIPSETTING(    0x03, "16" )    /* 24 in the manual */
4336   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Point" )   PORT_DIPLOCATION("DSW3:3,4")    /* OK */
3789   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Points" )   PORT_DIPLOCATION("DSW3:3,4")    /* OK */
43373790   PORT_DIPSETTING(    0x00, "1000" )
43383791   PORT_DIPSETTING(    0x04, "5000" )
43393792   PORT_DIPSETTING(    0x08, "10000" )
r244812r244813
43863839   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unused ) )                                   PORT_DIPLOCATION("DSW5:1")  /* OK */
43873840   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
43883841   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
4389   /* DIP switches 2 to 5 work only for version 3.51 */
3842   /* DIP switches 2 to 5 work only for version 3.51 and above */
43903843   PORT_DIPNAME( 0x02, 0x00, "Limit Score of Each Game to Max 10x Bet or $5.00" )  PORT_DIPLOCATION("DSW5:2")  /* OK */
43913844   PORT_DIPSETTING(    0x00, DEF_STR( No ) )       PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
43923845   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )      PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
r244812r244813
44363889   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
44373890   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
44383891   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Note In")       /* Note In */
4439   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In */
3892   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
44403893   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                            /* Coin A */
44413894
44423895   PORT_START("IN2")
r244812r244813
44463899   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
44473900   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
44483901   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
4449   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
3902   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings / Confirm")
44503903   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
44513904
44523905   PORT_START("DSW1")
44533906   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
4454   PORT_DIPSETTING(    0x07, "Level 1" )
3907   PORT_DIPSETTING(    0x07, "Level 1 (Easiest)" )
44553908   PORT_DIPSETTING(    0x06, "Level 2" )
44563909   PORT_DIPSETTING(    0x05, "Level 3" )
44573910   PORT_DIPSETTING(    0x04, "Level 4" )
44583911   PORT_DIPSETTING(    0x03, "Level 5" )
44593912   PORT_DIPSETTING(    0x02, "Level 6" )
44603913   PORT_DIPSETTING(    0x01, "Level 7" )
4461   PORT_DIPSETTING(    0x00, "Level 8" )
3914   PORT_DIPSETTING(    0x00, "Level 8 (Hardest)" )
44623915   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
44633916   PORT_DIPSETTING(    0x00, "10" )    PORT_CONDITION("DSW5",0x10,EQUALS,0x00)
44643917   PORT_DIPSETTING(    0x08, "20" )    PORT_CONDITION("DSW5",0x10,EQUALS,0x00)
r244812r244813
45163969   PORT_DIPSETTING(    0x01, "8" )     PORT_CONDITION("DSW5",0x10,EQUALS,0x10)
45173970   PORT_DIPSETTING(    0x02, "16" )    PORT_CONDITION("DSW5",0x10,EQUALS,0x10)
45183971   PORT_DIPSETTING(    0x03, "24" )    PORT_CONDITION("DSW5",0x10,EQUALS,0x10)
4519   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Point" )   PORT_DIPLOCATION("DSW3:3,4")    /* OK */
3972   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Points" )  PORT_DIPLOCATION("DSW3:3,4")    /* OK */
45203973   PORT_DIPSETTING(    0x00, "1000" )
45213974   PORT_DIPSETTING(    0x04, "5000" )
45223975   PORT_DIPSETTING(    0x08, "10000" )
r244812r244813
45704023   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
45714024   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
45724025   PORT_DIPNAME( 0x02, 0x00, "Limit Score of Each Game to Max 10x Bet or $5.00" )  PORT_DIPLOCATION("DSW5:2")  /* OK */
4573   PORT_DIPSETTING(    0x00, DEF_STR( No ) )       PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
4574   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )      PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
4575   PORT_DIPSETTING(    0x00, DEF_STR( Unused ) )   PORT_CONDITION("DSW4",0x10,EQUALS,0x00)
4576   PORT_DIPSETTING(    0x02, DEF_STR( Unused ) )   PORT_CONDITION("DSW4",0x10,EQUALS,0x00)
4026   PORT_DIPSETTING(    0x00, DEF_STR( No ) )               PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
4027   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )              PORT_CONDITION("DSW4",0x10,EQUALS,0x10)
4028   PORT_DIPSETTING(    0x00, "Unused when DSW4-5 OFF" )    PORT_CONDITION("DSW4",0x10,EQUALS,0x00)
4029   PORT_DIPSETTING(    0x02, "Unused when DSW4-5 OFF" )    PORT_CONDITION("DSW4",0x10,EQUALS,0x00)
45774030   PORT_DIPNAME( 0x04, 0x00, "Use Printer" )                                       PORT_DIPLOCATION("DSW5:3")  /* OK */
45784031   PORT_DIPSETTING(    0x00, "No (Use TDDD)" )
45794032   PORT_DIPSETTING(    0x04, DEF_STR( Yes ) )
r244812r244813
45984051   PORT_DIPSETTING(    0x80, DEF_STR( Yes ) )
45994052INPUT_PORTS_END
46004053
4054/* Displays tkt info on screen but has no settings or hopper controls */
46014055static INPUT_PORTS_START( nfb96tx )
46024056   PORT_START("IN0")
46034057   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
4604   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
4058   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )    // unused coin switch
46054059   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL ) PORT_NAME("Stop All / Big")
46064060   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SLOT_STOP1 ) PORT_NAME("Stop 1 / D-UP")
46074061   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP3 ) PORT_NAME("Stop 3 / Take / Select Card")
r244812r244813
46154069   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
46164070   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
46174071   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
4618   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2) PORT_NAME("Ticket In")     /* Ticket In */
4072   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Ticket In")
46194073   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )   /* Key In (not used)*/
4620   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                            /* Coin A */
4074   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
46214075
46224076   PORT_START("IN2")
46234077   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
46264080   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
46274081   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
46284082   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
4629   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings")
4630   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Stats")
4083   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
4084   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
46314085
46324086   PORT_START("DSW1")
46334087   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
4634   PORT_DIPSETTING(    0x07, "Level 1" )
4088   PORT_DIPSETTING(    0x07, "Level 1 (Easiest)" )
46354089   PORT_DIPSETTING(    0x06, "Level 2" )
46364090   PORT_DIPSETTING(    0x05, "Level 3" )
46374091   PORT_DIPSETTING(    0x04, "Level 4" )
46384092   PORT_DIPSETTING(    0x03, "Level 5" )
46394093   PORT_DIPSETTING(    0x02, "Level 6" )
46404094   PORT_DIPSETTING(    0x01, "Level 7" )
4641   PORT_DIPSETTING(    0x00, "Level 8" )
4095   PORT_DIPSETTING(    0x00, "Level 8 (Hardest)" )
46424096   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
46434097   PORT_DIPSETTING(    0x00, "8" )
46444098   PORT_DIPSETTING(    0x08, "16" )
r244812r244813
46614115   PORT_DIPNAME( 0x02, 0x02, "Skill Spinning" )            PORT_DIPLOCATION("DSW2:2")  /* OK (listed as Non-Stop spinning in the manual) */
46624116   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
46634117   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
4664   PORT_DIPNAME( 0x04, 0x04, "Coin In" )                   PORT_DIPLOCATION("DSW2:3")  /* OK */
4665   PORT_DIPSETTING(    0x00, DEF_STR( 1C_5C ) )
4666   PORT_DIPSETTING(    0x04, "1 Coin/25 Credits" )
4118   PORT_DIPNAME( 0x04, 0x04, "Coin In Rate" )              PORT_DIPLOCATION("DSW2:3")  /* OK */
4119   PORT_DIPSETTING(    0x00, DEF_STR( 1C_5C ) )    /* Nickel slots in manual */
4120   PORT_DIPSETTING(    0x04, "1 Coin/25 Credits" ) /* Penny slots in manual */
46674121   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:4")  /* unknown */
46684122   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
46694123   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
r244812r244813
46864140   PORT_DIPSETTING(    0x01, "8" )
46874141   PORT_DIPSETTING(    0x02, "16" )
46884142   PORT_DIPSETTING(    0x03, "24" )
4689   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Point" )   PORT_DIPLOCATION("DSW3:3,4")    /* OK */
4143   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Points" )  PORT_DIPLOCATION("DSW3:3,4")    /* OK */
46904144   PORT_DIPSETTING(    0x00, "1000" )
46914145   PORT_DIPSETTING(    0x04, "5000" )
46924146   PORT_DIPSETTING(    0x08, "10000" )
r244812r244813
47864240   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
47874241   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
47884242   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
4789   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note In")       /* Note In */
4790   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)            /* Coin A */
4243   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_NAME("Note In")
4244   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
47914245
47924246   PORT_START("IN2")
47934247   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
48014255
48024256   PORT_START("DSW1")
48034257   PORT_DIPNAME( 0x07, 0x03, "Game Rate" )                 PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
4804   PORT_DIPSETTING(    0x07, "90%" )
4805   PORT_DIPSETTING(    0x06, "85%" )
4806   PORT_DIPSETTING(    0x05, "80%" )
4807   PORT_DIPSETTING(    0x04, "75%" )
4808   PORT_DIPSETTING(    0x03, "70%" )
4809   PORT_DIPSETTING(    0x02, "65%" )
4810   PORT_DIPSETTING(    0x01, "60%" )
4811   PORT_DIPSETTING(    0x00, "55%" )
4258   PORT_DIPSETTING(    0x07, "Level 1 - 90%" )
4259   PORT_DIPSETTING(    0x06, "Level 2 - 85%" )
4260   PORT_DIPSETTING(    0x05, "Level 3 - 80%" )
4261   PORT_DIPSETTING(    0x04, "Level 4 - 75%" )
4262   PORT_DIPSETTING(    0x03, "Level 5 - 70%" )
4263   PORT_DIPSETTING(    0x02, "Level 6 - 65%" )
4264   PORT_DIPSETTING(    0x01, "Level 7 - 60%" )
4265   PORT_DIPSETTING(    0x00, "Level 8 - 55%" )
48124266   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
48134267   PORT_DIPSETTING(    0x00, "8" )
48144268   PORT_DIPSETTING(    0x08, "16" )
r244812r244813
48284282   PORT_DIPNAME( 0x01, 0x01, "Double-Up Game" )            PORT_DIPLOCATION("DSW2:1")  /* OK */
48294283   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
48304284   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
4831   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:2")  /* unknown */
4832   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4833   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
4285   PORT_DIPNAME( 0x02, 0x00, "Use Printer" )               PORT_DIPLOCATION("DSW2:2")
4286   PORT_DIPSETTING(    0x00, "No (TDDD)" ) /* (Ticket Dispenser Direct Drive) */
4287   PORT_DIPSETTING(    0x02, DEF_STR( Yes ) ) /* Use Auto Ticket Dispense only */
48344288   PORT_DIPNAME( 0x1c, 0x10, "Coin In" )                   PORT_DIPLOCATION("DSW2:3,4,5")  /* OK */
48354289   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
48364290   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
r244812r244813
48824336   PORT_DIPNAME( 0x01, 0x01, "Check Account" )                         PORT_DIPLOCATION("DSW4:1")  /* OK */
48834337   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
48844338   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
4885   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )                      PORT_DIPLOCATION("DSW4:2")  /* unknown */
4886   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4887   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
4339   PORT_DIPNAME( 0x02, 0x00, "Show Coin In Limit" )                    PORT_DIPLOCATION("DSW4:2")  /* OK */
4340   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
4341   PORT_DIPSETTING(    0x02, DEF_STR( No ) )
48884342   PORT_DIPNAME( 0x04, 0x00, "Initial Bonus Settings After Reset" )    PORT_DIPLOCATION("DSW4:3")  /* not checked */
48894343   PORT_DIPSETTING(    0x00, "Type 1" )
48904344   PORT_DIPSETTING(    0x04, "Type 2" )
r244812r244813
49044358   PORT_DIPSETTING(    0x20, "Max 8 Ticket Per Game" )
49054359   PORT_DIPSETTING(    0x00, "Max 10 Ticket Per Game" )
49064360
4361   /* Only versions 3.6 and up make use of DSW5. */
49074362   PORT_START("DSW5")
49084363   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
49094364INPUT_PORTS_END
49104365
49114366static INPUT_PORTS_START( roypok96a )
4912   PORT_START("IN0")
4913   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
4914   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
4915   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big")
4916   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("D-UP")
4917   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) PORT_NAME("Take / Select Card")
4918   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
4919   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small / Info")
4920   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
4367   PORT_INCLUDE( roypok96 )
49214368
4922   PORT_START("IN1")
4923   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
4924   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
4925   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
4926   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
4927   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
4928   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
4929   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_NAME("Note In")       /* Note In */
4930   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)            /* Coin A */
4931
4932   PORT_START("IN2")
4933   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
4934   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
4935   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
4936   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
4937   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
4938   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
4939   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
4940   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
4941
4942   PORT_START("DSW1")
4943   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
4944   PORT_DIPSETTING(    0x07, "Level 1" )
4945   PORT_DIPSETTING(    0x06, "Level 2" )
4946   PORT_DIPSETTING(    0x05, "Level 3" )
4947   PORT_DIPSETTING(    0x04, "Level 4" )
4948   PORT_DIPSETTING(    0x03, "Level 5" )
4949   PORT_DIPSETTING(    0x02, "Level 6" )
4950   PORT_DIPSETTING(    0x01, "Level 7" )
4951   PORT_DIPSETTING(    0x00, "Level 8" )
4952   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
4953   PORT_DIPSETTING(    0x00, "8" )
4954   PORT_DIPSETTING(    0x08, "16" )
4955   PORT_DIPSETTING(    0x10, "24" )
4956   PORT_DIPSETTING(    0x18, "32" )
4957   PORT_DIPSETTING(    0x20, "40" )
4958   PORT_DIPSETTING(    0x28, "48" )
4959   PORT_DIPSETTING(    0x30, "64" )
4960   PORT_DIPSETTING(    0x38, "80" )
4961   PORT_DIPNAME( 0xc0, 0x80, "Minimum Play for Bonus" )    PORT_DIPLOCATION("DSW1:7,8")    /* OK */
4962   PORT_DIPSETTING(    0x00, "8" )
4963   PORT_DIPSETTING(    0x40, "16" )
4964   PORT_DIPSETTING(    0x80, "24" )
4965   PORT_DIPSETTING(    0xc0, "32" )
4966
4967   PORT_START("DSW2")
4968   PORT_DIPNAME( 0x01, 0x01, "Double-Up Game" )            PORT_DIPLOCATION("DSW2:1")  /* OK */
4969   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
4970   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
4971   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:2")  /* unknown */
4972   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4973   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
4974   PORT_DIPNAME( 0x1c, 0x10, "Coin In" )                   PORT_DIPLOCATION("DSW2:3,4,5")  /* OK */
4975   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
4976   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
4977   PORT_DIPSETTING(    0x08, DEF_STR( 1C_4C ) )
4978   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_5C ) )
4979   PORT_DIPSETTING(    0x10, "1 Coin/10 Credits" )
4980   PORT_DIPSETTING(    0x14, "1 Coin/20 Credits" )
4981   PORT_DIPSETTING(    0x18, "1 Coin/25 Credits" )
4982   PORT_DIPSETTING(    0x1c, "1 Coin/100 Credits" )
4983   PORT_DIPNAME( 0x60, 0x00, "Note In Value" )                 PORT_DIPLOCATION("DSW2:6,7")    /* OK */
4984   PORT_DIPSETTING(    0x00, "100" )
4985   PORT_DIPSETTING(    0x20, "200" )
4986   PORT_DIPSETTING(    0x40, "500" )
4987   PORT_DIPSETTING(    0x60, "1000" )
4988   PORT_DIPNAME( 0x80, 0x00, "WARNING: Always Off" )       PORT_DIPLOCATION("DSW2:8")  /* Listed that way in the manual */
4989   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4990   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
4991
4992   PORT_START("DSW3")
4369   PORT_MODIFY("DSW2")
49934370   PORT_DIPNAME( 0x03, 0x02, "Minimum Play to Start" )         PORT_DIPLOCATION("DSW3:1,2")    /* OK */
49944371   PORT_DIPSETTING(    0x00, "1" )
49954372   PORT_DIPSETTING(    0x01, "8" )
49964373   PORT_DIPSETTING(    0x02, "10" )
49974374   PORT_DIPSETTING(    0x03, "16" )
4998   PORT_DIPNAME( 0x0c, 0x08, "Max Coin In & Note In Point" )   PORT_DIPLOCATION("DSW3:3,4")    /* OK */
4999   PORT_DIPSETTING(    0x00, "1000" )
5000   PORT_DIPSETTING(    0x04, "5000" )
5001   PORT_DIPSETTING(    0x08, "10000" )
5002   PORT_DIPSETTING(    0x0c, "90000" )
5003   PORT_DIPNAME( 0xf0, 0x00, "Clear / Ticket Unit" )           PORT_DIPLOCATION("DSW3:5,6,7,8")    /* OK */
5004   PORT_DIPSETTING(    0x00, "1" )
5005   PORT_DIPSETTING(    0x10, "4" )
5006   PORT_DIPSETTING(    0x20, "5" )
5007   PORT_DIPSETTING(    0x30, "10" )
5008   PORT_DIPSETTING(    0x40, "20" )
5009   PORT_DIPSETTING(    0x50, "25" )
5010   PORT_DIPSETTING(    0x60, "30" )
5011   PORT_DIPSETTING(    0x70, "40" )
5012   PORT_DIPSETTING(    0x80, "50" )
5013   PORT_DIPSETTING(    0x90, "60" )
5014   PORT_DIPSETTING(    0xa0, "80" )
5015   PORT_DIPSETTING(    0xb0, "100" )
5016   PORT_DIPSETTING(    0xc0, "200" )
5017   PORT_DIPSETTING(    0xd0, "300" )
5018   PORT_DIPSETTING(    0xe0, "400" )
5019   PORT_DIPSETTING(    0xf0, "500" )
50204375
5021   PORT_START("DSW4")
5022   PORT_DIPNAME( 0x01, 0x01, "Check Account" )                         PORT_DIPLOCATION("DSW4:1")  /* OK */
5023   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
5024   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
5025   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )                      PORT_DIPLOCATION("DSW4:2")  /* unknown */
4376   /* DSW5 is under top board, 1-6 are unused and should be set to off. Switches 7 & 8 are adjustable without removing top board. */
4377   PORT_MODIFY("DSW5")
4378   PORT_DIPNAME( 0x01, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:1")
50264379   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4380   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
4381   PORT_DIPNAME( 0x02, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:2")
4382   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
50274383   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
5028   PORT_DIPNAME( 0x04, 0x00, "Initial Bonus Settings After Reset" )    PORT_DIPLOCATION("DSW4:3")  /* not checked */
5029   PORT_DIPSETTING(    0x00, "Type 1" )
5030   PORT_DIPSETTING(    0x04, "Type 2" )
5031   PORT_DIPNAME( 0x08, 0x08, "Bonus Accumulation" )                    PORT_DIPLOCATION("DSW4:4")  /* not checked */
5032   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
5033   PORT_DIPSETTING(    0x08, DEF_STR( Yes ) )
5034   PORT_DIPNAME( 0x10, 0x10, "Auto Ticket Dispense" )                  PORT_DIPLOCATION("DSW4:5")  /* not checked */
5035   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
5036   PORT_DIPSETTING(    0x10, DEF_STR( Yes ) )
5037   PORT_DIPNAME( 0xe0, 0xe0, "Ticket Dispense Mode" )                  PORT_DIPLOCATION("DSW4:6,7,8")  /* OK */
5038   PORT_DIPSETTING(    0xe0, "Continuous" )
5039   PORT_DIPSETTING(    0xc0, "Max 1 Ticket Per Game" )
5040   PORT_DIPSETTING(    0xa0, "Max 2 Ticket Per Game" )
5041   PORT_DIPSETTING(    0x80, "Max 3 Ticket Per Game" )
5042   PORT_DIPSETTING(    0x60, "Max 4 Ticket Per Game" )
5043   PORT_DIPSETTING(    0x40, "Max 5 Ticket Per Game" )
5044   PORT_DIPSETTING(    0x20, "Max 8 Ticket Per Game" )
5045   PORT_DIPSETTING(    0x00, "Max 10 Ticket Per Game" )
5046
5047   PORT_START("DSW5")
5048   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
4384   PORT_DIPNAME( 0x04, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:3")
4385   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4386   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
4387   PORT_DIPNAME( 0x08, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:4")
4388   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4389   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
4390   PORT_DIPNAME( 0x10, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:5")
4391   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
4392   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
4393   PORT_DIPNAME( 0x20, 0x00, "Unused - leave off" )            PORT_DIPLOCATION("DSW5:6")
4394   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )   
4395   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
4396   PORT_DIPNAME( 0x40, 0x00, "Reset Remaining Score To Zero" ) PORT_DIPLOCATION("DSW5:7")
4397   PORT_DIPSETTING(   0x00, DEF_STR( No ) )
4398   PORT_DIPSETTING(   0x40, DEF_STR( Yes ) )
4399   PORT_DIPNAME( 0x80, 0x00, "Count Game To Issue Ticket" )    PORT_DIPLOCATION("DSW5:8")
4400   PORT_DIPSETTING(   0x00, DEF_STR( No ) )
4401   PORT_DIPSETTING(   0x80, DEF_STR( Yes ) )
50494402INPUT_PORTS_END
50504403
4404
50514405static INPUT_PORTS_START( pokonl97 )
50524406   PORT_START("IN0")
50534407   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
50544408   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
5055   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hold 1 / Big / Bet 10")
5056   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Hold 2 / D-UP")
5057   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Hold 4 / Take / Select Card")
5058   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Hold 5 / Play (Bet 1)")
5059   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hold 3 / Small / End")
5060   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Start / Draw")
4409   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hold 1 / Big / Bet 10")
4410   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) PORT_NAME("Hold 2 / D-UP")
4411   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) PORT_NAME("Hold 4 / Take / Select Card")
4412   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME("Hold 5 / Play (Bet 1)")
4413   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) PORT_NAME("Hold 3 / Small / End")
4414   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Start / Draw")
50614415
50624416   PORT_START("IN1")
50634417   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
50814435
50824436   PORT_START("DSW1")
50834437   PORT_DIPNAME( 0x07, 0x03, "Game Level (Difficulty)" )   PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
5084   PORT_DIPSETTING(    0x07, "Level 1" )
5085   PORT_DIPSETTING(    0x06, "Level 2" )
5086   PORT_DIPSETTING(    0x05, "Level 3" )
5087   PORT_DIPSETTING(    0x04, "Level 4" )
5088   PORT_DIPSETTING(    0x03, "Level 5" )
5089   PORT_DIPSETTING(    0x02, "Level 6" )
5090   PORT_DIPSETTING(    0x01, "Level 7" )
5091   PORT_DIPSETTING(    0x00, "Level 8" )
4438   PORT_DIPSETTING(    0x07, "Level 1 - 90%" )
4439   PORT_DIPSETTING(    0x06, "Level 2 - 85%" )
4440   PORT_DIPSETTING(    0x05, "Level 3 - 80%" )
4441   PORT_DIPSETTING(    0x04, "Level 4 - 75%" )
4442   PORT_DIPSETTING(    0x03, "Level 5 - 70%" )
4443   PORT_DIPSETTING(    0x02, "Level 6 - 65%" )
4444   PORT_DIPSETTING(    0x01, "Level 7 - 60%" )
4445   PORT_DIPSETTING(    0x00, "Level 8 - 55%" )
50924446   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
50934447   PORT_DIPSETTING(    0x00, "10" )
50944448   PORT_DIPSETTING(    0x08, "20" )
r244812r244813
51054459   PORT_DIPSETTING(    0xc0, "32" )
51064460
51074461   PORT_START("DSW2")
5108   PORT_DIPNAME( 0x01, 0x01, "Double-Up Game" )            PORT_DIPLOCATION("DSW2:1")  /* OK */
4462   PORT_DIPNAME( 0x01, 0x01, "Double-Up Game" )         PORT_DIPLOCATION("DSW2:1")
51094463   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
51104464   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
5111   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:2")  /* unknown */
5112   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
5113   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
4465   PORT_DIPNAME( 0x02, 0x00, "Use Printer" )               PORT_DIPLOCATION("DSW2:2")
4466   PORT_DIPSETTING(    0x00, "No (TDDD)" ) /* (Ticket Dispenser Direct Drive) */
4467   PORT_DIPSETTING(    0x02, "Yes" ) /* Use AUTO TKT DISPENSE only */
51144468   PORT_DIPNAME( 0x1c, 0x10, "Coin In" )                   PORT_DIPLOCATION("DSW2:3,4,5")  /* OK */
51154469   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
51164470   PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
r244812r244813
51744528   PORT_DIPNAME( 0x10, 0x10, "Auto Ticket Dispense" )      PORT_DIPLOCATION("DSW4:5")  /* not checked */
51754529   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
51764530   PORT_DIPSETTING(    0x10, DEF_STR( Yes ) )
5177   PORT_DIPNAME( 0xe0, 0xe0, "Ticket Dispense Mode" )      PORT_DIPLOCATION("DSW4:6,7,8")  /* OK */
4531   PORT_DIPNAME( 0xe0, 0xe0, "Ticket Dispense Mode" )      PORT_DIPLOCATION("DSW4:6,7,8")
51784532   PORT_DIPSETTING(    0xe0, "Continuous" )
51794533   PORT_DIPSETTING(    0xc0, "Max 1 Ticket Per Game" )
51804534   PORT_DIPSETTING(    0xa0, "Max 2 Ticket Per Game" )
r244812r244813
52154569   PORT_START("IN0")
52164570   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
52174571   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
5218   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Hit")
5219   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Unknown1")
5220   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("Unknown3")
4572   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_C) PORT_NAME("Hit / Big / Stop")
4573   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("Auto Hit / Double")
4574   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE )
52214575   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("Play (Bet)")
5222   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("Unknown2")
4576   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_V) PORT_NAME("Small")
52234577   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start")
52244578
52254579   PORT_START("IN1")
r244812r244813
53844738
53854739   PORT_START("DSW1")
53864740   PORT_DIPNAME( 0x07, 0x03, "Game Rate" )                 PORT_DIPLOCATION("DSW1:1,2,3")  /* OK */
5387   PORT_DIPSETTING(    0x07, "90%" )
5388   PORT_DIPSETTING(    0x06, "85%" )
5389   PORT_DIPSETTING(    0x05, "80%" )
5390   PORT_DIPSETTING(    0x04, "75%" )
5391   PORT_DIPSETTING(    0x03, "70%" )
5392   PORT_DIPSETTING(    0x02, "65%" )
5393   PORT_DIPSETTING(    0x01, "60%" )
5394   PORT_DIPSETTING(    0x00, "55%" )
4741   PORT_DIPSETTING(    0x07, "Level 1 - 90%" )
4742   PORT_DIPSETTING(    0x06, "Level 2 - 85%" )
4743   PORT_DIPSETTING(    0x05, "Level 3 - 80%" )
4744   PORT_DIPSETTING(    0x04, "Level 4 - 75%" )
4745   PORT_DIPSETTING(    0x03, "Level 5 - 70%" )
4746   PORT_DIPSETTING(    0x02, "Level 6 - 65%" )
4747   PORT_DIPSETTING(    0x01, "Level 7 - 60%" )
4748   PORT_DIPSETTING(    0x00, "Level 8 - 55%" )
53954749   PORT_DIPNAME( 0x38, 0x38, "Maximum Play" )              PORT_DIPLOCATION("DSW1:4,5,6")  /* OK */
53964750   PORT_DIPSETTING(    0x00, "8" )
53974751   PORT_DIPSETTING(    0x08, "16" )
r244812r244813
62125566   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
62135567   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
62145568   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
6215   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE(2)                            /* Coin A */
6216   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )   PORT_IMPULSE(2)                            /* Coin B */
6217   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )                                       /* Key In */
6218   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_IMPULSE(2)                            /* Coin C */
5569   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) PORT_NAME("Coin A")
5570   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Coin B")
5571   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
5572   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) PORT_NAME("Coin C")
62195573
62205574   PORT_START("IN2")
62215575   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
62225576   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
62235577   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
62245578   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
6225   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_W) PORT_NAME("Key Out / Attendant")
6226   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_H) PORT_NAME("Hopper Limited Payout")
6227   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Settings / Test Mode") PORT_TOGGLE
6228   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Statistics")
5579   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
5580   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("Hopper Limited Payout")
5581   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings / Test Mode") PORT_TOGGLE
5582   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Statistics")
62295583
62305584   PORT_START("IN3")   // reflected in test mode
62315585   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
r244812r244813
63555709   PORT_DIPSETTING(    0x00, "32" )
63565710   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
63575711
6358   PORT_START("DSW5")  // phisically tied to ay8910 port A, but unused...
5712   PORT_START("DSW5")  // physically tied to ay8910 port A, but unused...
63595713   PORT_DIPNAME( 0x01, 0x01, "DSW5" )                  PORT_DIPLOCATION("SW5:1")
63605714   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
63615715   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r244812r244813
63815735   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
63825736   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
63835737
6384   PORT_START("DSW6")  // phisically tied to ay8910 port B, but unused...
5738   PORT_START("DSW6")  // physically tied to ay8910 port B, but unused...
63855739   PORT_DIPNAME( 0x01, 0x01, "DSW6" )                  PORT_DIPLOCATION("SW6:1")
63865740   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
63875741   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
r244812r244813
65025856   PORT_DIPSETTING(    0x08, DEF_STR( 1C_5C ) )
65035857   PORT_DIPSETTING(    0x04, "1 Coin/10 Credits" )
65045858   PORT_DIPSETTING(    0x00, "1 Coin/50 Credits" )
5859   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
65055860
65065861   PORT_START("DSW3-1")
65075862   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:5")
r244812r244813
65165871   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:8")
65175872   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
65185873   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
5874   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
65195875
65205876   PORT_START("DSW4")
65215877   PORT_DIPNAME( 0x07, 0x07, "Credit Limit" )              PORT_DIPLOCATION("DSW4:1,2,3")  /* OK */
r244812r244813
1411113467
1411213468GAMEL( 1989, lucky8,    0,        lucky8,   lucky8,   driver_device,  0,         ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 1, W-4)",                           0,                     layout_lucky8 )
1411313469GAMEL( 1989, lucky8a,   lucky8,   lucky8,   lucky8a,  goldstar_state, lucky8a,   ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 2, W-4)",                           0,                     layout_lucky8 )
14114GAMEL( 1989, lucky8b,   lucky8,   lucky8,   ns8lines, driver_device,  0,         ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 3, W-4, extended gfx)",             0,                     layout_lucky8 )
13470GAMEL( 1989, lucky8b,   lucky8,   lucky8,   lucky8b, driver_device,  0,         ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 3, W-4, extended gfx)",             0,                     layout_lucky8 )
1411513471GAMEL( 1989, lucky8c,   lucky8,   lucky8,   lucky8,   goldstar_state, lucky8a,   ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 4, W-4)",                           0,                     layout_lucky8 )
1411613472GAMEL( 1989, lucky8d,   lucky8,   lucky8,   lucky8d,  driver_device,  0,         ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 5, W-4, main 40%, d-up 60%)",       0,                     layout_lucky8 )
1411713473GAMEL( 1989, lucky8e,   lucky8,   lucky8,   lucky8d,  driver_device,  0,         ROT0, "Wing Co., Ltd.",    "New Lucky 8 Lines (set 6, W-4, main 40%, d-up 60%)",       0,                     layout_lucky8 )
14118GAMEL( 198?, ns8lines,  0,        lucky8,   ns8lines, driver_device,  0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines (W-4)",              0,                     layout_lucky8 )
13474GAMEL( 198?, ns8lines,  0,        lucky8,   lucky8b, driver_device,  0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines (W-4)",              0,                     layout_lucky8 )
1411913475GAMEL( 198?, ns8linew,  0,        lucky8,   ns8linew, driver_device,  0,         ROT0, "<unknown>",         "New Lucky 8 Lines / New Super 8 Lines (F-5, Witch Bonus)", 0,                     layout_lucky8 )
1412013476
1412113477GAMEL( 198?, kkotnoli,  0,        kkotnoli, kkotnoli, driver_device,  0,         ROT0, "hack",              "Kkot No Li (Kill the Bees)",                               GAME_IMPERFECT_COLORS, layout_lucky8 )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team