trunk/src/mame/drivers/goldnpkr.c
| r250131 | r250132 | |
| 2092 | 2092 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2093 | 2093 | INPUT_PORTS_END |
| 2094 | 2094 | |
| 2095 | static INPUT_PORTS_START( ngoldb) // only coinage changes against ngold... |
| 2096 | /* Multiplexed - 4x5bits */ |
| 2097 | PORT_START("IN0-0") |
| 2098 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) |
| 2099 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Meters") |
| 2100 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) |
| 2101 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw") |
| 2102 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) |
| 2103 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2104 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2105 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2106 | |
| 2107 | PORT_START("IN0-1") |
| 2108 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_IMPULSE(3) PORT_NAME("Manual Collect") PORT_CODE(KEYCODE_Q) |
| 2109 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_W) |
| 2110 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_TAKE ) |
| 2111 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH ) PORT_NAME("Big") |
| 2112 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_LOW ) PORT_NAME("Small") |
| 2113 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2114 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2115 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2116 | |
| 2117 | PORT_START("IN0-2") |
| 2118 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) |
| 2119 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) |
| 2120 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) |
| 2121 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) |
| 2122 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) |
| 2123 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2124 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2125 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2126 | |
| 2127 | PORT_START("IN0-3") |
| 2128 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Settings") PORT_CODE(KEYCODE_F2) |
| 2129 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2130 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(3) PORT_NAME("Note In") |
| 2131 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(3) PORT_NAME("Coin In)") |
| 2132 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2133 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2134 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2135 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 2136 | |
| 2137 | PORT_START("SW1") |
| 2138 | /* only bits 4-7 are connected here and were routed to SW1 1-4 */ |
| 2139 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) |
| 2140 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 2141 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2142 | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) |
| 2143 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 2144 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2145 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) |
| 2146 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 2147 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2148 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) |
| 2149 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 2150 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2151 | PORT_DIPNAME( 0x10, 0x00, "Minimal Hand" ) PORT_DIPLOCATION("SW1:1") |
| 2152 | PORT_DIPSETTING( 0x00, "Pair of Aces" ) |
| 2153 | PORT_DIPSETTING( 0x10, "Double Pair" ) |
| 2154 | PORT_DIPNAME( 0x20, 0x00, "50hz/60hz" ) PORT_DIPLOCATION("SW1:2") |
| 2155 | PORT_DIPSETTING( 0x20, "50hz" ) |
| 2156 | PORT_DIPSETTING( 0x00, "60hz" ) |
| 2157 | /* listed in the manual as "Play Mode" */ |
| 2158 | PORT_DIPNAME( 0x40, 0x00, "Payout Mode" ) PORT_DIPLOCATION("SW1:3") |
| 2159 | PORT_DIPSETTING( 0x40, "Manual" ) /* listed in the manual as "Out Play" */ |
| 2160 | PORT_DIPSETTING( 0x00, "Auto" ) /* listed in the manual as "Credit Play" */ |
| 2161 | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") |
| 2162 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 2163 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 2164 | INPUT_PORTS_END |
| 2165 | |
| 2095 | 2166 | static INPUT_PORTS_START( goodluck ) |
| 2096 | 2167 | /* Multiplexed - 4x5bits */ |
| 2097 | 2168 | PORT_INCLUDE( goldnpkr ) |
| r250131 | r250132 | |
| 4552 | 4623 | |
| 4553 | 4624 | ROM_REGION( 0x1800, "gfx1", 0 ) |
| 4554 | 4625 | ROM_FILL( 0x0000, 0x1000, 0 ) /* filling the R-G bitplanes */ |
| 4555 | | ROM_LOAD( "0.bin", 0x1000, 0x0800, BAD_DUMP CRC(396ac32f) SHA1(14106f4c8765abd0192342de930b1f6656adb1b2) ) /* sldh - char ROM. need to be redumped */ |
| 4626 | ROM_LOAD( "0.bin", 0x1000, 0x0800, CRC(f54c6f43) SHA1(fe66542b95259c10f7954d52d1bd5747ce99df42) ) /* char ROM */ |
| 4556 | 4627 | |
| 4557 | 4628 | ROM_REGION( 0x1800, "gfx2", 0 ) |
| 4558 | 4629 | ROM_LOAD( "7.bin", 0x0000, 0x0800, CRC(f2f94661) SHA1(f37f7c0dff680fd02897dae64e13e297d0fdb3e7) ) /* cards deck gfx, bitplane1 */ |
| 4559 | 4630 | ROM_LOAD( "8.bin", 0x0800, 0x0800, CRC(6bbb1e2d) SHA1(51ee282219bf84218886ad11a24bc6a8e7337527) ) /* cards deck gfx, bitplane2 */ |
| 4560 | | ROM_LOAD( "9.bin", 0x1000, 0x0800, BAD_DUMP CRC(d5471775) SHA1(ce3953ef1a21db055f92a6eeb7a64ea32bb539da) ) /* cards deck gfx, bitplane3. need to be redumped */ |
| 4631 | ROM_LOAD( "9.bin", 0x1000, 0x0800, CRC(6e3e9b1d) SHA1(14eb8d14ce16719a6ad7d13db01e47c8f05955f0) ) /* cards deck gfx, bitplane3 */ |
| 4561 | 4632 | |
| 4562 | 4633 | ROM_REGION( 0x0100, "proms", 0 ) |
| 4563 | 4634 | ROM_LOAD( "n82s129n.9c", 0x0000, 0x0100, BAD_DUMP CRC(7f31066b) SHA1(15420780ec6b2870fc4539ec3afe4f0c58eedf12) ) /* PROM dump needed */ |
| r250131 | r250132 | |
| 10466 | 10537 | GAMEL( 198?, superdbl, pottnpkr, goldnpkr, goldnpkr, driver_device, 0, ROT0, "Karateco", "Super Double (French)", 0, layout_goldnpkr ) |
| 10467 | 10538 | GAMEL( 198?, ngold, pottnpkr, pottnpkr, ngold, driver_device, 0, ROT0, "<unknown>", "Jack Potten's Poker (NGold, set 1)", 0, layout_goldnpkr ) |
| 10468 | 10539 | GAMEL( 198?, ngolda, pottnpkr, pottnpkr, ngold, driver_device, 0, ROT0, "<unknown>", "Jack Potten's Poker (NGold, set 2)", 0, layout_goldnpkr ) |
| 10469 | | GAMEL( 198?, ngoldb, pottnpkr, pottnpkr, ngold, driver_device, 0, ROT0, "<unknown>", "Jack Potten's Poker (NGold, set 3)", MACHINE_IMPERFECT_GRAPHICS, layout_goldnpkr ) |
| 10540 | GAMEL( 198?, ngoldb, pottnpkr, pottnpkr, ngoldb, driver_device, 0, ROT0, "<unknown>", "Jack Potten's Poker (NGold, set 3)", 0, layout_goldnpkr ) |
| 10470 | 10541 | |
| 10471 | 10542 | GAMEL( 1991, witchcrd, 0, witchcrd, witchcrd, goldnpkr_state, vkdlsc, ROT0, "Video Klein?", "Witch Card (Video Klein CPU box, set 1)", 0, layout_goldnpkr ) |
| 10472 | 10543 | GAME( 1991, witchcda, witchcrd, witchcrd, witchcda, driver_device, 0, ROT0, "<unknown>", "Witch Card (Spanish, witch game, set 1)", 0 ) |