Re: LZ: Mapping Question


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

Re: LZ: Mapping Question




 LD_HL_MHL loads hl with the valus its pointing at
 it has the effect of ld hl, (hl) but this is not a legal use of ld, so
there's a romcall for it.
Plus, I don't think it matters if call is upper or lower case. I've had it
work in upper case without any problems. 

I'll also take this chance to make a minor correction
the code should have been:
ld de, (PROGRAM_ADDR)
ld hl, spriteTable
add hl, de ; now hl points to the table
push de
ld d, 0
ld e, a
add hl, de
pop de
add hl, de ; now hl points to the sprite
								   Erik Huizing
						       ehuizing@acs.ucalgary.ca
					       http://www.ucalgary.ca/~ehuizing


On Tue, 27 May 1997, Buddy Smith wrote:
<clip>
> two things:  CALL should be lowercase :).  Second, I can't remember what
> LD_HL_MHL does.  What does it do again?
>
> Buddy Smith
> buddy.smith@usa.net



References: