From aff9a79e190cd08d639c4d25025322edcc41617c Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Fri, 9 Feb 2018 18:32:08 +0100 Subject: new not working machine --------------------------------------------- Zhaoji Fengdou [Peter Wilhelmsen, The Dumping Union] --- src/mame/drivers/crystal.cpp | 50 +++++++++++++++++++++++++++++++++++++++++--- src/mame/mame.lst | 7 ++++--- 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/crystal.cpp b/src/mame/drivers/crystal.cpp index bfadd4a05c5..3dee8da0f31 100644 --- a/src/mame/drivers/crystal.cpp +++ b/src/mame/drivers/crystal.cpp @@ -1641,10 +1641,53 @@ ROM_START( psattack ) ROM_END ROM_START( ddz ) - ROM_REGION( 0x400000, "maincpu", 0 ) + ROM_REGION( 0xc00000, "maincpu", 0 ) ROM_LOAD("ddz.001.rom", 0x000000, 0x400000, CRC(b379f823) SHA1(531885b35d668d22c75a9759994f4aca6eacb046) ) - ROM_LOAD("ddz.002.rom", 0x000000, 0x400000, CRC(285c744d) SHA1(2f8bc70825e55e3114015cb263e786df35cde275) ) - ROM_LOAD("ddz.003.rom", 0x000000, 0x400000, CRC(61c9b5c9) SHA1(0438417398403456a1c49408881797a94aa86f49) ) + ROM_LOAD("ddz.002.rom", 0x400000, 0x400000, CRC(285c744d) SHA1(2f8bc70825e55e3114015cb263e786df35cde275) ) + ROM_LOAD("ddz.003.rom", 0x800000, 0x400000, CRC(61c9b5c9) SHA1(0438417398403456a1c49408881797a94aa86f49) ) + + // keep driver happy + ROM_REGION32_LE( 0x3000000, "user1", ROMREGION_ERASEFF ) + ROM_REGION( 0x1000000, "user2", ROMREGION_ERASEFF ) +ROM_END + + +/* +招级疯斗 - "Zhaoji Fengdou" - "Crazy Class" + +Haze's notes: + +fwiw, it's probably same PCB as the non-working 'ddz' in MAME, but different game. + +there's some kind of encryption/scrambling going on, at the very least + +Code: + + +Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F + +0007BE60 00 00 00 99 03 AD AF 00 00 00 82 00 03 AD 64 63 ™ ­¯ ‚ ­dc +0007BE70 62 61 39 38 37 36 35 34 33 32 31 30 00 4E 61 4E ba9876543210 NaN +0007BE80 00 66 6E 49 02 0E 85 06 02 0E 84 04 02 0E 83 EA fnI … „ ƒê +0007BE90 02 0E 83 D6 02 0E 83 C8 02 0E 84 58 02 0E 84 12 ƒÖ ƒÈ „X „ +0007BEA0 66 65 28 00 30 00 65 73 61 62 20 64 61 62 20 3A fe( 0 esab dab : +0007BEB0 66 74 6E 69 72 70 66 76 20 6E 69 20 67 75 62 00 ftnirpfv ni gub +0007BEC0 46 45 44 43 42 41 39 38 37 36 35 34 33 32 31 30 FEDCBA9876543210 +0007BED0 00 29 6C 6C 75 6E 2E 00 00 00 8F 8E 02 0E 89 DC )llun. Ž ‰Ü + + +if you reverse the letters you get 'bug in vfprintf : bad base' + +so I suspect the data is in reverse order and maybe some blocks scrambled about. +*/ + + +ROM_START( crzclass ) // PCB marked MAH-JONG + ROM_REGION( 0xc00000, "maincpu", 0 ) + ROM_LOAD("tjf-mahjong-rom1.bin", 0x000000, 0x400000, CRC(0a8af816) SHA1(9f292e847873078ed2b7584f463633cf9086c7e8) ) // SHARP LH28F320BJD-TTL80 + ROM_LOAD("tjf-mahjong-rom2.bin", 0x400000, 0x400000, CRC(2a04e84a) SHA1(189b16fd4314fd2a5f8a1214618b5db83f8ac59a) ) // SHARP LH28F320BJD-TTL80 + ROM_LOAD("tjf-mahjong-rom3.bin", 0x800000, 0x400000, CRC(1cacf3f9) SHA1(e6c88c98aeb7df4098f8e20f412018617005724d) ) // SHARP LH28F320BJD-TTL80 + // rom4 not populated // keep driver happy ROM_REGION32_LE( 0x3000000, "user1", ROMREGION_ERASEFF ) @@ -1871,3 +1914,4 @@ GAME( 200?, crospuzl, 0, crospuzl, crospuzl, crystal_state, 0, ROT GAME( 2004, psattack, 0, crystal, crystal, crystal_state, psattack, ROT0, "Uniana", "P's Attack", MACHINE_IS_SKELETON ) // looks like the same kind of hw from strings in the ROM, but scrambled / encrypted? GAME( 200?, ddz, 0, crystal, crystal, crystal_state, 0, ROT0, "IGS?", "Dou Di Zhu", MACHINE_IS_SKELETON ) +GAME( 200?, crzclass, 0, crystal, crystal, crystal_state, 0, ROT0, "TJF", "Zhaoji Fengdou", MACHINE_IS_SKELETON ) // 'Crazy Class' diff --git a/src/mame/mame.lst b/src/mame/mame.lst index a4f29e0416d..13e8fe3e27f 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -10625,6 +10625,7 @@ wizzard // @source:crystal.cpp crysbios // crysking // 2001 Brezzasoft. Crystal of the kings +crzclass // 200? TJF crzyddz2 // 2006 Sealy ddz // 200? donghaer // @@ -38937,9 +38938,9 @@ xsleenaj // TA-0019 (c) 1986 @source:xavix.cpp taitons1 // xavtenni // -rad_ping // -rad_mtrk // -rad_bb2 // +rad_ping // +rad_mtrk // +rad_bb2 // @source:xbox.cpp xbox // -- cgit v1.2.3