Prev: 7F81 Up: Map Next: 7FDE
7FC5: Copy part of one frame to another
Copies C bytes at offset DE from the frame at IX to the same offset in the frame at IY. Entry points: 7FC5 copies 6 bytes (a noun and two adjectives), 7FC9 copies 10 (a whole noun phrase) and 7FCD copies 2 (one word). Used by 7F81 and 7CC0 to share words between commands.
7FC5 LD C,$06 6 bytes: a noun with two adjectives
7FC7 JR $7FCF
This entry point is used by the routine at 7F81.
7FC9 LD C,$0A 10 bytes: a whole noun phrase
7FCB JR $7FCF
This entry point is used by the routine at 7F81.
7FCD LD C,$02 2 bytes: a single word
7FCF PUSH IY HL = the destination frame, moved on by DE...
7FD1 POP HL
7FD2 ADD HL,DE
7FD3 PUSH HL Save that address
7FD4 PUSH IX HL = the source frame, moved on by the same amount...
7FD6 POP HL
7FD7 ADD HL,DE
7FD8 POP DE DE = the destination, HL = the source
7FD9 LD B,$00 Copy the given number of bytes
7FDB LDIR
7FDD RET
Prev: 7F81 Up: Map Next: 7FDE