Re: A86: Useful Information


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

Re: A86: Useful Information






Matt2000 wrote:

> Interesting! I havent really been following the discussion because I could
> not keep up with you guys..where can these programs be found and how would
> you modify them? Does this explain why everything seems soooo slow in TI-OS
> but nice and fast in as because all these programs are run and it slows
> things down?

No, they are only run if the flag is set and if they exist (they don't exist
innately on the calc).

> (sqrt)EXEC, is that run when the calculator starts up?

I doubt it.  Probably in the middle of the exec_assembly call.

> Does
> anyone have a really simple example (with comments) of how to use one like
> the (sqrt)KEY program?

Take a look at Yugi2 on the web page I just put up.  I'll try to add more
comments or make tutorial pretty soon.

>
>
> -Matt
> http://www.dogtech.com/cybop/ti86/
>
> >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
> >




References: