Jump to content
IGNORED

Thunder Castle disassembly


Recommended Posts

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?

 

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...