David Haywood's Homepage
MAME work and other stuff
July 31, 2013 Haze Categories: General News. 25 Comments on Double Deco, No Fries

When Charles got things moving with the Data East 146 I/O & protection chip emulation it quickly became clear that the 104 chip was different to the other repackaged versions of the chip in that the tables it used internally differed from the 146, although it was also very obvious that the basic functionality was the same.

Luckily Smitdogg had a PCB with a 104 Chip on, an ideal test case to study in the form of the Dream Ball board (previously covered here) This board provided possibly the easiest test bed for the 104 chip because it doesn’t use any of the additional Data East security measures (encrypted CPUs etc.) I’d also determined that the chip was hooked up in a direct way without any additional line scrambling, again making it easier to work with.

The Dream Ball board was quickly shipped to Charles for studying, and after a couple of days of work he was able to use his knowledge from the 146 along with a list of what I felt to be the basic differences in terms of ports the 104 used compared to the 146 to produce a complete set of tables describing the behavior of the 104 chip, just as he did for the 146.

I’d already prepared MAME for this, restructuring all the existing protection and I/O handlers in the 104 based games to go through the same basic code as the 146 so slotting in the new data was fairly easy.

As a result of this Caveman Ninja, Wizard Fire, Pocket Gal Deluxe, Boogie Wings, Rohga, Diet GoGo, Tattoo Assassins, Dream Ball, Night Slashers, Schmeiser Robo and Double Wings now all go through a single implementation of the DECO104 emulation.

Now not all of those games are actually protected; Boogie Wings, Tattoo Assassins, Dream Ball, Night Slashers and Diet GoGo use the chip for nothing but the I/O ports, none of the protection features are used at all.

Caveman Ninja, Wizard Fire, Rohga and Schmeiser Robo on the other hand had rather complex partial implementations of the protection handled on a per-game basis, so by using the new 104 code we were able to kill off all of those and provide a much cleaner and more accurate solution. Pocket Gal Deluxe is only lightly protected, but actually provided one of the more annoying challenges because they hooked the chip up with some very different address line swapping to any other games, but in the end I managed to figure that out so we could kill the old simulation code there too and use the new stuff.

The most significant improvement from all of this is however Mitchell’s Double Wings. Until now Double Wings only had a very buggy incomplete protection simulation meaning the game had incorrect boss behavior (including hangs in places if you didn’t kill the bosses etc.) With the new code all these problems are fixed and the game can finally be considered as working. It’s a fairly generic Raiden type game, with similar weapons / weapon upgrade system and your standard selection of levels, 2 loops with the 2nd loop presenting some extended versions of the levels. There are 3 characters to choose from, each with a different first level and default shot type (the power-up ships will always drop that colour by default although like Raiden they do cycle if left) There is a terrible quality 1CC of it from original hardware on YouTube if you want to see an original reference.


Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings
Double Wings Double Wings

It’s possible you’ve played through the game before and not noticed the problems, but the old emulation simply couldn’t be trusted, and was known to have flaws, hence the not working flag it’s had all these years.

I’ve also been doing bits of other Data East work too, studying Dragon Gun a little more. I haven’t managed to decode the FMV backgrounds yet, but I did stop the game hanging on the last boss. I plan on looking at a few other issues too, for example the sound banking on Wizard Fire.

Sorry for the lack of a proper writeup on the last release, I’ve been a bit tied up with some actual emulation work and emulation work always takes priority over the write-ups.

25 Comments

You can follow any responses to this entry through the RSS 2.0 feed.

I wonder whether Devid Boowy is actually a real name. If true, poor bloke!

It always amazes me the team work that goes on to get a game or even a partial part of a game working. Thank you mame team.

Hi I am Devid Boowy thanks you for emulating my game. Nai Nai says thx u too.

Hi, Haze

Thank you for your efforts in Mame Deco Driver.

Any progress in Locked’N Loaded and Automat?

Regards microsnk

not at this time, although I do plan on looking at the priorities in Dragon Gun a bit which will improve them in Lock ‘n’ Loaded, but still no idea how to make the guns work.

Haze:

Any progress on Raiden 2? Kale’s been rather quiet on that front.

No, none at all.

good teamwork guys =)

Is another flying war game for our collection.
Mr. Haze…
News about the missing Neo Geo Prototypes will be succeeded some year?

Somebody:

Let’s cross our fingers. Don´t forget DX too.

The NeoGeo prototypes will never be dumped, people want house prices for them when most are actually worthless (which is why they didn’t get released in the first place!)

