A86: Re: reading ports


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

A86: Re: reading ports




> From: Matt C <snoborder420@yahoo.com>
> Subject: Re: A86: Problem reading ports
> 
> you forgot to read in from the ports!
> new code!
> 
> > 	ld a,$BF
> > 	out (1),a
>  nop
>  nop
>  in a,(1)
> ;that code reads in from the port
> > 	bit 5,a
> > 	jr z,Second
> > 	bit 6,a
> > 	jp z,Exit   ;heres where it breaks

you don't need those nops.  the hardware doesn't need any time to get the
results really.

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.