~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/funworld.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    * Royal Card (austrian, set 1),                     TAB-Austria,        1991.
37
37
    * Royal Card (austrian, set 2),                     TAB-Austria,        1991.
38
38
    * Royal Card (slovak, encrypted),                   Evona Electronic,   1991.
 
39
    * Royal Card Professional 2.0,                      Digital Dreams,     1993.
39
40
    * Lucky Lady (3x3 deal),                            TAB-Austria,        1991.
40
41
    * Lucky Lady (4x1 aces),                            TAB-Austria,        1991.
41
42
    * Magic Card II (bulgarian),                        Impera,             1996.
213
214
    The program has 2 hidden menues that allow change parameters without knowledge of the players.
214
215
 
215
216
 
 
217
     * Jolly Card (Evona Electronic)
 
218
 
 
219
    This set has some hidden features.
 
220
    In the service 2 screen, press service 1 to enter to a message edit mode.
 
221
 
 
222
 
216
223
    * Jolly Card (croatian sets) and Jolly Card Professional 2.0
217
224
 
218
225
    These games don't operate with regular coins/tokens. Only remote credits are allowed.
219
226
 
220
227
 
 
228
    * Royal Card Professional 2.0 (Digital Dreams)
 
229
 
 
230
    Same generated code as Jolly Card Professional.
 
231
 
 
232
 
221
233
    * Magic Card II (Impera)
222
234
 
223
235
    Impera made 2 graphics sets for this game. One of them is encrypted, and meant for the TAB blue board.
1012
1024
    - Added new sets: Bottle 10 (italian, set 1 & 2).
1013
1025
    - Updated technical notes.
1014
1026
 
 
1027
    [2009/09/09]
 
1028
    - Discovered and documented new features in Jolly Card (Evona Electronics).
 
1029
    - Removed the commented hack for joly980 driver init since is not needed anymore.
 
1030
    - Fixed a bug introduced with the massive input change, that didn't allow initialize
 
1031
      all sets that need the normal procedure to do it.
 
1032
    - Updated technical notes.
 
1033
 
1015
1034
 
1016
1035
    *** TO DO ***
1017
1036
 
1019
1038
    - Figure out the remaining PIA connections for almost all games.
1020
1039
    - Fix Saloon and move it to its own driver.
1021
1040
    - Fix the imperfect sound in Magic Card II.
1022
 
    - Reverse-engineering the boot code of Jolly Card Professional 2.0 to get the proper codes to boot.
 
1041
    - Reverse-engineering the boot code of Jolly Card Professional 2.0,
 
1042
      and Royal Card Professional 2.0 to get the proper codes to boot.
1023
1043
    - Analyze the unknown writes to $2000/$4000 in some games.
1024
1044
    - Check for the reads to the ay8910 output ports in some games.
1025
1045
    - Figure out the MCU in monglfir and soccernw.
1074
1094
 
1075
1095
static WRITE8_DEVICE_HANDLER(pia1_ca2_w)
1076
1096
{
1077
 
/* TAB and Impera games are writting 0x01 constantly, and 0x00 with each screen change */
 
1097
/* TAB and Impera games are writting 0x01 constantly, and 0x00 with each screen change.
 
1098
   This line is tied to sort of reset circuitery.
 
1099
*/
1078
1100
//  popmessage("PIA1 CA2: %02X", data);
1079
1101
}
1080
1102
 
1177
1199
 
1178
1200
static INPUT_PORTS_START( funworld )
1179
1201
        PORT_START("IN0")
1180
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1181
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Halten (Hold) 1") PORT_CODE(KEYCODE_Z)
1182
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Loeschen (Cancel) / Kassieren (Take)") PORT_CODE(KEYCODE_N)
1183
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Geben (Start) / Gamble (Play)")
1184
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1185
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Buchhalt (Service1)")
1186
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Einstellen (Service2)")
1187
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Halten (Hold) 4 / Hoch (High)") PORT_CODE(KEYCODE_V)
 
1202
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1203
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Halten (Hold) 1")
 
1204
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Loeschen (Cancel) / Kassieren (Take)")
 
1205
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Geben (Start) / Gamble (Play)")
 
1206
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Halten (Hold) 5 / Half Gamble")
 
1207
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )           PORT_NAME("Buchhalt (Service1)")
 
1208
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )           PORT_NAME("Einstellen (Service2)")
 
1209
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Halten (Hold) 4 / Hoch (High)")
1188
1210
 
1189
1211
        PORT_START("IN1")
1190
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Halten (Hold) 2 / Tief (Low)") PORT_CODE(KEYCODE_X)
1191
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Halten (Hold) 3") PORT_CODE(KEYCODE_C)
 
1212
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Halten (Hold) 2 / Tief (Low)")
 
1213
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Halten (Hold) 3")
1192
1214
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1193
1215
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1194
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
 
1216
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
1195
1217
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1196
1218
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1197
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
 
1219
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )      PORT_NAME("Abschreib (Payout)")
1198
1220
 
1199
1221
        PORT_START("IN2")
1200
1222
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1238
1260
 
1239
1261
static INPUT_PORTS_START( jolycdcr )
1240
1262
        PORT_START("IN0")
1241
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Navijanje (Remote)") PORT_CODE(KEYCODE_Q)
1242
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1243
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold") PORT_CODE(KEYCODE_N)
1244
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Djelenje (Start) / Gamble (Play)")
1245
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble") PORT_CODE(KEYCODE_B)
1246
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Konobar (Service1)")
1247
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Namjestit (Service2)")
1248
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop (Hold) 4 / Veca (High)") PORT_CODE(KEYCODE_V)
 
1263
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Navijanje (Remote)")
 
1264
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop (Hold) 1")
 
1265
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold")
 
1266
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Djelenje (Start) / Gamble (Play)")
 
1267
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble")
 
1268
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )           PORT_NAME("Konobar (Service1)")
 
1269
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )           PORT_NAME("Namjestit (Service2)")
 
1270
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop (Hold) 4 / Veca (High)")
1249
1271
 
1250
1272
        PORT_START("IN1")
1251
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop (Hold) 2 / Manja (Low)") PORT_CODE(KEYCODE_X)
1252
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
 
1273
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop (Hold) 2 / Manja (Low)")
 
1274
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop (Hold) 3")
1253
1275
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1254
1276
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1255
1277
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1256
1278
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1257
1279
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1258
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Vratiti Nazad (Payout)") PORT_CODE(KEYCODE_M)
 
1280
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )      PORT_NAME("Vratiti Nazad (Payout)")
1259
1281
 
1260
1282
        PORT_START("IN2")
1261
1283
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1299
1321
 
1300
1322
static INPUT_PORTS_START( jolycdit )
1301
1323
        PORT_START("IN0")
1302
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1303
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop (Hold) 1 / Alta (High)") PORT_CODE(KEYCODE_Z)
1304
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Clear / Doppio (Double) / Autohold") PORT_CODE(KEYCODE_N)
1305
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Start")
1306
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
 
1324
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1325
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop (Hold) 1 / Alta (High)")
 
1326
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Clear / Doppio (Double) / Autohold")
 
1327
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start")
 
1328
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop (Hold) 5 / Half Gamble")
1307
1329
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1308
1330
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1309
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop (Hold) 4 / Accredito (Take)") PORT_CODE(KEYCODE_V)
 
1331
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop (Hold) 4 / Accredito (Take)")
1310
1332
 
1311
1333
        PORT_START("IN1")
1312
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop (Hold) 2") PORT_CODE(KEYCODE_X)
1313
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop (Hold) 3 / Bassa (Low)") PORT_CODE(KEYCODE_C)
 
1334
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop (Hold) 2")
 
1335
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop (Hold) 3 / Bassa (Low)")
1314
1336
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1315
1337
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1316
1338
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1317
1339
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1318
1340
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1319
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1341
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1320
1342
 
1321
1343
        PORT_START("IN2")
1322
1344
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1359
1381
 
1360
1382
static INPUT_PORTS_START( jolycdib )
1361
1383
        PORT_START("IN0")
1362
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1363
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1364
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Cancel / Autohold / Accredito (Take)") PORT_CODE(KEYCODE_N)
1365
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Start / Doppio (Double)")
1366
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop (Hold) 5 / Bet / Half Gamble") PORT_CODE(KEYCODE_B)
 
1384
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1385
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop (Hold) 1")
 
1386
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Cancel / Autohold / Accredito (Take)")
 
1387
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start / Doppio (Double)")
 
1388
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop (Hold) 5 / Bet / Half Gamble")
1367
1389
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1368
1390
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1369
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop (Hold) 4 / Alta (High)") PORT_CODE(KEYCODE_V)
 
1391
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop (Hold) 4 / Alta (High)")
1370
1392
 
1371
1393
        PORT_START("IN1")
1372
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop (Hold) 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1373
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
1374
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("test1") PORT_CODE(KEYCODE_A)
1375
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("test2") PORT_CODE(KEYCODE_S)
1376
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("test3") PORT_CODE(KEYCODE_D)
 
1394
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop (Hold) 2 / Bassa (Low)")
 
1395
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop (Hold) 3")
 
1396
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("test1") PORT_CODE(KEYCODE_A)
 
1397
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("test2") PORT_CODE(KEYCODE_S)
 
1398
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("test3") PORT_CODE(KEYCODE_D)
1377
1399
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1378
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("test4") PORT_CODE(KEYCODE_F)
1379
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1400
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("test4") PORT_CODE(KEYCODE_F)
 
1401
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1380
1402
 
1381
1403
        PORT_START("IN2")
1382
1404
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1420
1442
 
1421
1443
static INPUT_PORTS_START( jolyc980 )
1422
1444
        PORT_START("IN0")
