> I suspect, that these overlocks appear with respect to the code
> resources. I'm absolutely sure that these alerts aren't due to any
> MemHandleLock/MemHandleUnlock mismatches in my application.
>
> Curiously enough, if I replace the definition of reg2 by
>
> u8 reg2;
>
> the Chunk-overlocked alerts do not appear anymore.
>
> Anyone, who can explain me what happens here? Are D4,D5 used by the
> startup code, particularly with respect to extra code resources?
take a look at the sources - you'll find out eventually..
have you thought about pusting these registers to the stack
in InitApplication() and then popping them off the stack in
QuitApplication() :)
that means, during the app, they can get modified and when
you leave, they'll be restored so the resources can be
unlocked..
> I essentially need to map reg2 to 68k registers, so any idea better than
> "just don't use D4 and D5" would be very helpful.
you can use a3 and a4 :) heh
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/