[A83] Re: Getkey loop


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

[A83] Re: Getkey loop




Would the loop stop it from getting past 'jp X'

X:
 B_Call _getkey   ;Gets a keypress
 cp kY    ;If key = [Y=]
 jp nc,StartMenu   ;Jump to StartMenu
 jp X    ;Repeat the loop (jump to X)

-Calc Freak

----- Original Message -----
From: "Dan Weiss" <dwedit@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, June 04, 2002 4:51 PM
Subject: [A83] Re: Getkey loop


>
> If kY is the correct equate (74h), it will work.  Otherwise it won't.
>
> Also: Using getkey allows someone to turn the calc off.  If you are using
> ION, you will get a memory leak, (unrecoverable RAM), and the program
might
> get messed up if you delete or run it.  (Apps and venus programs have no
> problems there)
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
>
>
>




References: