Re: A86: Re: stop


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

Re: A86: Re: stop




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



Follow-Ups: