pacman3211 Posted March 15, 2014 Share Posted March 15, 2014 does anyone have a disassembly or source code for thunder castle? dasm1600 is not disassembling the game correctly. I used a symfile for dasm1600 with a standard mattel memory map. the end of the assembly file has undefined variables and garbage code. any help with thunder castle or dasm1600 please? Quote Link to comment Share on other sites More sharing options...
intvnut Posted March 21, 2014 Share Posted March 21, 2014 Well, the ROM is a mixture of code and data, probably more data than code. You can also try using "dis1600", although it too has its limitations. If you use jzIntv's debugger, you can turn on memory attribute tracking. Toggle that on, run the game for awhile (preferrably try to beat all three levels), and the break back out to the debugger and do a "dump". It'll write a file named "dump.atr". This marks locations as either code or data based on how the game actually accessed the location. You can add this data directly to your symfile and disassemble again with dasm1600. That sometimes does a much better job, although it isn't perfect. One thing to watch out for: Certain EXEC structures get accessed both as data and dbdata. You may need to convert all instances of "dbdata" in dump.atr to "data" to get a proper disassembly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.