Page 1 of 1

Defragmenting...

Posted: Sat 02 Sep, 2006 12:30 am
by KermMartian
OK, I have an insidious ASM problem that's been plaguing me for a while. I have a shell, an App (Doors CS) that occasionally deletes itself on exit. The only thing I can think of is that for some reason I'm accidentally overwriting something that's causing my app to get marked for deletion. There seems to be no pattern as to when this happens. Also, bcalling onto the seocnd page from the first place occasionally fails; when I trace the bcall in my emulator, it's jumping to an incorrect location on an incorrect page. What's going on here? Are these two errors related?

Edit: scratch that, after 3 months I finally managed to find it myself in about half an hour. Turns otu I had accidentally commented out an important load statement, making a routine write 768 bytes wherever it felt like in RAM.