Re: A83: Apps, adding to current menues


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

Re: A83: Apps, adding to current menues




This is answer to both this message and the one posted earlier by "Direct
G".

There are two key hooks.  The more interesting one is what is usually called
the GetKey hook.  It's called during the TIOS key handler.  It's called once
on entry to the key handler, then once with the scan code of the current key
being pressed.  You can tell whether it's the former or latter condition by
checking the A register.  A value of $1A is passed if it's the on-entry
call, or a value of $1B if it's a "key pressed" call.  If it was $1B, then
the GetCSC scan code value will be in register B.

In either case, returning the z flag set will abort the process, and nz will
continue.  If the entry value was $1A, you don't have to return anything
special, if it was $1B, then you have to return the GetCSC scan code value
that you want the system to process in register A.  Make sure you don't just
ret after obtaining a $1B, or you're going to get a lot of 5's on your
screen.

Hope this helps,
-Dan Englender

----- Original Message -----
From: "Robby Proie" <playnogamz@nls.net>
To: <assembly-83@lists.ticalc.org>
Sent: Friday, November 24, 2000 4:18 PM
Subject: RE: A83: Apps, adding to current menues


>
> Is there any information you could give me about key hooks as of now.
Even
> if it isn't fine tuned, I could sure use it.  Don't worry about any of the
> other hooks
>
> -----Original Message-----
> From: owner-assembly-83@lists.ticalc.org
> [mailto:owner-assembly-83@lists.ticalc.org]On Behalf Of Dan Englender
> Sent: Thursday, November 23, 2000 10:34 PM
> To: assembly-83@lists.ticalc.org
> Subject: Re: A83: Apps, adding to current menues
>
>
>
> You wouldn't.  There's no released information anywhere related to them.
> I'll get around to typing up the notes about them scribbled through my
> various notebooks sometime, and then release the information.
>
> -Dan Englender
>
> ----- Original Message -----
> From: "Robby Proie" <playnogamz@nls.net>
> To: <assembly-83@lists.ticalc.org>
> Sent: Thursday, November 23, 2000 5:33 PM
> Subject: RE: A83: Apps, adding to current menues
>
>
> >
> > Where would I find information on key hooks and other types of hooks?
> >
> >
>
>
>





Follow-Ups: References: