A82: Ldir command
[Prev][Next][Index][Thread]
A82: Ldir command
Suppose I want to copy 192 bytes before GRAPH_MEM to TEXT_MEM2 and
TEXT_MEM. It would look something like this:
ld de,GRAPH_MEM-192
ld hl,TEXT_MEM2
ld bc,128
ldir
ld de,GRAPH_MEM-64
ld hl,TEXT_MEM+64
ld bc,64
ldir
Is DE the location of the information needing to be copied or the
place where the information is being copied to? In BoulderDash 82, I
have it written as stated above. If I'm wrong and DE is the address of
the place to which the information is being copied, then BoulderDash
will cause some wierd effect like inability to ZOOM.
Sam
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: