A86: Re: rle problems


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

A86: Re: rle problems




> From: Matt C <snoborder420@yahoo.com>

doesn't hl have to be the actual address of the picture? you are just
leaving hl pointing to the address where the picture address is stored.
try modifying your routine as follows:
curr: .db 0
draw:
 ld a,(curr)
 add a,a
 ld d,0
 ld e,a
 ld hl,pointers
 add hl,de
=====addition=======
	ld a,(hl)		;like _ldhlind
	inc hl
	ld h,(hl)
	ld l,a			;hl=word (2 bytes) at hl
=====end addition===
 ld de,$fc00
 call DispRLE
 ret

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.