+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  debugging help?
Pages: [1]
Author Topic: debugging help?  (Read 2 times)
matrix
Guest
« on: August 21, 2008, 07:06:08 am »

I'd like to learn how to use fceuxd's degugger better.  I've read the 3 documents on fceud. 
How do people learn this, do they figure it out on their own?
Right now I'm messing with the original tecmo bowl rom trying to figure out how the game loads the different defenses.  By using the ram filter I found that 700702 is a 43 defense and 610602 is a 34 defense in RAM.
I set breakpoints and found that the 70 and 61 are loaded from 00A7, it looks like 61 is loaded as 60 and then an accumulator is added to get 61, but I cant figure out anything else as far as where they come from before 00A7.
RedComet
Guest
« Reply #1 on: August 21, 2008, 09:00:16 am »

Use the trace logger. Let it log instructions to a file and then play the game until the debugger snaps on the read at $A7. Stop the trace logger. Open the log and go to the end of the file (last instruction should be the read) and see where the value in the accumulator came from. That's what I always do.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC