trunk/src/mame/drivers/dreamwld.c
| r242039 | r242040 | |
| 372 | 372 | |
| 373 | 373 | READ32_MEMBER(dreamwld_state::dreamwld_protdata_r) |
| 374 | 374 | { |
| 375 | | //static int count = 0; |
| 375 | // static int count = 0; |
| 376 | 376 | |
| 377 | 377 | |
| 378 | | //printf("protection read %04x\n", count); |
| 379 | | //count++; |
| 378 | // printf("protection read %04x\n", count); |
| 379 | // count++; |
| 380 | 380 | |
| 381 | 381 | UINT8 *protdata = memregion("user1")->base(); |
| 382 | 382 | size_t protsize = memregion("user1")->bytes(); |
| r242039 | r242040 | |
| 411 | 411 | |
| 412 | 412 | |
| 413 | 413 | static ADDRESS_MAP_START( baryon_map, AS_PROGRAM, 32, dreamwld_state ) |
| 414 | | AM_RANGE(0x000000, 0x0fffff) AM_ROM AM_WRITENOP |
| 414 | AM_RANGE(0x000000, 0x1fffff) AM_ROM AM_WRITENOP |
| 415 | 415 | |
| 416 | 416 | AM_RANGE(0x400000, 0x401fff) AM_RAM AM_SHARE("spriteram") |
| 417 | 417 | AM_RANGE(0x600000, 0x601fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") |
| r242039 | r242040 | |
| 727 | 727 | ROM_LOAD( "11.bin", 0x000000, 0x10000, CRC(0da8db45) SHA1(7d5bd71c5b0b28ff74c732edd7c662f46f2ab25b) ) |
| 728 | 728 | ROM_END |
| 729 | 729 | |
| 730 | |
| 731 | ROM_START( cutefght ) |
| 732 | ROM_REGION( 0x200000, "maincpu", 0 ) |
| 733 | ROM_LOAD32_BYTE( "cf.5", 0x000000, 0x080000, CRC(c14fd5dc) SHA1(f332105f5f249d693e792e7115f9e6cffb6db19f) ) |
| 734 | ROM_LOAD32_BYTE( "cf.6", 0x000001, 0x080000, CRC(47440088) SHA1(c45503c4b5f271b430263ca079edeaaeadf5d9f6) ) |
| 735 | ROM_LOAD32_BYTE( "cf.3", 0x000002, 0x080000, CRC(e7e7a866) SHA1(a31751f4164a427de59f0c76c9a8cb34370d8183) ) |
| 736 | ROM_LOAD32_BYTE( "cf.4", 0x000003, 0x080000, CRC(476a3bf5) SHA1(5be1c70bbf4fcfc534b7f20bfceaa8da2e961330) ) |
| 737 | |
| 738 | ROM_REGION( 0x10000, "cpu1", 0 ) /* 87C52 MCU Code */ |
| 739 | ROM_LOAD( "87c52.mcu", 0x00000, 0x10000 , NO_DUMP ) /* can't be dumped. */ |
| 740 | |
| 741 | ROM_REGION( 0x1000, "user1", ROMREGION_ERASEFF ) /* Protection data */ // not read yet |
| 742 | /* The MCU supplies this data. |
| 743 | The 68k reads it through a port, taking the size and destination write address from the level 1 |
| 744 | and level 2 irq positions in the 68k vector table (there is code to check that they haven't been |
| 745 | modified!) It then decodes the data using the rom checksum previously calculated and puts it in |
| 746 | ram. The interrupt vectors point at the code placed in RAM. */ |
| 747 | ROM_LOAD( "protdata.bin", 0x000, 0x701 , NO_DUMP ) |
| 748 | |
| 749 | ROM_REGION( 0x100000, "oki1", 0 ) /* OKI Samples - 1st chip */ |
| 750 | ROM_LOAD( "cf.1", 0x000000, 0x80000, CRC(fa3b6890) SHA1(7534931c96d6fa05fee840a7ea07b87e2e2acc50) ) |
| 751 | ROM_RELOAD(0x80000,0x80000) // for the banks |
| 752 | |
| 753 | ROM_REGION( 0x100000, "oki2", 0 ) /* OKI Samples - 2nd chip */ |
| 754 | ROM_LOAD( "cf.2", 0x000000, 0x80000, CRC(694ddaf9) SHA1(f9138e7e1d8f771c4e69c17f27fb2b70fbee076a) ) |
| 755 | ROM_RELOAD(0x80000,0x80000) // for the banks |
| 756 | |
| 757 | ROM_REGION( 0x800000, "gfx1", 0 ) /* Sprite Tiles - decoded */ |
| 758 | ROM_LOAD16_WORD_SWAP( "cf.10", 0x000000, 0x200000, CRC(62bf1e6e) SHA1(fb4b0db313e26687f0ebc6a8505a02e5348776da) ) |
| 759 | ROM_LOAD16_WORD_SWAP( "cf.11", 0x200000, 0x200000, CRC(796f23a7) SHA1(adaa4c8525de428599f4489ecc8e966fed0d514d) ) |
| 760 | ROM_LOAD16_WORD_SWAP( "cf.13", 0x400000, 0x200000, CRC(24222b3c) SHA1(08163863890c01728db89b8f4447841ecb4f4f62) ) |
| 761 | ROM_LOAD16_WORD_SWAP( "cf.14", 0x600000, 0x200000, CRC(385b69d7) SHA1(8e7cae5589e354bea0b77b061af1d0c81d796f7c) ) |
| 762 | |
| 763 | ROM_REGION( 0x200000, "gfx2", 0 ) /* BG Tiles - decoded */ |
| 764 | ROM_LOAD16_WORD_SWAP( "cf.12",0x000000, 0x200000, CRC(45d29c22) SHA1(df719a061dcd14fb4388fb45dfee2054e56a1299) ) |
| 765 | |
| 766 | ROM_REGION( 0x040000, "spritelut", 0 ) /* Sprite Code Lookup ... */ |
| 767 | ROM_LOAD16_BYTE( "cf.7", 0x000000, 0x020000, CRC(39454102) SHA1(347e9242fd7e2092cfaacdce92691cf6024471ac) ) |
| 768 | ROM_LOAD16_BYTE( "cf.8", 0x000001, 0x020000, CRC(fccb1b13) SHA1(fd4aec4a660f9913651fcc084e3f13eb0adbddd6) ) |
| 769 | |
| 770 | ROM_REGION( 0x10000, "unknown", 0 ) /* ???? - not decoded seems to be in blocks of 0x41 bytes.. */ |
| 771 | ROM_LOAD( "cf.9", 0x000000, 0x10000, CRC(0da8db45) SHA1(7d5bd71c5b0b28ff74c732edd7c662f46f2ab25b) ) |
| 772 | ROM_END |
| 773 | |
| 730 | 774 | /* |
| 731 | 775 | |
| 732 | 776 | Rolling Crush |
| r242039 | r242040 | |
| 840 | 884 | |
| 841 | 885 | // replacment labels? no SemiCom logo |
| 842 | 886 | ROM_START( baryon ) |
| 843 | | ROM_REGION( 0x100000, "maincpu", 0 ) |
| 887 | ROM_REGION( 0x200000, "maincpu", 0 ) |
| 844 | 888 | ROM_LOAD32_BYTE( "4.bin", 0x000000, 0x040000, CRC(59e0df20) SHA1(ff12f4adcf731f6984db7d0fbdd7fcc71ce66aa4) ) |
| 845 | 889 | ROM_LOAD32_BYTE( "6.bin", 0x000001, 0x040000, CRC(abccbb3d) SHA1(01524f094543d872d775306024f51258a11e9240) ) |
| 846 | 890 | ROM_LOAD32_BYTE( "3.bin", 0x000002, 0x040000, CRC(046d4231) SHA1(05056efe5fec7f43c400f05278de516b01be0fdf) ) |
| r242039 | r242040 | |
| 873 | 917 | |
| 874 | 918 | // this set had original SemiCom labels |
| 875 | 919 | ROM_START( baryona ) |
| 876 | | ROM_REGION( 0x100000, "maincpu", 0 ) |
| 920 | ROM_REGION( 0x200000, "maincpu", 0 ) |
| 877 | 921 | ROM_LOAD32_BYTE( "rom_4_27c020.bin", 0x000000, 0x040000, CRC(6c1cdad0) SHA1(40c437507076ce52ec2240049d6b4bef180b104a) ) |
| 878 | 922 | ROM_LOAD32_BYTE( "rom_5_27c020.bin", 0x000001, 0x040000, CRC(15917c9d) SHA1(6444be93e6a997070820e3c5a2e2e703e22883d9) ) |
| 879 | 923 | ROM_LOAD32_BYTE( "rom_2_27c020.bin", 0x000002, 0x040000, CRC(42b14a6c) SHA1(37e772a673732ef16767c14ad77a4faaa06d675a) ) |
| r242039 | r242040 | |
| 909 | 953 | |
| 910 | 954 | GAME( 2000, dreamwld, 0, dreamwld, dreamwld, driver_device, 0, ROT0, "SemiCom", "Dream World", GAME_SUPPORTS_SAVE ) |
| 911 | 955 | |
| 956 | GAME( 1998, cutefght, 0, dreamwld, dreamwld, driver_device, 0, ROT0, "SemiCom", "Cute Fighters", GAME_SUPPORTS_SAVE | GAME_NOT_WORKING ) // needs protection data |
| 957 | |
| 912 | 958 | GAME( 1999, rolcrush, 0, baryon, rolcrush, driver_device, 0, ROT0, "Trust / SemiCom", "Rolling Crush (version 1.07.E - 1999/02/11)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_GRAPHICS ) // wrong linescroll |