A86: Problem reading ports


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

A86: Problem reading ports




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.
                                        ~neophile_17
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



Follow-Ups: