Re: A86: GetPixel


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

Re: A86: GetPixel




On Tue, 5 May 1998, Dr Robin wrote:

> I just figured out a quick GetPixel:
> 
> call FindPixel
> ld a,(hl)
> and c			;c is the same as a in the result from FindPixel
> cp 0
> ret

Good job.  Try this instead:

	call FindPixel
	and (hl)

--------
Dan Eble (mailto:eble@cis.ohio-state.edu)
         (http://www.cis.ohio-state.edu/~eble)

"Behold, how great a matter a little fire kindleth!" -- James 3:5


References: