Re: A86: on interrupt


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

Re: A86: on interrupt




You can write your key code to port 1 with the on interrupt; the [sqrt]KEY program
will be executed when the calc is turned on.

Brian Smith wrote:

> so can you run asm programs on startup?  if you could, couldnt you just have the
> _alt thing run a asm program that runs a basic program?
>
> Kirk Meyer wrote:
>
> > actually the only time you could run a BASIC program is from one of the
> > (sqrt) programs such as (sqrt)key.  the four _alt programs, interrupt,
> > slink, on, and off, do not allow running a BASIC program, or even changing
> > variables.  i tried to: run a BASIC program with the call to $4C47 (or $474c
> > whatever it is) and that didn't work.  I tried changing the entry and
> > simulating enter push and that didn't work.  Nothing works within.  The only
> > time you could check a flag to see if the calc has just been turned on is in
> > an interrupt and BASIC programs can't be run then either.  Then only thing
> > that CAN be done is hotkeys... run program named X when key sequence Y is
> > pressed.  This is infact very very doable - if you want source i'll post
> > some.
> >
> >     Kirk
> >     _@ibm.net


References: