Prev: 46385 Up: Map Next: 46427
46418: Graphic layout routine: (255) Load HL with stored coordinates and return from drawing
Note that when returning from another block of graphic layout data, the current attribute stored at 34270 (and set in the called block) is not preserved. Upon returning, the current attribute value is cleared.
The x- and y-coordinates to start drawing next time are loaded into HL from 34281 by the routines at 46442 (graphic layout routine 254) or 45965 (obtained from simple / complex state data).
Used by the routines at 45999 and 46218.
Output
B Do-not-recalculate-display-buffer-address flag (0)
H Current x-coordinate
L Current y-coordinate
46418 XOR A Set current attribute to zero
46419 LD (34270),A
46422 LD HL,(34281) Load HL with base x- and y-coordinates
46425 LD B,A Set B to zero
46426 RET Return
Prev: 46385 Up: Map Next: 46427