[A89] Re: ON key
[Prev][Next][Index][Thread]
[A89] Re: ON key
It is just as fast (probably about 10 cycles slower, because it has to
do addition/divistion, etc.). Thanks for your fast reply, although I
wanted to know if there was an easier way (interrupt handlers scare
me/take advantage of my bad karma).
-Duncan Smith (slimey_limey)
mrslimeylimey@hotmail.com
http://www.slimeylimey.tk/
>From: "Brett Simmers" <bsimmers@attbi.com>
>Reply-To: assembly-89@lists.ticalc.org
>To: <assembly-89@lists.ticalc.org>
>Subject: [A89] Re: ON key
>Date: Sat, 16 Nov 2002 20:25:34 -0500
>
>
>The ON key is special, the only way that I know of to detect it is to
>install your own custom interrupt handler for AUTO_INT_6, look in the
>documentation on 'DEFINE_INT_HANDLER' for that info. AUTO_INT_6 is
>triggered every time ON is pressed. The fastest way to detect all
>other keys is with _rowread or the _keytest function, the help file
>has good documentation on those. Keytest is much easier to use than
>rowread, and I think it's just as fast.
>
>Brett Simmers
>bsimmers@attbi.com
>
>----- Original Message -----
>From: "Duncan Smith" <mrslimeylimey@hotmail.com>
>To: <assembly-89@lists.ticalc.org>
>Sent: Saturday, November 16, 2002 8:01 PM
>Subject: [A89] ON key
>
>
> >
> > Does anyone know a good way to detect a keypress in a TIGCC program? I
> > need this for my TI-83+ emulator (Please, do not tell me that it will be
> > slow. I know, and do not need anyone telling me) because the ON key
>will
> > be used to 'escape' to the menu of commands.
> >
> > -Duncan Smith (slimey_limey)
> > mrslimeylimey@hotmail.com
> > http://www.geocities.com/mister_slimey_limey
> >
> >
> >
> > _________________________________________________________________
> > The new MSN 8: smart spam protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus