Defragmenting...

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply
User avatar
KermMartian
Calc Wizard
Posts: 549
Joined: Tue 05 Jul, 2005 11:28 pm
Contact:

Defragmenting...

Post 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.
Image Image Image
Post Reply