1423
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Navijanje (Remote)") PORT_CODE(KEYCODE_Q)
1424
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop (Hold) 1") PORT_CODE(KEYCODE_Z)
1425
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold") PORT_CODE(KEYCODE_N)
1426
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Djelenje (Start) / Gamble (Play)")
1427
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble") PORT_CODE(KEYCODE_B)
1428
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Konobar (Service1)")
1429
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Namjestit (Service2)")
1430
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop (Hold) 4 / Veca (High)") PORT_CODE(KEYCODE_V)
 
1445
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Navijanje (Remote)")
 
1446
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop (Hold) 1")
 
1447
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Ponistavange (Cancel) / Kasiranje (Take) / Autohold")
 
1448
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Djelenje (Start) / Gamble (Play)")
 
1449
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop (Hold) 5 / Ulog (Bet) / Half Gamble")
 
1450
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )           PORT_NAME("Konobar (Service1)")
 
1451
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )           PORT_NAME("Namjestit (Service2)")
 
1452
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop (Hold) 4 / Veca (High)")
1431
1453
 
1432
1454
        PORT_START("IN1")
1433
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop (Hold) 2 / Manja (Low)") PORT_CODE(KEYCODE_X)
1434
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop (Hold) 3") PORT_CODE(KEYCODE_C)
 
1455
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop (Hold) 2 / Manja (Low)")
 
1456
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop (Hold) 3")
1435
1457
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1436
1458
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1437
1459
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1438
1460
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
1439
1461
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1440
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Vratiti Nazad (Payout)") PORT_CODE(KEYCODE_M)
 
1462
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )      PORT_NAME("Vratiti Nazad (Payout)")
1441
1463
 
1442
1464
        PORT_START("IN2")
1443
1465
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
1478
1500
 
1479
1501
static INPUT_PORTS_START( bigdeal )
1480
1502
        PORT_START("IN0")
1481
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1482
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
1483
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Clear / Take") PORT_CODE(KEYCODE_N)
1484
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Start")
1485
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5 / Stake") PORT_CODE(KEYCODE_B)
 
1503
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1504
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Hold 1")
 
1505
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Clear / Take")
 
1506
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start")
 
1507
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Hold 5 / Stake")
1486
1508
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1487
1509
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1488
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4 / Nagy (High)") PORT_CODE(KEYCODE_V)
 
1510
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Hold 4 / Nagy (High)")
1489
1511
 
1490
1512
        PORT_START("IN1")
1491
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2 / Icsi (Low)") PORT_CODE(KEYCODE_X)
1492
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3 / Half Gamble") PORT_CODE(KEYCODE_C)
 
1513
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Hold 2 / Icsi (Low)")
 
1514
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Hold 3 / Half Gamble")
1493
1515
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1494
1516
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1495
1517
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1496
1518
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1497
1519
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1498
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1520
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1499
1521
 
1500
1522
        PORT_START("IN2")
1501
1523
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1540
1562
 
1541
1563
static INPUT_PORTS_START( magicrd2 )
1542
1564
        PORT_START("IN0")
1543
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1544
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z)
1545
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Clear / Take") PORT_CODE(KEYCODE_N)
1546
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Start")
1547
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5 / Stake") PORT_CODE(KEYCODE_B)
 
1565
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1566
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Hold 1")
 
1567
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Clear / Take")
 
1568
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start")
 
1569
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Hold 5 / Stake")
1548
1570
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1549
1571
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1550
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4 / High") PORT_CODE(KEYCODE_V)
 
1572
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Hold 4 / High")
1551
1573
 
1552
1574
        PORT_START("IN1")
1553
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2 / Low") PORT_CODE(KEYCODE_X)
1554
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C)
 
1575
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Hold 2 / Low")
 
1576
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Hold 3")
1555
1577
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1556
1578
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1557
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hopper SW") PORT_CODE(KEYCODE_8)
 
1579
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hopper SW") PORT_CODE(KEYCODE_H)
1558
1580
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1559
1581
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1560
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1582
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1561
1583
 
1562
1584
        PORT_START("IN2")
1563
1585
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1601
1623
 
1602
1624
static INPUT_PORTS_START( royalcrd )
1603
1625
        PORT_START("IN0")
1604
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1605
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Halten (Hold) 1 / Hoch (High)") PORT_CODE(KEYCODE_Z)
1606
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Loeschen/Gamble (Cancel/Play)") PORT_CODE(KEYCODE_N)
1607
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )  PORT_NAME("Geben (Start)")
1608
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1609
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Buchhalt (Service1)")
1610
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Einstellen (Service2)")
1611
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Halten (Hold) 4 / Kassieren (Take)") PORT_CODE(KEYCODE_V)
 
1626
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1627
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Halten (Hold) 1 / Hoch (High)")
 
1628
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Loeschen/Gamble (Cancel/Play)")
 
1629
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Geben (Start)")
 
1630
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Halten (Hold) 5 / Half Gamble")
 
1631
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )           PORT_NAME("Buchhalt (Service1)")
 
1632
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )           PORT_NAME("Einstellen (Service2)")
 
1633
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Halten (Hold) 4 / Kassieren (Take)")
1612
1634
 
1613
1635
        PORT_START("IN1")
1614
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Halten (Hold) 2") PORT_CODE(KEYCODE_X)
1615
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Halten (Hold) 3 / Tief (Low)") PORT_CODE(KEYCODE_C)
 
1636
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Halten (Hold) 2")
 
1637
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Halten (Hold) 3 / Tief (Low)")
1616
1638
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1617
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("unknown bit 08") PORT_CODE(KEYCODE_E)
1618
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
 
1639
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("unknown bit 08") PORT_CODE(KEYCODE_8)
 
1640
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
1619
1641
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1620
1642
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1621
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
 
1643
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )      PORT_NAME("Abschreib (Payout)")
1622
1644
 
1623
1645
        PORT_START("IN2")
1624
1646
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1663
1685
static INPUT_PORTS_START( cuoreuno )
1664
1686
        PORT_START("IN0")
1665
1687
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )    /* no remote credits */
1666
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop 1 / Switch Bet (1-Max)") PORT_CODE(KEYCODE_Z)
1667
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Clear / Bet / Prendi (Take)") PORT_CODE(KEYCODE_N)
1668
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Start / Gioca (Play)")
1669
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop 5 / Half Gamble / Super Game") PORT_CODE(KEYCODE_B)
 
1688
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop 1 / Switch Bet (1-Max)")
 
1689
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Clear / Bet / Prendi (Take)")
 
1690
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start / Gioca (Play)")
 
1691
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop 5 / Half Gamble / Super Game")
1670
1692
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1671
1693
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1672
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
 
1694
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop 4 / Alta (High)")
1673
1695
 
1674
1696
        PORT_START("IN1")
1675
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1676
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
1677
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
1678
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
 
1697
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop 2 / Bassa (Low)")
 
1698
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop 3")
 
1699
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
 
1700
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
1679
1701
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1680
1702
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1681
1703
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1682
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1704
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1683
1705
 
1684
1706
        PORT_START("IN2")
1685
1707
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1723
1745
static INPUT_PORTS_START( pool10 )
1724
1746
        PORT_START("IN0")
1725
1747
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )    /* no remote credits */
1726
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Stop 1 / Switch Bet (1-Max)") PORT_CODE(KEYCODE_Z)
1727
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Clear / Bet / Prendi (Take)") PORT_CODE(KEYCODE_N)
1728
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Start / Gioca (Play)")
1729
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Stop 5 / Half Gamble / Super Game") PORT_CODE(KEYCODE_B)
 
1748
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Stop 1 / Switch Bet (1-Max)")
 
1749
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Clear / Bet / Prendi (Take)")
 
1750
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Start / Gioca (Play)")
 
1751
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Stop 5 / Half Gamble / Super Game")
1730
1752
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
1731
1753
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )
1732
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Stop 4 / Alta (High)") PORT_CODE(KEYCODE_V)
 
1754
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Stop 4 / Alta (High)")
1733
1755
 
1734
1756
        PORT_START("IN1")
1735
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Stop 2 / Bassa (Low)") PORT_CODE(KEYCODE_X)
1736
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Stop 3") PORT_CODE(KEYCODE_C)
1737
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Ticket") PORT_CODE(KEYCODE_T)
1738
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
 
1757
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Stop 2 / Bassa (Low)")
 
1758
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Stop 3")
 
1759
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Ticket") PORT_CODE(KEYCODE_8)
 
1760
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hopper") PORT_CODE(KEYCODE_H)
1739
1761
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
1740
1762
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1741
1763
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1742
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Payout") PORT_CODE(KEYCODE_M)
 
1764
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )
1743
1765
 
1744
1766
        PORT_START("IN2")
1745
1767
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1781
1803
 
1782
1804
static INPUT_PORTS_START( jolyjkra )
1783
1805
        PORT_START("IN0")
1784
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Remote") PORT_CODE(KEYCODE_Q)
1785
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )    PORT_NAME("Halten (Hold) 1") PORT_CODE(KEYCODE_Z)
1786
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON6 )    PORT_NAME("Loeschen (Cancel) / Kassieren (Take)") PORT_CODE(KEYCODE_N)
1787
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )             PORT_NAME("Geben (Start) / Gamble (Play)")
1788
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )    PORT_NAME("Halten (Hold) 5 / Half Gamble") PORT_CODE(KEYCODE_B)
1789
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )   PORT_NAME("Buchhalt (Service1)")
1790
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )   PORT_NAME("Einstellen (Service2)")
1791
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 )    PORT_NAME("Halten (Hold) 4 / Hoch (High)") PORT_CODE(KEYCODE_V)
 
