Re: A86: calc auto off


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

Re: A86: calc auto off




In a message dated 12/20/99 7:49:52 PM Eastern Standard Time, 
ComAsYuAre@aol.com writes:

> getkey:
>   ld bc,1000    ;timer
>  waitkey:
>   halt
>   call _getcsc
>   or a
>   ret nz   ;key pressed
>   dec bc
>   ld a,b
>   or c
>   jr nz,waitkey
>   ld a,1
>   out (3),a   ;turn off calc
>   halt
>   ld a,11
>   out (3),a   ;turn back on

This actually should be jr getkey

>   jr waitkey 



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/ (down)