vizhen / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

How to add bootleg ROMs? #288

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've a bootleg ROM of Cadilacs & Dinosaur named dinohb which is the most 
popular commercial version of that game. Existing Emulator supports dino ROM 
not dinohb, how to add that ROM??

Here is download link of dinohb ROM:
https://drive.google.com/file/d/0BzCcE3eIeB3pVjBuRlZrcDZiQ00/edit?usp=sharing

Original issue reported on code.google.com by dr.tan...@gmail.com on 25 Jan 2014 at 8:05

GoogleCodeExporter commented 8 years ago
Here is the MAME driver for that game-
ROM_START( dinohb )
    ROM_REGION( CODE_SIZE, REGION_CPU1, 0 )      /* 68000 code */
    ROM_LOAD16_WORD_SWAP( "cd-d.800",  0x000000, 0x100000, CRC(2a7b2915) SHA1(817d24c5206a60c4d93affffc9bd5a72abccbb01) )
    ROM_LOAD16_WORD_SWAP( "cd-e.800",  0x100000, 0x100000, CRC(e8370226) SHA1(9c6915ad9e48ccd2020fcad58ec56e6f7cd0c25c) )

    ROM_REGION( 0x400000, REGION_GFX1, 0 )
    ROMX_LOAD( "cd-a.160",   0x000000, 0x80000, CRC(7e4f9fb3) SHA1(b985d925e0fb799cdf0a671e4800961d9872cd8f), ROM_GROUPWORD | ROM_SKIP(6) )
    ROM_CONTINUE(              0x000004, 0x80000 )
    ROM_CONTINUE(              0x200000, 0x80000 )
    ROM_CONTINUE(              0x200004, 0x80000 )
    ROMX_LOAD( "cd-b.160",   0x000002, 0x80000, CRC(89532d85) SHA1(6743c4d9b4407421416c13878b8a1fae097dd7a7), ROM_GROUPWORD | ROM_SKIP(6) )
    ROM_CONTINUE(              0x000006, 0x80000 )
    ROM_CONTINUE(              0x200002, 0x80000 )
    ROM_CONTINUE(              0x200006, 0x80000 )

    ROM_REGION( 0x8000, REGION_GFX2, 0 )
    ROM_COPY( REGION_GFX1, 0x000000, 0x000000, 0x8000 ) /* stars */

    ROM_REGION( 0x28000, REGION_CPU2, 0 ) /* QSound Z80 code + space for decrypted opcodes */
    ROM_LOAD( "cd_q.rom",       0x00000, 0x08000, CRC(605fdb0b) SHA1(9da90ddc6513aaaf2260f0c69719c6b0e585ba8c) )
    ROM_CONTINUE(               0x10000, 0x18000 )

    ROM_REGION( 0x200000, REGION_SOUND1, 0 ) /* QSound samples */
    ROM_LOAD( "cd_q1.rom",      0x000000, 0x80000, CRC(60927775) SHA1(f8599bc84c38573ebbe8685822c58b6a38b50462) )
    ROM_LOAD( "cd_q2.rom",      0x080000, 0x80000, CRC(770f4c47) SHA1(fec8ef00a6669d4d5e37787ecc7b58ee46709326) )
    ROM_LOAD( "cd_q3.rom",      0x100000, 0x80000, CRC(2f273ffc) SHA1(f0de462f6c4d251911258e0ebd886152c14d1586) )
    ROM_LOAD( "cd_q4.rom",      0x180000, 0x80000, CRC(2c67821d) SHA1(6e2528d0b22508300a6a142a796dd3bf53a66946) )
ROM_END

Original comment by dr.tan...@gmail.com on 27 Jan 2014 at 11:54