[A83] Re: _getKey
[Prev][Next][Index][Thread]
[A83] Re: _getKey
No it doesn't wait, so you have to make a loop.
For example:
Xor a
KeyLoop:
B_CALL GetCSC
Or a
Jr z,KeyLoop ;Note: I HATE MICROSOFT WORD AND ITS FRIGGIN
AUTO- CORRECTING B.S.
At the end of this loop, the accumulator contains the value for the
keypress. I believe all of them begin with 'sk'. For example, "skenter",
"skgraph", "sktrace". This routine does not allow you to access system
menus.
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of SUCKER from
the old days
Sent: Wednesday, January 09, 2002 2:15 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: _getKey
>If I were you I wouldn't use the getkey rom call too often. There is a
>memory leak in it. If the user turns off the calculator using 2nd+On
>during getkey then turns the calc back on, the calculator loses RAM. Of
>course 2nd, Mem, 7, 1, 2 will get it back, but it's just a pain. Try
out
>getCSC instead if you're worried about this problem.
>
>-Tom
>
What's the output of _getcsc? Like _getkey? And does it
wait, or ...
SUCKER
>-----Original Message-----
>From: assembly-83-bounce@lists.ticalc.org
>[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of Michael
>Vincent
>Sent: Tuesday, January 08, 2002 6:29 PM
>To: assembly-83@lists.ticalc.org
>Subject: [A83] Re: _getKey
>
>
>The second byte will be in (keyExtend).
>
>Michael Vincent
>Detached Solutions - www.detacheds.com
>Radical Software - www.radicalsoft.org
>----- Original Message -----
>From: "Brandon" <brando@chartertn.net>
>To: <assembly-83@lists.ticalc.org>
>Sent: Tuesday, January 08, 2002 4:18 PM
>Subject: [A83] _getKey
>
>
> > I'm a little confused about two byte key code values from
>_getKey...where
>is the second code at? I keep getting 0FCh, which ti83plus.inc says it
>means
>a two byte value, but how am I supposed to know what it is?
> >
> > Brandon
> >
> >
> >
>
>
>
>
>
>
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com
References: