Re: A86: Re: _exec_basic and _findAlphaUp


[Prev][Next][Index][Thread]

Re: A86: Re: _exec_basic and _findAlphaUp




Since I'm writing my own ROM, I don't happen to be interested in decoding
TI's ROM anymore, so I'll just tell you as far as I got. There's stuff on
the stacks (OP & FP) storing the order of program calls and other
miscellaneous things. When you want to "Stop", it must ditch these stacks in
order to go back to TI-OS. Thus when you first run a program it stores the
original location of the OP & FP stacks (the question is where - I didn't
bother to find that yet, you should be able to find it with any emulator
that supports searching). Unfortunately, this does _not_ happen when you use
_exec_basic. So before using _exec_basic, you ought to copy the OP & FP ptrs
to the appropriate locations as referenced above. Additionally, it might be
good to search the ROM for where these pointers are accessed and try to call
that routine, since we might be forgetting to do something else as well.

----- Original Message -----
From: Cassady Roop <croop@oregontrail.net>
To: <assembly-86@lists.ticalc.org>
Sent: Thursday, December 09, 1999 7:57 AM
Subject: Re: A86: Re: _exec_basic and _findAlphaUp


> Does anyone have any idea as to WHY it crashes in the first place?




References: