Re: LZ: Question with programming


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

Re: LZ: Question with programming



I just got this kinda thing to work recently. right off the bat you should
change :

> ld de,PROGRAM_START ;Add offset to your program
> add hl,de 
> ld de,Matrix1       ;Add offset from program start to matrix
> add hl,de


to:

	ld hl, PROGRAM_START
	ld de, Matrix1
	add hl, de

I think this is right. You get the idea.
		Will stokes


> ld a,(hl) ; Get value into a
> ret
> 
> There might by some errors, but something like this should work.
> Hope this helps.
> -- 
> _______________________________________
> 
> Dines Justesen
> Email: dines@post1.com or
>        c958362@student.dtu.dk
> WWW  : http://www.gbar.dtu.dk/~c958362/
> _______________________________________
> 


Follow-Ups: References: