gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Using the Boycott Advance Emulator in Debug mode

#551 - notron - Wed Jan 08, 2003 6:42 pm

I couldn't find a distinct forum block for this question, so I put it here. If this is not right, please move it accordingly.

Does anyone use this emulator? and does anyone have a manual? I am having a devil of a time figuring out how to use the Debug mode! I am just trying to single step through a set of instructions. I can load the image and then press f4 to stop execution ( while it is in a loop). I then want to SS through the instructions and watch the CPU registers as it loads and tests data. I can't figure out what the ">" and "*" are telling me?

I thought that the ">" should be pointing at the next instruction that will be executed when I press f7 ( run to next instruction), but most ( but not all) the time the PC is pointing to the same line as the ">", which should be 2 instructions past the current instruction. I also can't figure out what the "*" is telling me. Sometimes it is on the same line as the ">" and sometimes it isn't. When the ">" reaches a branch instruction, and then I press f7, the">" doesn't jump back up to the addr specified in the BEQ instruction and it and the "*" part company at that point. 4 hours later, I still haven't figured out what it is doing.

I apologize for having to post this question, but I searched the author's site and didn't come up when any explanation of the use of the debug mode.
_________________
MysticX is The Defender