Sorry I didn't get back to you sooner, but I've been out of town. You may have solved this by now.
The disassembly you sent looks okay, but it references some code that is not in the listing, so I can't say for sure what else it might be doing. If it is multisegment, then any reference to code in another segment will require a4 to be correct, since the intersegment jump tables are generally in allocated heap addressed via a4. But, this does not appear to be the case, since you say it crashes when you access 'g', but not otherwise. And 'g' is a local (auto/stack) variable, not a global variable? Let me give it some more thought. On 8/22/06, Donald C. Kirker <[EMAIL PROTECTED]> wrote:
I have attached what I think is the callback (and some stuff that I recognize from the stop function). I am not sure if this is correct since I don't know assembly. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- yisdersomenimororsisasisdenderisorsis? Jeff Loucks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
