Nasina7 / puyodisasm

A work-in-progress disassembly of Puyo Puyo 1 for the Megadrive/Genesis
5 stars 0 forks source link

Arcade version? #1

Open kuroya2mouse opened 1 month ago

kuroya2mouse commented 1 month ago

If it's not difficult, it would be nice if there was arcade version in same codebase

Nasina7 commented 1 month ago

I do have plans to add support for the arcade versions, but it'll still be a bit before that happens. It's next up on the list of things to do once I have most of the code documented. I haven't looked into it too deeply yet, but from what I've seen it doesn't seem like it'll be too difficult to add support for it.

radioshadow commented 1 month ago

It's worth point out that the code in the Arcade is stored on 2 x 128Kb EEPROM chips. Using the Rev B download, the code is stored in these two files:

The issue is the code is stored using high and low bytes, so it's very difficult to view the 68K code. Using a program called romwizard (http://www.wolfgangrobel.de/romwizard.htm), you can merge the files into one, and the 68k code be viewed.

A quick guide: 1 - Load "epr-15036b.32" into ROM1 2 - Load "epr-15036b.31" into ROM2 3 - Tools > ROM Merge 4 - Select: ROM1(H) _ ROM2(L) 5 - Click "Merge" and save file.

To convert back: 1 - Load Merged File into ROM1 2 - Tools > ROM Split 3 - Select: ROM1 H/L 4 - Click "Merge" and save files 5 - Change: epr-15036b.part1 > epr-15036b.32 6 - Change: epr-15036b.part2 > epr-15036b.31

So there is a bit of converting to do, but it would be possible to make a disassembly based on the merged file. The other EEPROM chips I suspect store the audio and graphics, and they may need the same treatment to view correctly. I haven't really looked further into it know.