trunk/src/mame/drivers/funworld.c
| r31083 | r31084 | |
| 66 | 66 | * Royal Card (TAB original), TAB Austria, 1991. |
| 67 | 67 | * Royal Card (Slovak, encrypted), Evona Electronic, 1991. |
| 68 | 68 | * Royal Card Professional 2.0, Digital Dreams, 1993. |
| 69 | * Royal Card (Italian, Dino 4 hardware, encrypted) unknown, 1998. |
| 69 | 70 | * Lucky Lady (3x3 deal), TAB Austria, 1991. |
| 70 | 71 | * Lucky Lady (4x1 aces), TAB Austria, 1991. |
| 71 | 72 | * Magic Card II (Bulgarian), Impera, 1996. |
| r31083 | r31084 | |
| 438 | 439 | C134: 8D 02 00 STA $0002 ;/ |
| 439 | 440 | C137: 4C DC 48 JMP $48DC ; jump to $48DC... |
| 440 | 441 | |
| 441 | | 48DC: 93 NOP ;\ |
| 442 | | 48DD: 00 BRK ; \ |
| 443 | | 48DE: B7 4B SMB3 $4B ; \ |
| 444 | | 48E0: 05 93 ORA $93 ; > nothing has sense here... |
| 445 | | 48E2: 00 BRK ; / |
| 446 | | 48E3: B7 4D SMB3 $4B ; / |
| 447 | | 48E5: 05 B7 ORA $B7 ;/ |
| 448 | | 48E7: 4C 05 76 JMP $7605 ; jump to $7605 (no code there) |
| 449 | | |
| 450 | 442 | And the IRQ vector pointed code... does nothing! |
| 451 | 443 | |
| 452 | 444 | C20F: 40 RTI ; return from interrupt |
| r31083 | r31084 | |
| 468 | 460 | The only visible changes are in the NVRAM, where the $0000 offset hasn't the JMP $C210 instruction |
| 469 | 461 | injected at the start... |
| 470 | 462 | |
| 471 | | Maybe some scrambled instructions on the fatidic 'mexican' Rockwell R65C02 (like Magic Card II)??... |
| 472 | | Maybe mnemonic 93 is AXA (ab),Y (93 ab) instead of NOP (as seen in some sources)??... |
| 473 | | |
| 474 | | Tooo much obscure/darkness here |
| 475 | | |
| 476 | | So... No idea what's wrong here. |
| 477 | | If someone could figure a possible transform, please let me know. |
| 478 | | |
| 479 | | |
| 480 | 463 | *********************************************************************************** |
| 481 | 464 | |
| 482 | 465 | |
| r31083 | r31084 | |
| 542 | 525 | *********************************************************************************** |
| 543 | 526 | |
| 544 | 527 | |
| 545 | | *** Driver Updates by Roberto Fresca *** |
| 528 | *** Driver Updates by Roberto Fresca and Peter Ferrie *** |
| 546 | 529 | |
| 547 | 530 | |
| 548 | 531 | [2005/09/08] |
| r31083 | r31084 | |
| 975 | 958 | - Added a default NVRAM to get the game working. |
| 976 | 959 | - Added technical notes. |
| 977 | 960 | |
| 961 | [2014/05/08] |
| 962 | - Rcdino4: Fully decrypted the code set. |
| 963 | - Corrected technical notes... |
| 978 | 964 | |
| 965 | |
| 979 | 966 | *** TO DO *** |
| 980 | 967 | |
| 981 | 968 | - Figure out the royalcdc, jokercrd, multiwin and powercrd encryption. |
| r31083 | r31084 | |
| 6267 | 6254 | 0x00, 0x00, 0x00, 0x00, 0x00, |
| 6268 | 6255 | /* d0*/ |
| 6269 | 6256 | 0x84, |
| 6270 | | /* d1 d2 d3 d4 d5*/ |
| 6271 | | 0x00, 0x00, 0x00, 0x00, 0x00, |
| 6257 | /* d1*/ |
| 6258 | 0x00, |
| 6259 | /* d2*/ |
| 6260 | 0xaa, |
| 6261 | /* d3 d4 d5*/ |
| 6262 | 0x00, 0x00, 0x00, |
| 6272 | 6263 | /* d6*/ |
| 6273 | 6264 | 0xea, |
| 6274 | 6265 | /* d7 d8 d9 da db dc dd de df*/ |
| r31083 | r31084 | |
| 6361 | 6352 | && (j >= 0x7e) && (j <= 0x8d) /* '0'-'9', 'A'-'F' */ |
| 6362 | 6353 | ) |
| 6363 | 6354 | || ((i == 0x94) |
| 6364 | | && (j == 0xbf) /* set of masks */ |
| 6355 | && (((j >= 0x4a) && (j <= 0x86)) /* zeroes */ |
| 6356 | || ((j >= 0xbf) && (j <= 0xc1)) /* set of masks */ |
| 6357 | ) |
| 6365 | 6358 | ) |
| 6366 | 6359 | || ((i == 0x96) |
| 6367 | | && ((j == 0x39) || (j == 0x3c)) /* set of masks */ |
| 6360 | && (j >= 0x39) && (j <= 0x3e) /* set of masks */ |
| 6368 | 6361 | ) |
| 6362 | || ((i == 0xa6) |
| 6363 | && (j >= 0x30) && (j <= 0x32) /* set of masks */ |
| 6364 | ) |
| 6369 | 6365 | || ((i == 0xaa) |
| 6370 | 6366 | && (j >= 0xf2) /* table of addresses */ |
| 6371 | 6367 | ) |
| 6368 | || ((i == 0xc3) |
| 6369 | && (j >= 0x70) && (j <= 0xaf) /* set of masks */ |
| 6370 | ) |
| 6372 | 6371 | || ((i == 0xc4) |
| 6373 | 6372 | && (j >= 0xdc) /* zeroes and things */ |
| 6374 | 6373 | ) |
| 6375 | 6374 | || ((i == 0xd0) |
| 6376 | 6375 | && (j >= 0xd2) /* text and zeroes */ |
| 6377 | 6376 | ) |
| 6377 | || ((i == 0xd2) |
| 6378 | && ((j <= 0x2f) /* text and zeroes */ |
| 6379 | || ((j >= 0x84) && (j <= 0xaf)) /* text and zeroes */ |
| 6380 | ) |
| 6381 | ) |
| 6378 | 6382 | || (add == 9) |
| 6379 | 6383 | ) |
| 6380 | 6384 | { |
| r31083 | r31084 | |
| 6509 | 6513 | |
| 6510 | 6514 | // Dino 4 encrypted hardware... |
| 6511 | 6515 | GAMEL( 1997, pool10e, pool10, cuoreuno, cuoreuno, funworld_state, dino4, ROT0, "C.M.C.", "Pool 10 (Italian, Dino 4 hardware, encrypted)", 0, layout_jollycrd ) |
| 6512 | | GAME( 1998, rcdino4, 0, rcdino4, rcdino4, funworld_state, rcdino4, ROT0, "<unknown>", "unknown encrypted Royal Card (Dino4 HW)", GAME_NOT_WORKING ) |
| 6516 | GAME ( 1998, rcdino4, 0, rcdino4, rcdino4, funworld_state, rcdino4, ROT0, "<unknown>", "Royal Card (Italian, Dino 4 hardware, encrypted)",0 ) |
| 6513 | 6517 | GAMEL( 1998, chinatow, 0, chinatow, chinatow, funworld_state, rcdinch, ROT0, "<unknown>", "China Town (Ver 1B, Dino4 HW)", 0, layout_jollycrd ) |
| 6514 | 6518 | |
| 6515 | 6519 | // MCU based games... |