1806
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )       PORT_NAME("Remote")
 
1807
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )        PORT_NAME("Halten (Hold) 1")
 
1808
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_CANCEL )       PORT_NAME("Loeschen (Cancel) / Kassieren (Take)")
 
1809
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )                     PORT_NAME("Geben (Start) / Gamble (Play)")
 
1810
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 )        PORT_NAME("Halten (Hold) 5 / Half Gamble")
 
1811
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )           PORT_NAME("Buchhalt (Service1)")
 
1812
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE2 )           PORT_NAME("Einstellen (Service2)")
 
1813
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )        PORT_NAME("Halten (Hold) 4 / Hoch (High)")
1792
1814
 
1793
1815
        PORT_START("IN1")
1794
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )    PORT_NAME("Halten (Hold) 2 / Tief (Low)") PORT_CODE(KEYCODE_X)
1795
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )    PORT_NAME("Halten (Hold) 3") PORT_CODE(KEYCODE_C)
 
1816
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )        PORT_NAME("Halten (Hold) 2 / Tief (Low)")
 
1817
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )        PORT_NAME("Halten (Hold) 3")
1796
1818
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
1797
1819
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
1798
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )    PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_W)
 
1820
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE )            PORT_NAME("Hoppersch") PORT_CODE(KEYCODE_H)
1799
1821
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
1800
1822
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
1801
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON7 )    PORT_NAME("Abschreib (Payout)") PORT_CODE(KEYCODE_M)
 
1823
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT )      PORT_NAME("Abschreib (Payout)")
1802
1824
 
1803
1825
        PORT_START("IN2")
1804
1826
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
1942
1964
***********************/
1943
1965
 
1944
1966
static const pia6821_interface pia0_intf =
 
1967
/*
 
1968
    TAB light green board
 
1969
    ---------------------
 
1970
 
 
1971
                PIA 0                                       PIA 1
 
1972
         .--------u--------.                         .--------u--------.
 
1973
         |01 VSS     CA1 40|- GND                    |01 VSS     CA1 40|- GND
 
1974
         |02 PA0     CA2 39|- N/C                    |02 PA0     CA2 39|- RESET circuitery
 
1975
         |03 PA1   /IRQA 38|- N/C                    |03 PA1   /IRQA 38|- 04 CPU (65C02)
 
1976
         |04 PA2   /IRQB 37|- N/C                    |04 PA2   /IRQB 37|- N/C
 
1977
         |05 PA3    /RS0 36|- 10 ROM(PRG)            |05 PA3    /RS0 36|- 10 ROM(PRG)
 
1978
         |06 PA4    /RS1 35|- 09 ROM(PRG)            |06 PA4    /RS1 35|- 23 AY(SOUND)
 
1979
         |07 PA5  /RESET 34|- 09 GAL/PAL             |07 PA5  /RESET 34|- 37 AY(SOUND)
 
1980
         |08 PA6      D0 33|                         |08 PA6      D0 33|
 
1981
         |09 PA7      D1 32|                         |09 PA7      D1 32|
 
1982
         |10 PB0      D2 31|                         |10 PB0      D2 31|
 
1983
         |11 PB1      D3 30|                         |11 PB1      D3 30|
 
1984
         |12 PB2      D4 29|                         |12 PB2      D4 29|
 
1985
         |13 PB3      D5 28|                         |13 PB3      D5 28|
 
1986
         |14 PB4      D6 27|                         |14 PB4      D6 27|
 
1987
         |15 PB5      D7 26|                         |15 PB5      D7 26|
 
1988
         |16 PB6       E 25|                         |16 PB6       E 25|
 
1989
         |17 PB7     CS1 24|                         |17 PB7     CS1 24|
 
1990
    GND -|18 CB1    /CS2 23|                    N/C -|18 CB1    /CS2 23|
 
1991
    GND -|19 CB2     CS0 22|                    N/C -|19 CB2     CS0 22|
 
1992
         |20 VCC     R/W 21|                         |20 VCC     R/W 21|
 
1993
         '-----------------'                         '-----------------'
 
1994
 
 
1995
*/
1945
1996
{
1946
1997
        DEVCB_INPUT_PORT("IN0"),                /* port A in */
1947
1998
        DEVCB_INPUT_PORT("IN1"),                /* port B in */
2000
2051
        NULL,           /* before pixel update callback */
2001
2052
        NULL,           /* row update callback */
2002
2053
        NULL,           /* after pixel update callback */
2003
 
        NULL,           /* callback for display state changes */
2004
 
        NULL,           /* HSYNC callback */
2005
 
        NULL            /* VSYNC callback */
 
2054
        DEVCB_NULL,     /* callback for display state changes */
 
2055
        DEVCB_NULL,     /* callback for cursor state changes */
 
2056
        DEVCB_NULL,     /* HSYNC callback */
 
2057
        DEVCB_NULL,     /* VSYNC callback */
 
2058
        NULL            /* update address callback */
2006
2059
};
2007
2060
 
2008
2061
 
2066
2119
static MACHINE_DRIVER_START( royalcrd )
2067
2120
        MDRV_IMPORT_FROM(funworld)
2068
2121
 
2069
 
        MDRV_CPU_REPLACE("maincpu", M65C02, MASTER_CLOCK/8)     /* 2MHz */
 
2122
        MDRV_CPU_REPLACE("maincpu", M65C02, MASTER_CLOCK/8)     /* (G65SC02P in pro version) 2MHz */
2070
2123
        MDRV_CPU_PROGRAM_MAP(magicrd2_map)
2071
2124
MACHINE_DRIVER_END
2072
2125
 
2256
2309
        ROM_REGION( 0x10000, "maincpu", 0 )
2257
2310
        ROM_LOAD( "jolycard.run", 0x8000, 0x8000, CRC(f531dd10) SHA1(969191fbfeff4349afef619d9241ef5186e6d57f) )
2258
2311
 
2259
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2312
        ROM_REGION( 0x10000, "gfx1", 0 )
