What's at the 3rd line's address? Seems like an odd address.
Announcement
Collapse
No announcement yet.
[NDS] Execute an AR Code only once?
Collapse
X
-
Comment
-
-
http://problemkaputt.de/gbatek.htm#dsmemorymaps
That's the range of main memory anyway. It's theoretically possible that some other addresses could be writable with the right offset and codes, but it's generally best to stick with user memory ranges unless you know what you're doing.
Although, according to this, only 3 KB of the BIOS range is actually used, so if it's writable and initialized, the unused portions would make an ideal, fixed-location code cave. Assuming you can safely branch into code there without issuing syscalls or whatever the ARM/NDS equivalent is. I'm guessing that one or more difficulties make that impossible or infeasible, otherwise people more familiar with the NDS would probably have documented how to do it.
Comment
-
I really don't understand it, I'm using a new address now and it's the same problem: It works just fine on Desmume and not at all on the DS
Code:221BA598 00000002 94000130 FCFE0000 A23F7750 00000001 DB000000 021BA605 D4000000 00000002 D8000000 021BA605 123F7750 00000001 D2000000 00000000
Comment

Comment