Jump to content
IGNORED

How can I make source file of the game from atari ?


Volt3r

Recommended Posts

Through a lotta sweat and patience.

 

While it's easy to make a straight disassembly (by just running a disassembler and loading the binary file), to re-create a source code you would have to track down jump destinations (turn them into labels), Ram addresses (turn them into variables) and tables (labels again). OS locations would also need to be changed to their names, if you want to be able to port the code from 8-bit to 5200 or visa-versa (at least this step is often done by the disassembler). The whole idea of source code is to be able to take the program and put it anywhere you want (or add more to it) and still have it function. This is impossible as long as there are parts that are "set in stone" so to speak.

 

This makes re-creating source code more difficult than coding the actual game at times.

 

In short--

-Whenever you see JMP or JSR, change the address to a label (and put the label at the destination)

-Wherever you see a "write" instruction, change it into a variable.

-Wherever you see a "read" instruction, change it into a label (except if it conflicts with the second step...which would take priority).

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...