Prev: 46418 Up: Map Next: 46442
46427: Graphic layout routine: (250) Adjust x- and y-coordinates for drawing without storing
Read following two bytes in graphic layout data and adjust y- and x-coordinates by these amounts respectively, without storing. These new coordinates will be lost on the next draw operation, being overwritten by the values stored at 34281.
Used by the routine at 46218.
Input
IX Address of first parameter in current graphic layout data instruction
Output
B Do-not-recalculate-display-buffer-address flag (0)
46427 LD A,(IX+0) Adjust y-coordinate by delta-y
46430 ADD A,L
46431 LD L,A
46432 LD A,(IX+1) Adjust x-coordinate by delta-x
46435 ADD A,H
46436 LD H,A
46437 LD B,0 Prepare to recalculate display buffer address
46439 JP 45999 Advance graphic layout data pointer by two bytes and read / process next data
Prev: 46418 Up: Map Next: 46442