Previous 199869 Revisions Next

r18917 Friday 9th November, 2012 at 15:44:34 UTC by Roberto Fresca
Pool 10 (Dino 4 encrypted hardware) improvements. [Roberto Fresca]
- Added PCB layout and technical notes.
- Decrypted the program data & address.
- Decrypted the graphics ROMs address.
- Added a default NVRAM.
- Added button-lamps layout.
- Promoted to working state.
- Improved the PCB layout.
- Added some encryption notes.
[src/mame/drivers]funworld.c

trunk/src/mame/drivers/funworld.c
r18916r18917
791791  - Rearrange the whole Magic Card 2 sets, and improved descriptions.
792792  - Added technical notes.
793793
794  [2012/11/08]
795  - Added a new Pool 10 set, from a Dino 4 encrypted hardware.
794  [2012/11/08-09]
795  - New Pool 10 set, from a Dino 4 encrypted hardware.
796796  - Added PCB layout and technical notes.
797  - Decrypted the program data & address. GFX need to be decrypted.
797  - Decrypted the program data & address.
798  - Decrypted the graphics ROMs address.
799  - Added a default NVRAM.
800  - Added button-lamps layout.
801  - Promoted to working state.
802  - Improved the PCB layout.
798803  - Added some technical notes.
799804
800805
r18916r18917
34263431
34273432/*
34283433  Pool 10...
3429  Dino 4 (non working) board,
3434  Dino 4 (not working) board,
34303435  with the infamous mexican Rockwell R65C02.
34313436
34323437  Encrypted program & graphics ROMs.
3433   ______________________________________________________________________________________________
3438
3439  PCB layout...
3440  .----------------------------------------------------------------------------------------------.
34343441  |                                                                                              |
3435  |                       ____              __________    ______________       ______________    |
3436  |                      | A00|            |M74HC00B1 |  |  SN74HCT245N |     |PALCE16V8H_15 |   |
3437  |                      |____|            |__________|  |______________|     |______________|   |
3442  |                      .----.            .----------.  .--------------.     .--------------.   |
3443  |                      |A00 |            |M74HC00B1 |  | SN74HCT245N  |     |PALCE16V8H-15 |   |
3444  |                      '----'            '----------'  '--------------'     '--------------'   |
34383445  |                                                                                              |
3439  |                ____________        ___________                                               |
3440  |               |            |      |   DIP 1   |       ____________________________           |
3446  |               .------------.      .-----------.                                              |
3447  |               |            |      | DIP SW #1 |      .----------------------------.          |
34413448  |               |  BATTERY   |      |           |      |          R65C02P2          |          |
3442  |___            |            |      |___________|      |          11450_12          |          |
3449  '---.           |            |      '-----------'      |          11450-12          |          |
34433450      |           |            |                         |           MEXICO           |          |
3444      |           |____________|                         |        9740 S11493_2       |          |
3445      |                                                  |____________________________|          |
3446   ___|                   ____________________________                                           |
3447  |__                    |                            |                                          |
3448  |__                    |          HD46821P          |                                          |
3449  |__                    |                            |   ____________________      _________    |
3450  |__                    |                            |  |     03.bin         |    |74HC126B1|   |
3451  |__                    |____________________________|  |                    |    |_________|   |
3452  |__                                                    |                    |                  |
3453  |__                     ____________________________   |               27256|                  |
3454  |__                    |           MC6821P          |  |____________________|                  |
3455  |__                    |         QL M9N8623         |                             _________    |
3456  |__    _________       |                            |                            |74HC139E |   |
3457  |__ J |ULN2003A |      |                            |                            |_________|   |
3458  |__   |_________|      |____________________________|   _________________                      |
3459  |__ A                                                  |                 |                     |
3460  |__                                                    |    JAPAN 2G3    |        _________    |
3461  |__ M  _________         ___________    ___________    |    HM6116LP_4   |       |SN74LS02N|   |
3462  |__   |74LS04B1 |       | 411GR-001 |  | 411GR-001 |   |                 |       |_________|   |
3463  |__ M |_________|       |___________|  |___________|   |_________________|                     |
3464  |__                                                                                            |
3465  |__ A                                                                                          |
3466  |__                     ____________________________    ____________________________           |
3467  |__                    |            FILE            |  |           MC6845P          |          |
3468  |__                    |           KV89C72          |  |           R1A 8210         |          |
3469  |__                    |                            |  |                            |          |
3470  |__                    |                            |  |                            |          |
3471  |__    _____________   |____________________________|  |____________________________|          |
3472  |__   |  74HCT373N  |                                                                          |
3473  |__   |_____________|      _________   _______________   _____________           _________     |
3474  |__                       |ULN2003A | |PALCE20V8H_25PC| |  SN74LS245N |         |74157 PC |    |
3475  |__    _____________      |_________| |_______________| |_____________|         |_________|    |
3476  |__   |   AM27S29   |                                                                          |
3477  |__   |_____________|   ____________________                                     _________     |
3478  |__                    |     02.bin         |            ____________________   |74157 PC |    |
3479  |__    ________        |                    |           |      GOLDSTAR      |  |_________|    |
3480  |__   |74LS174B|  ___  |                    |           |     GM76C88_12     |                 |
3481  |___  |________| |74L| |               27256|           |     8928 KOREA     |   _________     |
3482      |            |S08| |____________________| LC DINO 4 |                    |  |74157 PC |    |
3483      |            |B1 |                                  |____________________|  |_________|    |
3484      |  ________  |   |  ____________________                                                   |
3485   ___| |74LS02N | |   | |     01.bin         |                                                  |
3486  |     |________| |___| |                    |            _____________           _________     |
3451      |           '------------'                         |        9740 S11493_2       |          |
3452      |                                                  '----------------------------'          |
3453  .---'                  .----------------------------.                                          |
3454  |---                   |                            |                                          |
3455  |---                   |          HD46821P          |                                          |
3456  |---                   |                            |  .--------------------.    .---------.   |
3457  |---                   |                            |  |     3_50.U2        |    |74HC126B1|   |
3458  |---                   '----------------------------'  |                    |    '---------'   |
3459  |---                                                   |                    |                  |
3460  |---                   .----------------------------.  |               27256|                  |
3461  |---                   |           MC6821P          |  '--------------------'                  |
3462  |---                   |         QL M9N8623         |                            .---------.   |
3463  |---  .---------.      |                            |                            |74HC139E |   |
3464  |---J |ULN2003A |      |                            |                            '---------'   |
3465  |---  '---------'      '----------------------------'  .-----------------.                     |
3466  |---A                                                  |                 |                     |
3467  |---                                                   |    JAPAN 2G3    |       .---------.   |
3468  |---M .---------.       .-----------.  .-----------.   |    HM6116LP-4   |       |SN74LS02N|   |
3469  |---  |74LS04B1 |       | 411GR-001 |  | 411GR-001 |   |                 |       '---------'   |
3470  |---M '---------'       '-----------'  '-----------'   '-----------------'                     |
3471  |---                                                                                           |
3472  |---A                                                                                          |
3473  |---                   .----------------------------.  .----------------------------.          |
3474  |---                   |           FILE             |  |          MC6845P           |          |
3475  |---                   |          KV89C72           |  |          R1A 8210          |          |
3476  |---                   |                            |  |                            |          |
3477  |---                   |                            |  |                            |          |
3478  |---  .-------------.  '----------------------------'  '----------------------------'          |
3479  |---  |  74HCT373N  |                                                                          |
3480  |---  '-------------'     .---------. .---------------. .-------------.         .---------.    |
3481  |---                      |ULN2003A | |PALCE20V8H-25PC| | SN74LS245N  |         |74157 PC |    |
3482  |---  .-------------.     '---------' '---------------' '-------------'         '---------'    |
3483  |---  |   AM27S29   |                                                                          |
3484  |---  '-------------'  .--------------------.                                   .---------.    |
3485  |---                   |      2.U21         |           .--------------------.  |74157 PC |    |
3486  |---  .--------.       |                    |           |      GOLDSTAR      |  '---------'    |
3487  |--   |74LS174B| .---. |                    |           |     GM76C88-12     |                 |
3488  '---. '--------' |74L| |               27256|           |     8928 KOREA     |  .---------.    |
3489      |            |S08| '--------------------' LC DINO 4 |                    |  |74157 PC |    |
3490      |            |B1 |                                  '--------------------'  '---------'    |
3491      | .--------. |   | .--------------------.                                                  |
3492  .---' |74LS02N | |   | |      1.U20         |                                                  |
3493  |     '--------' '---' |                    |           .-------------.         .---------.    |
34873494  |                      |                    |           | SN74LS377N  |         |74157 PC |    |
3488  |                      |               27256|           |_____________|         |_________|    |
3489  |                      |____________________|                                                  |
3490  |      ________                                                                                |
3491  |     | X_TAL  |    _________   _______________          _____________           _________     |
3492  |     |16.00Mhz|   |74LS161AN| |PALCE20V8H_25PC|        | SN74LS377N  |         |74LS174B1|    |
3493  |     |________|   |_________| |_______________|        |_____________|         |_________|    |
3495  |                      |               27256|           '-------------'         '---------'    |
3496  |                      '--------------------'                                                  |
3497  |     .--------.                                                                               |
3498  |     |  XTAL  |   .---------. .---------------.        .-------------.         .---------.    |
3499  |     | 16 MHz |   |74LS161AN| |PALCE20V8H-25PC|        | SN74LS377N  |         |74LS174B1|    |
3500  |     '--------'   '---------' '---------------'        '-------------'         '---------'    |
34943501  |                                                                                              |
3495  |______________________________________________________________________________________________|
3502  '----------------------------------------------------------------------------------------------'
34963503
34973504  A00 = TL7705ACE
34983505
r18916r18917
35063513   ROM_LOAD( "2.u21", 0x0000, 0x8000, CRC(a0d54044) SHA1(c7be1f12f72095daee32ae41c3554d8ab4f99245) )
35073514   ROM_LOAD( "1.u20", 0x8000, 0x8000, CRC(55c9fcc8) SHA1(224bdf63ed345b1def4852af3b33f07790fbf123) )
35083515
3516   ROM_REGION( 0x0800,   "nvram", 0 )   /* default NVRAM */
3517   ROM_LOAD( "pool10e_nvram.bin", 0x0000, 0x0800, CRC(e20f9a14) SHA1(617ca53263a971c9f835a95737a66fac5b99780f) )
3518
35093519   ROM_REGION( 0x0200, "proms", 0 )   /* Same as Pool 10, but the 1st half duplicated to cover any PLD addressing */
35103520   ROM_LOAD( "am27s29.u25", 0x0000, 0x0200, CRC(2c315cbf) SHA1(f3f91329f2b8388decf26a050f8fb7da38694218) )
35113521
r18916r18917
47734783   }
47744784}
47754785
4786
47764787DRIVER_INIT_MEMBER(funworld_state, magicd2b)
47774788/*****************************************************************
47784789
r18916r18917
47844795  putting value 0x34 in $0800-$0803 & $0A00-$0A03.
47854796
47864797  The code use STA ($zp),y (opcode 0x91). As soon as register 'y'
4787  increments, almost all writes goes out of range.
4798  increments, almost all writes go out of range.
47884799
47894800******************************************************************/
47904801{
r18916r18917
47934804   ROM[0xc1c6] = 0x92;
47944805}
47954806
4807
47964808DRIVER_INIT_MEMBER(funworld_state, magicd2c)
47974809/*** same as blue TAB PCB, with the magicd2a patch ***/
47984810{
r18916r18917
48144826   ROM[0xc1c6] = 0x92;
48154827}
48164828
4829
48174830DRIVER_INIT_MEMBER(funworld_state, soccernw)
48184831{
48194832/* temporary patch to avoid hardware errors for debug purposes */
r18916r18917
48304843//  ROM[0xa33c] = 0xea;
48314844}
48324845
4846
48334847DRIVER_INIT_MEMBER(funworld_state, saloon)
48344848/*************************************************
48354849
r18916r18917
49384952
49394953}
49404954
4955
49414956DRIVER_INIT_MEMBER(funworld_state, multiwin)
49424957/*****************************************************
49434958
r18916r18917
49684983   space.set_decrypted_region(0x8000, 0xffff, machine().root_device().memregion("maincpu")->base() + 0x18000);
49694984}
49704985
4986
49714987DRIVER_INIT_MEMBER(funworld_state, royalcdc)
49724988{
49734989/*****************************************************
r18916r18917
50275043
50285044  DINO 4 hardware.
50295045
5030  Program data & address are bitswapped.
5031  GFX are encrypted...
5046  Program ROM data & address lines are swapped,
5047  hardcoded in the board.
50325048
5049  GFX ROMs address lines are also swapped, but they
5050  are connected to 2 PLDs that handle the encryption.
5051
50335052  Color PROM is straight.
50345053
5054  All PLD's are read protected.
5055
50355056******************************************************/
50365057{
50375058   UINT8 *rom = machine().root_device().memregion("maincpu")->base();
50385059   int size = machine().root_device().memregion("maincpu")->bytes();
50395060   int start = 0x8000;
50405061
5062   UINT8 *gfxrom = machine().root_device().memregion("gfx1")->base();
5063   int sizeg = machine().root_device().memregion("gfx1")->bytes();
5064   int startg = 0;
5065
50415066   UINT8 *buffer;
50425067   int i, a;
50435068
r18916r18917
50655090   }
50665091
50675092   auto_free(machine(), buffer);
5093
5094
5095    /******************************
5096    *   Graphics ROM decryption   *
5097    ******************************/
5098
5099   buffer = auto_alloc_array(machine(), UINT8, sizeg);
5100   memcpy(buffer, gfxrom, sizeg);
5101
5102   /* address lines swap: fedcba9876543210 -> fedcb67584a39012 */
5103
5104   for (i = startg; i < sizeg; i++)
5105   {
5106      a = BITSWAP16(i, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 4, 5, 3, 2, 1, 0);
5107      gfxrom[a] = buffer[i];
5108   }
5109
5110   auto_free(machine(), buffer);
50685111}
50695112
50705113
5071/*************************
5072*      Game Drivers      *
5073*************************/
5114/**********************************************
5115*                Game Drivers                 *
5116**********************************************/
50745117
50755118/*     YEAR  NAME       PARENT    MACHINE   INPUT      STATE           INIT      ROT    COMPANY            FULLNAME                                          FLAGS                  LAYOUT */
50765119
r18916r18917
51025145GAMEL( 1996, pool10b,   pool10,   cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Pool 10 (Italian, set 2)",                        0,                       layout_jollycrd )
51035146GAMEL( 1996, pool10c,   pool10,   cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Pool 10 (Italian, set 3)",                        0,                       layout_jollycrd )
51045147GAMEL( 1997, pool10d,   pool10,   cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Pool 10 (Italian, set 4)",                        0,                       layout_jollycrd )
5105GAME( 1997, pool10e,   pool10,   cuoreuno, cuoreuno,  funworld_state, dino4,    ROT0, "C.M.C.",          "Pool 10 (Italian, Dino 4 hardware, encrypted)",   GAME_NOT_WORKING )
5148GAMEL( 1997, pool10e,   pool10,   cuoreuno, cuoreuno,  funworld_state, dino4,    ROT0, "C.M.C.",          "Pool 10 (Italian, Dino 4 hardware, encrypted)",   0,                       layout_jollycrd )
51065149GAMEL( 1997, tortufam,  0,        cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Tortuga Family (Italian)",                        0,                       layout_jollycrd )
51075150GAMEL( 1996, potgame,   0,        cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Pot Game (Italian)",                              0,                       layout_jollycrd )
51085151GAMEL( 1996, bottle10,  0,        cuoreuno, cuoreuno,  driver_device,  0,        ROT0, "C.M.C.",          "Bottle 10 (Italian, set 1)",                      0,                       layout_jollycrd )
r18916r18917
51425185GAMEL( 198?, jolyjokrb, jolyjokr, fw1stpal, funworld,  driver_device,  0,        ROT0, "Impera",          "Jolly Joker (40bet, Croatian hack)",              0,                       layout_jollycrd )
51435186
51445187// Encrypted games...
5188// also pool10e (dino 4) and jolycdit/jolycdib (tab blue) are encrypted...
51455189GAME(  1992, multiwin,  0,        fw1stpal, funworld,  funworld_state, multiwin, ROT0, "Fun World",       "Multi Win (Ver.0167, encrypted)",                 GAME_NOT_WORKING )
51465190GAME(  1993, jokercrd,  0,        fw2ndpal, funworld,  driver_device,  0,        ROT0, "Vesely Svet",     "Joker Card (Ver.A267BC, encrypted)",              GAME_NOT_WORKING )
51475191GAME(  198?, saloon,    0,        saloon,   saloon,    funworld_state, saloon,   ROT0, "<unknown>",       "Saloon (French, encrypted)",                      GAME_NOT_WORKING )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team