A86: Re: exit key break


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

A86: Re: exit key break




> From: "Sam Patterson" <neophile_17@hotmail.com>
> This is a read key loop except the loop is broken as if exit was 
> pressed 
> when it wasn't.  I think this is because the mask is          
> %10111111 and 
> bit six is already missing but I don't know how to fix it if it is.
> 
> 	ld a,$BF
> 	out (1),a
> 	bit 5,a
> 	jr z,Second
> 	bit 6,a
> 	jp z,Exit   ;heres where it breaks
> 
> Any help would be appreciated. Thanx.

check out the guide's reading keypresses from port section
(http://guide.ticalc.org/advanced/read.htm) to see the required masks and
returns. examples of what's returned are also included on the page. i
hope it helps.

if you see any errors, please let me know.

jimi malcolm
mailto:malcolmj1@juno.com
http://guide.ticalc.org

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.