#8272 - funkeejeffou - Sun Jul 06, 2003 6:12 pm
I've been writing more than 3000 lines of code in ASM, and debugging using VisualBoyAdvance disassembler is becoming kind of hard.
I've seen that Mappy has a powerful debugger where you can use BreakPoints and Watches, the problem is that my code doesn't run on it...
After searching a while why it wasn't working (as my rom works on all other emulators AND hardware), I've found out that the division from the Mappy bios (SWI 0x60000) overwrites R0, R1 and R2.In every GBA doc, it is said that bios div overwrites r0, r1 and r3; and I took that in consideration while writing my code (in other words, when I use a division, I don' push r3 on the stack).
How can I change the Bios file for Mappy so it will be correct, I've seen there's the option for doing that, but can't find a Bios file...
Otherwise, what debugger do you use?
Thanks
I've seen that Mappy has a powerful debugger where you can use BreakPoints and Watches, the problem is that my code doesn't run on it...
After searching a while why it wasn't working (as my rom works on all other emulators AND hardware), I've found out that the division from the Mappy bios (SWI 0x60000) overwrites R0, R1 and R2.In every GBA doc, it is said that bios div overwrites r0, r1 and r3; and I took that in consideration while writing my code (in other words, when I use a division, I don' push r3 on the stack).
How can I change the Bios file for Mappy so it will be correct, I've seen there's the option for doing that, but can't find a Bios file...
Otherwise, what debugger do you use?
Thanks