2260
2313
        ROM_LOAD( "jolycard.ch2", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2261
2314
        ROM_LOAD( "jolycard.ch1", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2262
2315
 
2268
2321
        ROM_REGION( 0x18000, "maincpu", 0 )
2269
2322
        ROM_LOAD( "pokeru0.bin", 0x8000, 0x10000, CRC(7732f177) SHA1(b75fca596a7315d1379fa5bcf07c449ec32c90f5) )
2270
2323
 
2271
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2324
        ROM_REGION( 0x20000, "gfx1", 0 )
2272
2325
        ROM_LOAD( "pokeru1.bin", 0x00000, 0x10000, CRC(878d695b) SHA1(0e1ea455e991e591316a340c56b23fa26764988d) )
2273
2326
        ROM_LOAD( "pokeru2.bin", 0x10000, 0x10000, CRC(b7b2946a) SHA1(25b15296b32bf88db6d60991105bba667f7940cc) )
2274
2327
        ROM_COPY( "gfx1",        0x10000, 0x00000, 0x8000 ) /* rgn, srcoffset, offset, length */
2281
2334
        ROM_REGION( 0x10000, "maincpu", 0 )
2282
2335
        ROM_LOAD( "jc3x3.bin", 0x8000, 0x8000, CRC(71e304ad) SHA1(238b792d841432582c94b21a674d46a95e8f3826) )
2283
2336
 
2284
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2337
        ROM_REGION( 0x10000, "gfx1", 0 )
2285
2338
        ROM_LOAD( "jolycard.ch2", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2286
2339
        ROM_LOAD( "jolycard.ch1", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2287
2340
 
2293
2346
        ROM_REGION( 0x10000, "maincpu", 0 )
2294
2347
        ROM_LOAD( "j980.bin", 0x8000, 0x8000, CRC(48249fff) SHA1(390cd0eb3399446a66363dc6760458170e1970fd) )
2295
2348
 
2296
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2349
        ROM_REGION( 0x10000, "gfx1", 0 )
2297
2350
        ROM_LOAD( "jolycard.ch2", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2298
2351
        ROM_LOAD( "jolycard.ch1", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2299
2352
 
2305
2358
        ROM_REGION( 0x10000, "maincpu", 0 )
2306
2359
        ROM_LOAD( "lipa.bin", 0x8000, 0x8000, CRC(62657c98) SHA1(237466dde26540c119c631c75f51c87ea59d1a91) )
2307
2360
 
2308
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2361
        ROM_REGION( 0x10000, "gfx1", 0 )
2309
2362
        ROM_LOAD( "jollyb.bin", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2310
2363
        ROM_LOAD( "jollya.bin", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2311
2364
 
2320
2373
        ROM_REGION( 0x10000, "maincpu", 0 )
2321
2374
        ROM_LOAD( "jollyc.bin", 0x8000, 0x8000, CRC(8926d99d) SHA1(dd5d1ac03d30d823dfcfe1349328ecb7afbc37fa) )
2322
2375
 
2323
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2376
        ROM_REGION( 0x10000, "gfx1", 0 )
2324
2377
        ROM_LOAD( "jollyb.bin", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2325
2378
        ROM_LOAD( "jollya.bin", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2326
2379
 
2332
2385
        ROM_REGION( 0x10000, "maincpu", 0 )
2333
2386
        ROM_LOAD( "jollypkr.003", 0x8000, 0x8000, CRC(ea7340b4) SHA1(7dd468f28a488a4781521809d06db1d7917048ad) )
2334
2387
 
2335
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2388
        ROM_REGION( 0x10000, "gfx1", 0 )
2336
2389
        ROM_LOAD( "jolycard.ch2", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2337
2390
        ROM_LOAD( "jolycard.ch1", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2338
2391
 
2344
2397
        ROM_REGION( 0x10000, "maincpu", 0 )
2345
2398
        ROM_LOAD( "jn.bin", 0x8000, 0x8000, CRC(6ae00ed0) SHA1(5921c2882aeb5eadd0e04a477fa505ad35e9d98c) )
2346
2399
 
2347
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2400
        ROM_REGION( 0x10000, "gfx1", 0 )
2348
2401
        ROM_LOAD( "2.bin", 0x0000, 0x8000, CRC(46805150) SHA1(63687ac44f6ace6d8924b2629536bcc7d3979ed2) )
2349
2402
        ROM_LOAD( "1.bin", 0x8000, 0x8000, CRC(43bcb2df) SHA1(5022bc3a0b852a7cd433e25c3c90a720e6328261) )
2350
2403
 
2368
2421
        ROM_REGION( 0x10000, "maincpu", 0 )
2369
2422
        ROM_LOAD( "3.bin", 0x8000, 0x8000, CRC(c76fdc79) SHA1(fc75c274d64fa9c99a546d424f38e79f1acf2576) )
2370
2423
 
2371
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2424
        ROM_REGION( 0x10000, "gfx1", 0 )
2372
2425
        ROM_LOAD( "2.bin", 0x0000, 0x8000, CRC(46805150) SHA1(63687ac44f6ace6d8924b2629536bcc7d3979ed2) )
2373
2426
        ROM_LOAD( "1.bin", 0x8000, 0x8000, CRC(43bcb2df) SHA1(5022bc3a0b852a7cd433e25c3c90a720e6328261) )
2374
2427
 
2383
2436
        ROM_REGION( 0x10000, "maincpu", 0 )
2384
2437
        ROM_LOAD( "sj3.bin", 0x8000, 0x8000, CRC(c530b518) SHA1(36934d8e1e2cb2f71eb44a05b86ec970c9f398cd) )
2385
2438
 
2386
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2439
        ROM_REGION( 0x10000, "gfx1", 0 )
2387
2440
        ROM_LOAD( "sj2.bin", 0x0000, 0x8000, CRC(d7253325) SHA1(ad40e662519da9b11f77690b7d41c5007f74e280) )
2388
2441
        ROM_LOAD( "sj1.bin", 0x8000, 0x8000, CRC(82741749) SHA1(d0bf3073dff9ba1c4913fd754f965951e9cb5b03) )
2389
2442
 
2399
2452
        ROM_LOAD( "ig1poker.run", 0x8000, 0x8000, CRC(c96e6542) SHA1(ed6c0cf9fe8597dba9149b2225320d8d9c39219a) )
2400
2453
//  ROM_RELOAD(               0x4000, 0x4000 )
2401
2454
 
2402
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2455
        ROM_REGION( 0x10000, "gfx1", 0 )
2403
2456
        ROM_LOAD( "jn1poker.ch2", 0x0000, 0x8000, CRC(8d78e43d) SHA1(15c60f8e0cd88518b0dc72b92aff6d8d4b2149cf) )
2404
2457
        ROM_LOAD( "jn1poker.ch1", 0x8000, 0x8000, CRC(d0a87f58) SHA1(6b7925557c4e40a1ebe52ecd14391cdd5e00b59a) )
2405
2458
 
2411
2464
        ROM_REGION( 0x10000, "maincpu", 0 )
2412
2465
        ROM_LOAD( "poker4.001", 0x8000, 0x8000, CRC(bb0198c1) SHA1(6e7d42beb5723a4368ae3788f83b448f86e5653d) )
2413
2466
 
2414
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2467
        ROM_REGION( 0x10000, "gfx1", 0 )
2415
2468
        ROM_LOAD( "poker4.003", 0x0000, 0x8000, CRC(8c33a15f) SHA1(a1c8451c99a23eeffaedb21d1a1b69f54629f8ab) )
2416
2469
        ROM_LOAD( "poker4.002", 0x8000, 0x8000, CRC(5f4e12d8) SHA1(014b2364879faaf4922cdb82ee07692389f20c2d) )
2417
2470
 
2423
2476
        ROM_REGION( 0x10000, "maincpu", 0 )
2424
2477
        ROM_LOAD( "poker8.003", 0x8000, 0x8000, CRC(09c93745) SHA1(a64e96ef3489bc37c2c642f49e62cfef371de6f1) )
2425
2478
 
2426
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2479
        ROM_REGION( 0x10000, "gfx1", 0 )
2427
2480
        ROM_LOAD( "poker4.003", 0x0000, 0x8000, CRC(8c33a15f) SHA1(a1c8451c99a23eeffaedb21d1a1b69f54629f8ab) )
2428
2481
        ROM_LOAD( "poker4.002", 0x8000, 0x8000, CRC(5f4e12d8) SHA1(014b2364879faaf4922cdb82ee07692389f20c2d) )
2429
2482
 
2436
2489
        ROM_LOAD( "bonucard.cpu", 0x8000, 0x4000, CRC(da342100) SHA1(451fa6074aad19e9efd148c3d18115a20a3d344a) )
2437
2490
        ROM_CONTINUE(                     0xc000, 0x4000 )
2438
2491
 
2439
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2492
        ROM_REGION( 0x10000, "gfx1", 0 )
2440
2493
        ROM_LOAD( "jolycard.ch2", 0x0000, 0x8000, CRC(c512b103) SHA1(1f4e78e97855afaf0332fb75e1b5571aafd01c29) )
2441
2494
        ROM_LOAD( "jolycard.ch1", 0x8000, 0x8000, CRC(0f24f39d) SHA1(ac1f6a8a4a2a37cbc0d45c15187b33c25371bffb) )
2442
2495
 
2448
2501
        ROM_REGION( 0x10000, "maincpu", 0 )
2449
2502
        ROM_LOAD( "cuore1a.u2", 0x8000, 0x8000, CRC(6e112184) SHA1(283ac534fc1cb33d11bbdf3447630333f2fc957f) )
2450
2503
 
2451
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2504
        ROM_REGION( 0x10000, "gfx1", 0 )
2452
2505
        ROM_LOAD( "cuore1b.u21", 0x0000, 0x8000, CRC(14eca2b8) SHA1(35cba415800c6cd3e6ed9946057f33510ad2bfc9) )
2453
2506
        ROM_LOAD( "cuore1c.u22", 0x8000, 0x8000, CRC(253fac84) SHA1(1ad104ab8e8d73df6397a840a4b26565b245d7a3) )
2454
2507
 
2465
2518
        ROM_REGION( 0x18000, "maincpu", 0 )
2466
2519
        ROM_LOAD( "eleph_a.u2", 0x8000, 0x10000, CRC(8392b842) SHA1(74c850c734ca8174167b2f826b9b1ac902669392) )
2467
2520
 
2468
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2521
        ROM_REGION( 0x20000, "gfx1", 0 )
2469
2522
        ROM_LOAD( "eleph_c.u22", 0x00000, 0x10000, CRC(4b909bf3) SHA1(a822b12126bc58af6d3f999ab2117370015a039b) )
2470
2523
        ROM_LOAD( "eleph_b.u21", 0x10000, 0x10000, CRC(e3612670) SHA1(beb65f7d2bd6d7bc68cfd876af51910cf6417bd0) )
2471
2524
        ROM_COPY( "gfx1",        0x10000, 0x00000, 0x8000 ) /* rgn, srcoffset, offset, length */
2483
2536
        ROM_REGION( 0x10000, "maincpu", 0 )
2484
2537
        ROM_LOAD( "now.u2", 0x8000, 0x8000, CRC(7b537ce6) SHA1(b221d08c53b9e14178335632420e78070b9cfb27) )
2485
2538
 
2486
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2539
        ROM_REGION( 0x10000, "gfx1", 0 )
2487
2540
        ROM_LOAD( "elephb.u21", 0x0000, 0x8000, CRC(3c60549c) SHA1(c839b3ea415a877e5eac04e0522c342cce8d6e64) )
2488
2541
        ROM_LOAD( "elephc.u20", 0x8000, 0x8000, CRC(448ba955) SHA1(2785cbc8cd42a7dda85bd8b81d5fbec01a1ba0bd) )
2489
2542
 
2500
2553
        ROM_REGION( 0x10000, "maincpu", 0 )
2501
2554
        ROM_LOAD( "pool10.u2", 0x8000, 0x8000, CRC(4e928756) SHA1(d9ac3d41ea32e060a7e269502b7f22333c5e6c61) )
2502
2555
 
2503
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2556
        ROM_REGION( 0x10000, "gfx1", 0 )
2504
2557
        ROM_LOAD( "2.u21", 0x0000, 0x8000, CRC(99c8c074) SHA1(f8082b08e895cbcd028a2b7cd961a7a2c8b2762c) )
2505
2558
        ROM_LOAD( "1.u20", 0x8000, 0x8000, CRC(9abedd0c) SHA1(f184a82e8ec2387069d631bcb77e890acd44b3f5) )
2506
2559
 
2518
2571
        ROM_LOAD( "u2.bin", 0x8000, 0x10000, CRC(64fee38e) SHA1(8a624a0b6eb4a3ba09e5b396dc5a01994dfdf294) )
2519
2572
 
2520
2573
        /* GFX ROMs are the same of pool10, but double sized with identical halves. */
2521
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2574
        ROM_REGION( 0x20000, "gfx1", 0 )
2522
2575
        ROM_LOAD( "u20.bin", 0x00000, 0x10000, CRC(3bdf1106) SHA1(fa21cbd49bb27ea4a784cf4e4b3fbd52650a285b) )
2523
2576
        ROM_LOAD( "u21.bin", 0x10000, 0x10000, CRC(581c4878) SHA1(5ae61af090feea1745e22f46b33b2c01e6013fbe) )
2524
2577
        ROM_COPY( "gfx1",        0x10000, 0x00000, 0x8000 ) /* rgn, srcoffset, offset, length */
2536
2589
        ROM_REGION( 0x10000, "maincpu", 0 )
2537
2590
        ROM_LOAD( "a.u2", 0x8000, 0x8000, CRC(ac157b17) SHA1(f2b7eb940273bc404d3e0d8dd0f00ca757cebf69) )
2538
2591
 
2539
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2592
        ROM_REGION( 0x10000, "gfx1", 0 )
2540
2593
        ROM_LOAD( "b.u21", 0x0000, 0x8000, CRC(99c8c074) SHA1(f8082b08e895cbcd028a2b7cd961a7a2c8b2762c) )
2541
2594
        ROM_LOAD( "c.u20", 0x8000, 0x8000, CRC(9abedd0c) SHA1(f184a82e8ec2387069d631bcb77e890acd44b3f5) )
2542
2595
 
2553
2606
        ROM_REGION( 0x18000, "maincpu", 0 )
2554
2607
        ROM_LOAD( "3.50.u2", 0x8000, 0x10000, CRC(4c68e1f4) SHA1(bbab63a18e0c041ce519daa32e12dd1b6a672dce) )
2555
2608
 
2556
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2609
        ROM_REGION( 0x10000, "gfx1", 0 )
2557
2610
        ROM_LOAD( "2.u21", 0x0000, 0x8000, CRC(99c8c074) SHA1(f8082b08e895cbcd028a2b7cd961a7a2c8b2762c) )
2558
2611
        ROM_LOAD( "1.u20", 0x8000, 0x8000, CRC(9abedd0c) SHA1(f184a82e8ec2387069d631bcb77e890acd44b3f5) )
2559
2612
 
2570
2623
        ROM_REGION( 0x10000, "maincpu", 0 )
2571
2624
        ROM_LOAD( "tortu.a.u2", 0x8000, 0x8000, CRC(6e112184) SHA1(283ac534fc1cb33d11bbdf3447630333f2fc957f) )
2572
2625
 
2573
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2626
        ROM_REGION( 0x10000, "gfx1", 0 )
2574
2627
        ROM_LOAD( "tortu.b.u21", 0x0000, 0x8000, CRC(e7b18584) SHA1(fa1c367469d4ced5d7c83c15a25ec5fd6afcca10) )
2575
2628
        ROM_LOAD( "tortu.c.u20", 0x8000, 0x8000, CRC(3cda6f73) SHA1(b4f3d2d3c652ebf6973358ae33b7808de5939acd) )
2576
2629
 
2587
2640
        ROM_REGION( 0x10000, "maincpu", 0 )
2588
2641
        ROM_LOAD( "now.u2", 0x8000, 0x8000, CRC(7b537ce6) SHA1(b221d08c53b9e14178335632420e78070b9cfb27) )
2589
2642
 
2590
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2643
        ROM_REGION( 0x10000, "gfx1", 0 )
2591
2644
        ROM_LOAD( "potg.b.u21", 0x0000, 0x8000, CRC(32fc1d4f) SHA1(cc533a44498338bc0cbb7c7b9c42559ce7ff1337) )
2592
2645
        ROM_LOAD( "potg.c.u20", 0x8000, 0x8000, CRC(0331eb42) SHA1(a8e838d644fc6d93a9632070b305e44e4242ce94) )
2593
2646
 
2604
2657
        ROM_REGION( 0x10000, "maincpu", 0 )
2605
2658
        ROM_LOAD( "boat_3.bin", 0x8000, 0x8000, CRC(e2db8334) SHA1(22ac4ce361a93b7e6d491e260635755dd562b294) )
2606
2659
 
2607
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2660
        ROM_REGION( 0x10000, "gfx1", 0 )
2608
2661
        ROM_LOAD( "boat_2.bin", 0x0000, 0x8000, CRC(a6b36c3f) SHA1(90b12d9552ad5dbf11a30fc7451da1f3e6763cc3) )
2609
2662
        ROM_LOAD( "boat_1.bin", 0x8000, 0x8000, CRC(61fd8c19) SHA1(eb8fd8bd7de38a6c8a435e9e36daf699162138a5) )
2610
2663
 
2621
2674
        ROM_REGION( 0x10000, "maincpu", 0 )
2622
2675
        ROM_LOAD( "3.u2", 0x8000, 0x8000, CRC(e2db8334) SHA1(22ac4ce361a93b7e6d491e260635755dd562b294) )
2623
2676
 
2624
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2677
        ROM_REGION( 0x10000, "gfx1", 0 )
2625
2678
        ROM_LOAD( "2.u21", 0x0000, 0x8000, CRC(9395c15b) SHA1(e4caefc6f55b07f5c4370a3b8652fa93e08987ce) )
2626
2679
        ROM_LOAD( "1.u20", 0x8000, 0x8000, CRC(61fd8c19) SHA1(eb8fd8bd7de38a6c8a435e9e36daf699162138a5) )
2627
2680
 
2638
2691
        ROM_REGION( 0x10000, "maincpu", 0 )
2639
2692
        ROM_LOAD( "r2.bin", 0x8000, 0x8000, CRC(25dfe0dc) SHA1(1a857a910d0c34b6b5bfc2b6ea2e08ed8ed0cae0) )
2640
2693
 
2641
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2694
        ROM_REGION( 0x10000, "gfx1", 0 )
2642
2695
        ROM_LOAD( "2.bin", 0x0000, 0x8000, CRC(85e77661) SHA1(7d7a765c1bfcfeb9eb91d2519b22d734f20eab24) )
2643
2696
        ROM_LOAD( "1.bin", 0x8000, 0x8000, CRC(41f7a0b3) SHA1(9aff2b8832d2a4f868daa9849a0bfe5e44f88fc0) )
2644
2697
 
2656
2709
        ROM_LOAD( "rc.bin", 0x10000, 0x10000, CRC(8a9a6dd6) SHA1(04c3f9f17d5404ac1414c51ef8f930df54530e72) )
2657
2710
        ROM_COPY( "maincpu",    0x18000, 0x8000, 0x8000 )
2658
2711
 
2659
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2712
        ROM_REGION( 0x20000, "gfx1", 0 )
2660
2713
        ROM_LOAD( "1a.bin", 0x0000, 0x10000, CRC(8a66f22c) SHA1(67d6e8f8f5a0fd979dc498ba2cc67cf707ccdf95) )
2661
2714
        ROM_LOAD( "2a.bin", 0x10000, 0x10000, CRC(3af71cf8) SHA1(3a0ce0d0abebf386573c5936545dada1d3558e55) )
2662
2715
        ROM_COPY( "gfx1",        0x10000, 0x00000, 0x8000 )     /* rgn, srcoffset, offset, length */
2672
2725
        ROM_REGION( 0x10000, "maincpu", 0 )
2673
2726
        ROM_LOAD( "rc_1.bin", 0x8000, 0x8000, CRC(8cdcc978) SHA1(489b58760a7c8646399c8cdfb86ec4341823e7dd) )
2674
2727
 
2675
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2728
        ROM_REGION( 0x10000, "gfx1", 0 )
2676
2729
        ROM_LOAD( "rc_3.bin", 0x0000, 0x8000, CRC(8612c6ed) SHA1(3306a252af479e0510f136020086015b60dce879) )
2677
2730
        ROM_LOAD( "rc_2.bin", 0x8000, 0x8000, CRC(7f934488) SHA1(c537a09ef7e88a81ee9c2e1d971b3caf9d3dba0e) )
2678
2731
 
2685
2738
        ROM_LOAD( "2-peel18cv8p.bin",   0x0400, 0x0155, NO_DUMP )       /* not present in the set */
2686
2739
ROM_END
2687
2740
 
 
2741
ROM_START( royalcdp )
 
2742
        ROM_REGION( 0x10000, "maincpu", 0 )
 
2743
        ROM_LOAD( "u16_m27c256b.bin", 0x8000, 0x8000, CRC(162996ff) SHA1(122c13ee9842e692d31490f216eb972df2321b7f) )
 
2744
 
 
2745
        ROM_REGION( 0x10000, "gfx1", 0 )
 
2746
        ROM_LOAD( "u11_tms27c256.bin",0x0000, 0x8000, CRC(d6834c3a) SHA1(4b071b9826c086439b9763393b23c671261b3788) )
 
2747
        ROM_LOAD( "u4_nmc27c256.bin", 0x8000, 0x8000, CRC(41f7a0b3) SHA1(9aff2b8832d2a4f868daa9849a0bfe5e44f88fc0) )
 
2748
 
 
2749
        ROM_REGION( 0x0200, "proms", 0 )
 
2750
        ROM_LOAD( "n82s147a.bin",     0x0000, 0x0200, CRC(8bc86f48) SHA1(4c677ab9314a1f571e35104b22659e6811aeb194) )
 
2751
 
 
2752
        ROM_REGION( 0x0200, "plds", 0 ) /* correct PAL dump */
 
2753
        ROM_LOAD( "palce16v8h_1.bin", 0x0000, 0x0117, CRC(c89d2f52) SHA1(f9d52d9c42ef95b7b85bbf6d09888ebdeac11fd3) )
 
2754
ROM_END
 
2755
 
2688
2756
ROM_START( lluck3x3 )
2689
2757
        ROM_REGION( 0x10000, "maincpu", 0 )
2690
2758
        ROM_LOAD( "l3x3.bin", 0x8000, 0x8000, CRC(dbdb07ff) SHA1(6be43aa0b2c10d83373f20f477606cb031bc6dd9) )
2691
2759
 
2692
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2760
        ROM_REGION( 0x10000, "gfx1", 0 )
2693
2761
        ROM_LOAD( "l2.bin", 0x0000, 0x8000, CRC(8ca90a8f) SHA1(bc3db3f8c097f89eff488e3aca39bf24ff2b5cff) )
2694
2762
        ROM_LOAD( "l1.bin", 0x8000, 0x8000, CRC(beadc35c) SHA1(8a6a5954a827def8c4c3b904d8ee58a4bde53d85) )
2695
2763
 
2701
2769
        ROM_REGION( 0x10000, "maincpu", 0 )
2702
2770
        ROM_LOAD( "rk4x1.bin", 0x8000, 0x8000, CRC(37f8a355) SHA1(a6eb4c53464e373bdecbbaaf146f5f7cf66b4bcd) )
2703
2771
 
2704
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2772
        ROM_REGION( 0x10000, "gfx1", 0 )
2705
2773
        ROM_LOAD( "l2.bin", 0x0000, 0x8000, CRC(8ca90a8f) SHA1(bc3db3f8c097f89eff488e3aca39bf24ff2b5cff) )
2706
2774
        ROM_LOAD( "l1.bin", 0x8000, 0x8000, CRC(beadc35c) SHA1(8a6a5954a827def8c4c3b904d8ee58a4bde53d85) )
2707
2775
 
2711
2779
 
2712
2780
ROM_START( magicrd2 )   /* Impera */
2713
2781
        ROM_REGION( 0x18000, "maincpu", 0 )
2714
 
    ROM_LOAD( "magicard.004", 0x0000, 0x8000,  CRC(f6e948b8) SHA1(7d5983015a508ab135ccbf69b7f3c526c229e3ef) ) /* only last 16kbyte visible? */
 
2782
        ROM_LOAD( "magicard.004", 0x0000, 0x8000,  CRC(f6e948b8) SHA1(7d5983015a508ab135ccbf69b7f3c526c229e3ef) ) /* only last 16kbyte visible? */
2715
2783
        ROM_LOAD( "magicard.01",  0x8000, 0x10000, CRC(c94767d4) SHA1(171ac946bdf2575f9e4a31e534a8e641597af519) ) /* 1st and 2nd half identical */
2716
2784
 
2717
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2785
        ROM_REGION( 0x10000, "gfx1", 0 )
2718
2786
        ROM_LOAD( "mc2gr2.bin",   0x0000, 0x8000, CRC(733da697) SHA1(45122c64d5a371ec91cecc67b7faf179078e714d) )
2719
2787
        ROM_LOAD( "mc2gr1.bin",   0x8000, 0x8000, CRC(2406b8d2) SHA1(e9d7a25562fd5adee351d7ef6ba02fff6aab021a) )
2720
2788
 
2727
2795
 
2728
2796
ROM_START( magicd2a )   /* for green TAB or Impera boards */
2729
2797
        ROM_REGION( 0x10000, "maincpu", 0 )
2730
 
    ROM_LOAD( "mc2prgv1.bin", 0x8000, 0x8000,  CRC(7f759b70) SHA1(23a1a6e8eda57c4a90c51a970302f9a7bf590083) )
 
2798
        ROM_LOAD( "mc2prgv1.bin", 0x8000, 0x8000,  CRC(7f759b70) SHA1(23a1a6e8eda57c4a90c51a970302f9a7bf590083) )
2731
2799
//    ROM_LOAD( "mc2prgv2.bin", 0x8000, 0x8000,  CRC(b0ed6b40) SHA1(7167e67608f1b0b1cd956c838dacc1310861cb4a) )
2732
2800
 
2733
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2801
        ROM_REGION( 0x10000, "gfx1", 0 )
2734
2802
        ROM_LOAD( "mc2gr2.bin",   0x0000, 0x8000, CRC(733da697) SHA1(45122c64d5a371ec91cecc67b7faf179078e714d) )
2735
2803
        ROM_LOAD( "mc2gr1.bin",   0x8000, 0x8000, CRC(2406b8d2) SHA1(e9d7a25562fd5adee351d7ef6ba02fff6aab021a) )
2736
2804
 
2744
2812
ROM_START( magicd2b )   /* for blue TAB board (encrypted)*/
2745
2813
        ROM_REGION( 0x10000, "maincpu", 0 )
2746
2814
//    ROM_LOAD( "mc2prgv1.bin", 0x8000, 0x8000,  CRC(7f759b70) SHA1(23a1a6e8eda57c4a90c51a970302f9a7bf590083) )
2747
 
    ROM_LOAD( "mc2prgv2.bin", 0x8000, 0x8000,  CRC(b0ed6b40) SHA1(7167e67608f1b0b1cd956c838dacc1310861cb4a) )
 
2815
        ROM_LOAD( "mc2prgv2.bin", 0x8000, 0x8000,  CRC(b0ed6b40) SHA1(7167e67608f1b0b1cd956c838dacc1310861cb4a) )
2748
2816
 
2749
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2817
        ROM_REGION( 0x10000, "gfx1", 0 )
2750
2818
        ROM_LOAD( "mc2gr1b.bin",  0x0000, 0x8000, CRC(ce2629a7) SHA1(84767ed5da8dcee44a210255537e10372bcc264b) )
2751
2819
        ROM_LOAD( "mc2gr2b.bin",  0x8000, 0x8000, CRC(d2bf8bde) SHA1(975b8f43a0396c09e357b96d5ae7381b12152b9e) )
2752
2820
 
2761
2829
        ROM_REGION( 0x10000, "maincpu", 0 )
2762
2830
        ROM_LOAD( "vslow.bin", 0x8000, 0x8000, CRC(9cb7861a) SHA1(f934eacd5b3573a6bbeaa827f521b4a498e5bcdf) )
2763
2831
 
2764
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2832
        ROM_REGION( 0x10000, "gfx1", 0 )
2765
2833
        ROM_LOAD( "v2.bin", 0x0000, 0x8000, CRC(af7ab460) SHA1(01ea400424152c09c10eb83a1bd569019969ccb7) )
2766
2834
        ROM_LOAD( "v1.bin", 0x8000, 0x8000, CRC(23e0d1c6) SHA1(98967b14d3264c444a1dfbd15c57cde70f41f09d) )
2767
2835
 
2773
2841
        ROM_REGION( 0x10000, "maincpu", 0 )
2774
2842
        ROM_LOAD( "vfast.bin", 0x8000, 0x8000, CRC(87dfb28d) SHA1(9a06e695e59722b6c97e5a9fd2c8b238661e5a4a) )
2775
2843
 
2776
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2844
        ROM_REGION( 0x10000, "gfx1", 0 )
2777
2845
        ROM_LOAD( "v2.bin", 0x0000, 0x8000, CRC(af7ab460) SHA1(01ea400424152c09c10eb83a1bd569019969ccb7) )
2778
2846
        ROM_LOAD( "v1.bin", 0x8000, 0x8000, CRC(23e0d1c6) SHA1(98967b14d3264c444a1dfbd15c57cde70f41f09d) )
2779
2847
 
2785
2853
        ROM_REGION( 0x10000, "maincpu", 0 )
2786
2854
        ROM_LOAD( "ch3.bin", 0x8000, 0x8000, CRC(87dfb28d) SHA1(9a06e695e59722b6c97e5a9fd2c8b238661e5a4a) )
2787
2855
 
2788
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2856
        ROM_REGION( 0x10000, "gfx1", 0 )
2789
2857
        ROM_LOAD( "ch2.bin", 0x0000, 0x8000, CRC(af7ab460) SHA1(01ea400424152c09c10eb83a1bd569019969ccb7) )
2790
2858
        ROM_LOAD( "ch1.bin", 0x8000, 0x8000, CRC(0a3679c0) SHA1(ce8a067e1a2eccf9fabb16733ef3a14e0e8129e5) )     /* X & Y in txt layer */
2791
2859
 
2797
2865
        ROM_REGION( 0x10000, "maincpu", 0 )
2798
2866
        ROM_LOAD( "impera3orig.bin", 0x8000, 0x8000, CRC(ceb3a0d5) SHA1(25efae9f225abddfa663e6abcc91801996e5b0ea) )
2799
2867
 
2800
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2868
        ROM_REGION( 0x10000, "gfx1", 0 )
2801
2869
        ROM_LOAD( "impera2.bin", 0x0000, 0x8000, BAD_DUMP CRC(57c1ca04) SHA1(9d3e1f50795ebe5997532b67ba467fd6428e81d2) )
2802
2870
        ROM_LOAD( "impera1.bin", 0x8000, 0x8000, CRC(8e354c4a) SHA1(95d7edf83bb07b5c58312af6d8a7dff1cf87cba7) )
2803
2871
 
2809
2877
        ROM_REGION( 0x10000, "maincpu", 0 )
2810
2878
        ROM_LOAD( "impera50.bin", 0x8000, 0x8000, CRC(7effc044) SHA1(961438e7fb8222296fb959b510cdf646e4ac3226) )
2811
2879
 
2812
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2880
        ROM_REGION( 0x10000, "gfx1", 0 )
2813
2881
        ROM_LOAD( "impera2.bin", 0x0000, 0x8000, BAD_DUMP CRC(57c1ca04) SHA1(9d3e1f50795ebe5997532b67ba467fd6428e81d2) )
2814
2882
        ROM_LOAD( "impera1.bin", 0x8000, 0x8000, CRC(8e354c4a) SHA1(95d7edf83bb07b5c58312af6d8a7dff1cf87cba7) )
2815
2883
 
2823
2891
    Seems to be a Big Deal clone.
2824
2892
*/
2825
2893
        ROM_REGION( 0x18000, "maincpu", 0 )
2826
 
    ROM_LOAD( "ic41.bin",   0x8000,  0x8000, CRC(d36188b3) SHA1(3fb848fabbbde9fbb70875b3dfef62bfb3a8cbcb) ) /* only last 16kbyte visible? */
 
2894
        ROM_LOAD( "ic41.bin",   0x8000,  0x8000, CRC(d36188b3) SHA1(3fb848fabbbde9fbb70875b3dfef62bfb3a8cbcb) ) /* only last 16kbyte visible? */
2827
2895
        ROM_LOAD( "ic37.bin",   0x10000, 0x8000, CRC(8e0d70c4) SHA1(018f92631acbe98e5826a41698f0e07b4b46cd71) ) /* 1st and 2nd half identical */
2828
2896
        ROM_COPY( "maincpu",    0x10000, 0xc000, 0x4000 ) /* rgn, srcoffset, offset, length */
2829
2897
 
2830
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2898
        ROM_REGION( 0x10000, "gfx1", 0 )
2831
2899
        ROM_LOAD( "ic10.bin",   0x0000, 0x8000, CRC(2bbd27ad) SHA1(37d37899398d95beac5f3cbffc4277c97aca1a23) )
2832
2900
        ROM_LOAD( "ic11.bin",   0x8000, 0x8000, CRC(21d05a57) SHA1(156c18ec31b08e4c4af6f73b49cb5d5c68d1670f) ) /* bad dump?, or sprite plane */
2833
2901
 
2843
2911
        ROM_REGION( 0x10000, "cpu1", 0 ) /* TSC87C52-16CB MCU Code */
2844
2912
        ROM_LOAD( "tsc87c52-mf.u40", 0x00000, 0x02000 , CRC(ae22e778) SHA1(0897e05967d68d7f23489e98717663e3a3176070) )
2845
2913
 
2846
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2914
        ROM_REGION( 0x20000, "gfx1", 0 )
2847
2915
        ROM_LOAD( "mong.rc.b2.u3", 0x00000, 0x10000, CRC(5e019b73) SHA1(63a544dccb9589e5a6b938e604c09d4d8fc060fc) )
2848
2916
        ROM_LOAD( "mong.rc.c1.u2", 0x10000, 0x10000, CRC(e3fc24c4) SHA1(ea4e67ace63b55a76365f7e11a67c7d420a52dd7) )
2849
2917
        ROM_COPY( "gfx1",        0x10000, 0x8000, 0x8000 ) /* rgn, srcoffset, offset, length */
2863
2931
        ROM_REGION( 0x10000, "cpu1", 0 ) /* TSC87C52-16CB MCU Code */
2864
2932
        ROM_LOAD( "tsc87c52-sn.u40", 0x00000, 0x02000 , CRC(af0bd35b) SHA1(c6613a7bcdec2fd6060d6dcf639654568de87e75) )
2865
2933
 
2866
 
        ROM_REGION( 0x20000, "gfx1", ROMREGION_DISPOSE )
 
2934
        ROM_REGION( 0x20000, "gfx1", 0 )
2867
2935
        ROM_LOAD( "soccer2.u3", 0x00000, 0x10000, CRC(db09b5bb) SHA1(a12bf2938f5482ea5ebc0db6fd6594e1beb97017) )
2868
2936
        ROM_LOAD( "soccer1.u2", 0x10000, 0x10000, CRC(564cc467) SHA1(8f90c4bacd97484623666b25dae77e628908e243) )
2869
2937
        ROM_COPY( "gfx1",        0x10000, 0x8000, 0x8000 ) /* rgn, srcoffset, offset, length */
2879
2947
        ROM_REGION( 0x10000, "maincpu", 0 )
2880
2948
        ROM_LOAD( "1s.bin", 0x8000, 0x8000, CRC(66938330) SHA1(09118d607eff7121472db7d2cc24079e063dc7cf) )
2881
2949
 
2882
 
        ROM_REGION( 0x10000, "gfx1", ROMREGION_DISPOSE )
 
2950
        ROM_REGION( 0x10000, "gfx1", 0 )
2883
2951
        ROM_LOAD( "2s.bin", 0x0000, 0x8000, CRC(39a792d5) SHA1(45c956a4a33587238a24eed602039115db1bb4b6) )
2884
2952
        ROM_LOAD( "3s.bin", 0x8000, 0x8000, CRC(babc0964) SHA1(f084465cc34ea7ac19091d3e75ef7d55c48273ae) )
2885
2953
 
2893
2961
*  Driver Initialization  *
2894
2962
**************************/
2895
2963
 
2896
 
static DRIVER_INIT( funworld )
2897
 
{
2898
 
}
2899
 
 
2900
2964
static DRIVER_INIT( tabblue )
2901
2965
{
2902
2966
/****************************************************************************************************
2934
2998
        }
2935
2999
}
2936
3000
 
2937
 
static DRIVER_INIT( jolyc980 )
2938
 
{
2939
 
/************************************************************************************************
2940
 
 
2941
 
   The game need the vector $07F0/$07F1 pointing to $801C to proper boot.
2942
 
 
2943
 
   Vector $07F0/$07F1 is copied to $0006/$0007 (multipurpose)
2944
 
   and then accessed through indirect JMP ($0006).
2945
 
 
2946
 
   This is a temporary patch to allow boot the game since vector $07F0/$07F1 is normally empty,
2947
 
   pointing to $0000 and therefore jumping to $C210 constantly where starts producing unexpected
2948
 
   things, like stack overflow.
2949
 
 
2950
 
*************************************************************************************************/
2951
 
 
2952
 
//  UINT8 *ROM = memory_region(machine, "maincpu");
2953
 
 
2954
 
//  ROM[0xc1fc] = 0x4c;
2955
 
//  ROM[0xc1fd] = 0x1c;
2956
 
//  ROM[0xc1fe] = 0x80;
2957
 
}
2958
 
 
2959
3001
static DRIVER_INIT( magicd2a )
2960
3002
/*****************************************************************
2961
3003
 
3126
3168
*      Game Drivers      *
3127
3169
*************************/
3128
3170
 
3129
 
/*    YEAR  NAME      PARENT    MACHINE   INPUT     INIT             COMPANY            FULLNAME                                          FLAGS  */
3130
 
GAME( 1985, jollycrd, 0,        funworld, funworld, funworld, ROT0, "TAB-Austria",     "Jolly Card (austrian)",                           0 )
3131
 
GAME( 1985, jolyc3x3, jollycrd, funworld, funworld, funworld, ROT0, "TAB-Austria",     "Jolly Card (3x3 deal)",                           0 )
3132
 
GAME( 2000, jolyc980, jollycrd, jolyc980, jolyc980, jolyc980, ROT0, "Spale-Soft",      "Jolly Card Professional 2.0",                     0 )
3133
 
GAME( 1998, jolycdev, jollycrd, funworld, funworld, funworld, ROT0, "TAB/Evona",       "Jolly Card (Evona Electronic)",                   0 )
3134
 
GAME( 1985, jolyccra, jollycrd, cuoreuno, jolycdcr, funworld, ROT0, "TAB-Austria",     "Jolly Card (croatian, set 1)",                    0 )
3135
 
GAME( 1993, jolyccrb, jollycrd, cuoreuno, jolycdcr, funworld, ROT0, "Soft Design",     "Jolly Card (croatian, set 2)",                    0 )
 
3171
/*    YEAR  NAME      PARENT    MACHINE   INPUT     INIT      ROT    COMPANY            FULLNAME                                          FLAGS  */
 
3172
GAME( 1985, jollycrd, 0,        funworld, funworld, 0,        ROT0, "TAB-Austria",     "Jolly Card (austrian)",                           0 )
 
3173
GAME( 1985, jolyc3x3, jollycrd, funworld, funworld, 0,        ROT0, "TAB-Austria",     "Jolly Card (3x3 deal)",                           0 )
 
3174
GAME( 2000, jolyc980, jollycrd, jolyc980, jolyc980, 0,        ROT0, "Spale-Soft",      "Jolly Card Professional 2.0",                     0 )
 
3175
GAME( 1998, jolycdev, jollycrd, funworld, funworld, 0,        ROT0, "TAB/Evona",       "Jolly Card (Evona Electronic)",                   0 )
 
3176
GAME( 1985, jolyccra, jollycrd, cuoreuno, jolycdcr, 0,        ROT0, "TAB-Austria",     "Jolly Card (croatian, set 1)",                    0 )
 
3177
GAME( 1993, jolyccrb, jollycrd, cuoreuno, jolycdcr, 0,        ROT0, "Soft Design",     "Jolly Card (croatian, set 2)",                    0 )
3136
3178
GAME( 199?, jolycdit, jollycrd, cuoreuno, jolycdit, tabblue,  ROT0, "bootleg",         "Jolly Card (italian, blue TAB board, encrypted)", 0 )
3137
3179
GAME( 1990, jolycdib, jollycrd, cuoreuno, jolycdib, tabblue,  ROT0, "bootleg",         "Jolly Card (italian, encrypted bootleg)",         0 )   /* not a real TAB blue PCB */
3138
 
GAME( 1985, sjcd2kx3, jollycrd, funworld, funworld, funworld, ROT0, "M.P.",            "Super Joly 2000 - 3x",                            0 )
3139
 
GAME( 1986, jolycdab, jollycrd, funworld, funworld, funworld, ROT0, "Inter Games",     "Jolly Card (austrian, Funworld, bootleg)",        GAME_NOT_WORKING )
3140
 
GAME( 1986, bigdeal,  0,        funworld, bigdeal,  funworld, ROT0, "Funworld",        "Big Deal (hungarian, set 1)",                     GAME_IMPERFECT_COLORS )
3141
 
GAME( 1986, bigdealb, bigdeal,  funworld, bigdeal,  funworld, ROT0, "Funworld",        "Big Deal (hungarian, set 2)",                     GAME_IMPERFECT_COLORS )
3142
 
GAME( 1986, jolycdat, bigdeal,  funworld, bigdeal,  funworld, ROT0, "Funworld",        "Jolly Card (austrian, Funworld)",                 GAME_IMPERFECT_COLORS )
3143
 
GAME( 1996, cuoreuno, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Cuore 1 (italian)",                               0 )
3144
 
GAME( 1997, elephfam, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Elephant Family (italian, new)",                  0 )
3145
 
GAME( 1996, elephfmb, elephfam, cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Elephant Family (italian, old)",                  0 )
3146
 
GAME( 1996, pool10,   0,        cuoreuno, pool10,   funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 1)",                        0 )
3147
 
GAME( 1996, pool10b,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 2)",                        0 )
3148
 
GAME( 1996, pool10c,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 3)",                        0 )
3149
 
GAME( 1997, pool10d,  pool10,   cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pool 10 (italian, set 4)",                        0 )
3150
 
GAME( 1997, tortufam, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Tortuga Family (italian)",                        0 )
3151
 
GAME( 1996, potgame,  0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Pot Game (italian)",                              0 )
3152
 
GAME( 1996, bottle10, 0,        cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Bottle 10 (italian, set 1)",                      0 )
3153
 
GAME( 1996, bottl10b, bottle10, cuoreuno, cuoreuno, funworld, ROT0, "C.M.C.",          "Bottle 10 (italian, set 2)",                      0 )
3154
 
GAME( 1991, royalcrd, 0,        royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Royal Card (austrian, set 1)",                    0 )
3155
 
GAME( 1991, royalcdb, royalcrd, royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Royal Card (austrian, set 2)",                    0 )
3156
 
GAME( 1991, royalcdc, royalcrd, royalcrd, royalcrd, funworld, ROT0, "Evona Electronic","Royal Card (slovak, encrypted)",                  GAME_WRONG_COLORS | GAME_NOT_WORKING )
3157
 
GAME( 1991, lluck3x3, royalcrd, cuoreuno, royalcrd, funworld, ROT0, "TAB-Austria",     "Lucky Lady (3x3 deal)",                           0 )
3158
 
GAME( 1991, lluck4x1, royalcrd, royalcrd, royalcrd, funworld, ROT0, "TAB-Austria",     "Lucky Lady (4x1 aces)",                           0 )
3159
 
GAME( 1996, magicrd2, 0,        magicrd2, magicrd2, funworld, ROT0, "Impera",          "Magic Card II (bulgarian)",                       GAME_IMPERFECT_SOUND )
 
3180
GAME( 1985, sjcd2kx3, jollycrd, funworld, funworld, 0,        ROT0, "M.P.",            "Super Joly 2000 - 3x",                            0 )
 
3181
GAME( 1986, jolycdab, jollycrd, funworld, funworld, 0,        ROT0, "Inter Games",     "Jolly Card (austrian, Funworld, bootleg)",        GAME_NOT_WORKING )
 
3182
GAME( 1986, bigdeal,  0,        funworld, bigdeal,  0,        ROT0, "Funworld",        "Big Deal (hungarian, set 1)",                     GAME_IMPERFECT_COLORS )
 
3183
GAME( 1986, bigdealb, bigdeal,  funworld, bigdeal,  0,        ROT0, "Funworld",        "Big Deal (hungarian, set 2)",                     GAME_IMPERFECT_COLORS )
 
3184
GAME( 1986, jolycdat, bigdeal,  funworld, bigdeal,  0,        ROT0, "Funworld",        "Jolly Card (austrian, Funworld)",                 GAME_IMPERFECT_COLORS )
 
3185
GAME( 1996, cuoreuno, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Cuore 1 (italian)",                               0 )
 
3186
GAME( 1997, elephfam, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Elephant Family (italian, new)",                  0 )
 
3187
GAME( 1996, elephfmb, elephfam, cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Elephant Family (italian, old)",                  0 )
 
3188
GAME( 1996, pool10,   0,        cuoreuno, pool10,   0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 1)",                        0 )
 
3189
GAME( 1996, pool10b,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 2)",                        0 )
 
3190
GAME( 1996, pool10c,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 3)",                        0 )
 
3191
GAME( 1997, pool10d,  pool10,   cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pool 10 (italian, set 4)",                        0 )
 
3192
GAME( 1997, tortufam, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Tortuga Family (italian)",                        0 )
 
3193
GAME( 1996, potgame,  0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Pot Game (italian)",                              0 )
 
3194
GAME( 1996, bottle10, 0,        cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Bottle 10 (italian, set 1)",                      0 )
 
3195
GAME( 1996, bottl10b, bottle10, cuoreuno, cuoreuno, 0,        ROT0, "C.M.C.",          "Bottle 10 (italian, set 2)",                      0 )
 
3196
GAME( 1991, royalcrd, 0,        royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Royal Card (austrian, set 1)",                    0 )
 
3197
GAME( 1991, royalcdb, royalcrd, royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Royal Card (austrian, set 2)",                    0 )
 
3198
GAME( 1991, royalcdc, royalcrd, royalcrd, royalcrd, 0,        ROT0, "Evona Electronic","Royal Card (slovak, encrypted)",                  GAME_WRONG_COLORS | GAME_NOT_WORKING )
 
3199
GAME( 1993, royalcdp, royalcrd, cuoreuno, royalcrd, 0,        ROT0, "Digital Dreams",  "Royal Card v2.0 Professional",                    GAME_NOT_WORKING )
 
3200
GAME( 1991, lluck3x3, royalcrd, cuoreuno, royalcrd, 0,        ROT0, "TAB-Austria",     "Lucky Lady (3x3 deal)",                           0 )
 
3201
GAME( 1991, lluck4x1, royalcrd, royalcrd, royalcrd, 0,        ROT0, "TAB-Austria",     "Lucky Lady (4x1 aces)",                           0 )
 
3202
GAME( 1996, magicrd2, 0,        magicrd2, magicrd2, 0,        ROT0, "Impera",          "Magic Card II (bulgarian)",                       GAME_IMPERFECT_SOUND )
3160
3203
GAME( 1996, magicd2a, magicrd2, magicrd2, magicrd2, magicd2a, ROT0, "Impera",          "Magic Card II (green TAB or Impera board)",       GAME_NOT_WORKING )
3161
3204
GAME( 1996, magicd2b, magicrd2, magicrd2, magicrd2, magicd2b, ROT0, "Impera",          "Magic Card II (blue TAB board, encrypted)",       GAME_NOT_WORKING )
3162
 
GAME( 1993, vegasslw, 0,        funworld, funworld, funworld, ROT0, "Funworld",        "Royal Vegas Joker Card (slow deal)",              0 )
3163
 
GAME( 1993, vegasfst, vegasslw, funworld, funworld, funworld, ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal)",              0 )
3164
 
GAME( 1993, vegasfte, vegasslw, funworld, funworld, funworld, ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal, english gfx)", 0 )
3165
 
GAME( 198?, jolyjokr, 0,        funworld, funworld, funworld, ROT0, "Impera",          "Jolly Joker",                                     0 )
3166
 
GAME( 198?, jolyjkra, jolyjokr, funworld, jolyjkra, funworld, ROT0, "Impera",          "Jolly Joker (50bet)",                             0 )
3167
 
GAME( 1993, jokercrd, 0,        funworld, funworld, funworld, ROT0, "Vesely Svet",     "Joker Card (Ver.A267BC, encrypted)",              GAME_WRONG_COLORS | GAME_NOT_WORKING )
3168
 
GAME( 199?, mongolnw, 0,        royalmcu, royalcrd, funworld, ROT0, "bootleg",         "Mongolfier New (italian)",                        GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
 
3205
GAME( 1993, vegasslw, 0,        funworld, funworld, 0,        ROT0, "Funworld",        "Royal Vegas Joker Card (slow deal)",              0 )
 
3206
GAME( 1993, vegasfst, vegasslw, funworld, funworld, 0,        ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal)",              0 )
 
3207
GAME( 1993, vegasfte, vegasslw, funworld, funworld, 0,        ROT0, "Soft Design",     "Royal Vegas Joker Card (fast deal, english gfx)", 0 )
 
3208
GAME( 198?, jolyjokr, 0,        funworld, funworld, 0,        ROT0, "Impera",          "Jolly Joker",                                     0 )
 
3209
GAME( 198?, jolyjkra, jolyjokr, funworld, jolyjkra, 0,        ROT0, "Impera",          "Jolly Joker (50bet)",                             0 )
 
3210
GAME( 1993, jokercrd, 0,        funworld, funworld, 0,        ROT0, "Vesely Svet",     "Joker Card (Ver.A267BC, encrypted)",              GAME_WRONG_COLORS | GAME_NOT_WORKING )
 
3211
GAME( 199?, mongolnw, 0,        royalmcu, royalcrd, 0,        ROT0, "bootleg",         "Mongolfier New (italian)",                        GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
3169
3212
GAME( 199?, soccernw, 0,        royalcrd, royalcrd, soccernw, ROT0, "bootleg",         "Soccer New (italian)",                            GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
3170
 
GAME( 198?, saloon,   0,        saloon,   saloon,   saloon,   ROT0, "Unknown",         "Saloon (french, encrypted)",                      GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
 
3213
GAME( 198?, saloon,   0,        saloon,   saloon,   saloon,   ROT0, "<unknown>",       "Saloon (french, encrypted)",                      GAME_NO_SOUND | GAME_WRONG_COLORS | GAME_IMPERFECT_GRAPHICS | GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )