Re: A86: Useful Information


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

Re: A86: Useful Information




You guys are getting closer...

Later,
Pat

------------------
Original text

From: Stephen Hicks <shicks@mindspring.com>, on 4/21/98 1:19 AM:

--snip from an earlier mail on this list-- :-)

Subject: Re: A86: Re: stop
Date: Mon, 9 Mar 1998 20:28:33 -0700
From: "Kirk Meyer" <_@IBM.net>
Reply-To: assembly-86@lists.ticalc.org
To: <assembly-86@lists.ticalc.org>

Okay, alright already I'll tell you. (IY+$24) contains flags for running
special programs. These programs and there corresponding bits are as
follows:
     0: (sqrt)PARSE
     1: (sqrt)FORM
     2: (sqrt)EXEC
     3: (sqrt)EXPR  [I'm not sure about that one... it might be 6,(IY+$23)]
     4: (sqrt)HOME
     5: (sqrt)CMDTOK
     6: (sqrt)KEY
     7: (sqrt)GRF
if these bits are set and these programs exist, then they are run whenever
the specified action occurs. therefore if you move some code into a new
program called (sqrt)whatever then it will be called every time your
specified thing happens.  in the TI demo it installs #6, (sqrt)KEY and if it
sees you are at a memory screen (by looking at _CXCURAPP) it does some stuff
to make sure you don't delete anything.  i think, for example, it would be
possible to make a routine that ran every time you went to the home screen
(#4), every time you went to the graph screen (#7), every time you enter a
command must be processed (#0), every time a program is run (#2), etc. i
haven't tried any of these so feel free to correct me if i'm wrong.
     Kirk
     _@ibm.net


Trey Jazz wrote:

> if you set the flag for the corresponding program and the program exists it
> runs the routine everytime that command is done, like sqrtKEY is run when a
> key is pressed sqrtPARSE is run before the calc does parsing...stuff like
> that
>
> >I probably should have paid more attention to this list, but what are all
> >of the [sqrt] functions?(i.e. [sqrt]PARSE)



--
Stephen Hicks
mailto:shicks@mindspring.com
ICQ:5453914
IRC:Kupopo




Follow-Ups: References: