Site Map | Contact Info | Home  
  
 Home
 Products
 ROMHACK Toolbox
 Ordering Info
 Code Disassembly
  Bega's Battle
  Cliffhanger
  Thayer's Quest
 My Gameroom
 Links

 

 
   

Code Disassembly

The best way to get "inside" a game is to disassemble the game's ROMs.  This lets you see how the game truly works.  Of course, making sense of the disassembled code is no small task.  I often spend months deciphering the assembly code for a game.

 

When I find an interesting routine to comment, I try to be as detailed as possible.
So instead of doing something like this:
L1464:  LD      DE,00038h       ; Something with the score...
        CALL    L1363           ; 
        CALL    L136C           ; 
        CALL    L146F           ; 
        JP      L21C1           ; 

I try to add more detail like this:
L1464:  LD      DE,00038h       ; Phrase = "(%) Your Score is (n)"
        CALL    L1363           ; Call Speech Routine (phrase)
        CALL    L136C           ; Clear Speech Buffer
        CALL    L146F           ; Speak Score 
        JP      L21C1           ; Command Speech Chip to speak buffer

Of course none of the code is completely commented, but the main routines are there.  Want to try hacking on your own?  Check out the ROMHACK Toolbox.

Go "INSIDE" the following games:

          

 

HOME  

 ROMHACK 2009