yes, also all the good ones are already dumped or got re-released…

Excellent work, as usual, Haze.

Thank you for response and your great work.

Thanks for the info.
But someone tell me they gonna be dumped in 2014… and i ask him in 2012…

Ah sorry, he just told me as well, they’re going to be dumped at 2:43am GMT on Tuesday 1st April 2014 and will be added to the MAME SVN by 3:02am at the latest. On the very same day I’ll be submitting a mostly working driver for Raiden 2 and DX, but the final boss battle will be broken for reasons we don’t understand.

Truth be told the NeoGeo protos have been dumped for a long, long time, just not shared.

Exciting news, Tattoo Assassins、Night Slashers and other some Data East game have imperfect graphics,if there is hope to improve them?

Mr. Haze let’s cross our fingers for a opening peace and sharing the files in the future.
I had my eyes open when they released.

They’ve had 14 years to share the files, I don’t think they’re going to start sharing them now.

Let’s see.

@ Haze: please don’t joke about Raiden II/DX… it’s a.. sensitive issue :(

Lovely work on those Data East Games great news to
finally see those protection issues ironed out

Oh man Dragongun progress. So those FMV backgrounds are actually dumped and stored in the rom files? I thought they would probably be some kind of video files that would need to be paired with the roms like laserdisc games.

I also hope a Japanese version board of it is found and dumped eventually.

Yes, the Dragon Gun backgrounds are stored in

ROM_REGION32_BE( 0x1000000, “dvi”, 0 ) /* Video data – unused for now */
ROM_LOAD32_BYTE( “mar-17.bin”, 0x000000, 0x100000, CRC(7799ed23) SHA1(ae28ad4fa6033a3695fa83356701b3774b26e6b0) ) // 56 V / 41 A
ROM_LOAD32_BYTE( “mar-20.bin”, 0x000001, 0x100000, CRC(fa0462f0) SHA1(1a52617ad4d7abebc0f273dd979f4cf2d6a0306b) ) // 44 D / 56 V
ROM_LOAD32_BYTE( “mar-28.bin”, 0x000002, 0x100000, CRC(5a2ec71d) SHA1(447c404e6bb696f7eb7c61992a99b9be56f5d6b0) ) // 56 V / 53 S
ROM_LOAD32_BYTE( “mar-25.bin”, 0x000003, 0x100000, CRC(d65d895c) SHA1(4508dfff95a7aff5109dc74622cbb4503b0b5840) ) // 49 I / 53 S
ROM_LOAD32_BYTE( “mar-18.bin”, 0x400000, 0x100000, CRC(ded66da9) SHA1(5134cb47043cc190a35ebdbf1912166669f9c055) )
ROM_LOAD32_BYTE( “mar-21.bin”, 0x400001, 0x100000, CRC(2d0a28ae) SHA1(d87f6f71bb76880e4d4f1eab8e0451b5c3df69a5) )
ROM_LOAD32_BYTE( “mar-27.bin”, 0x400002, 0x100000, CRC(3fcbd10f) SHA1(70fc7b88bbe35bbae1de14364b03d0a06d541de5) )
ROM_LOAD32_BYTE( “mar-24.bin”, 0x400003, 0x100000, CRC(5cec45c8) SHA1(f99a26afaca9d9320477e469b09e3873bc8c156f) )
ROM_LOAD32_BYTE( “mar-19.bin”, 0x800000, 0x100000, CRC(bdd1ed20) SHA1(2435b23210b8fee4d39c30d4d3c6ea40afaa3b93) ) // 56 V / 41 A
ROM_LOAD32_BYTE( “mar-22.bin”, 0x800001, 0x100000, CRC(c85f3559) SHA1(a5d5cf9b18c9ef6a92d7643ca1ec9052de0d4a01) ) // 44 D / 56 V
ROM_LOAD32_BYTE( “mar-26.bin”, 0x800002, 0x100000, CRC(246a06c5) SHA1(447252be976a5059925f4ad98df8564b70198f62) ) // 56 V / 53 S
ROM_LOAD32_BYTE( “mar-23.bin”, 0x800003, 0x100000, CRC(ba907d6a) SHA1(1fd99b66e6297c8d927c1cf723a613b4ee2e2f90) ) // 49 I / 53 S

12MB of roms for it, mapped to CPU space.

A Japanese set was actually added in the last update, probably should have mentioned that because it’s a nice find ;-)

Whoa, thats awesome.

the game dip switch has a little bug to be fixed

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close