Prev: 39631 Up: Map Next: 39673
39664: 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 CurrentAttribute (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 DrawingYCo-Ordinate by the routines at 39688 (graphic layout routine 254) or 39032 (obtained from simple / complex state data).
Output
B Do-not-recalculate-display-buffer-address flag (0)
H Current x-coordinate
L Current y-coordinate
39664 XOR A Set current attribute to 0.
39665 LD (28055),A
39668 LD HL,(28106) Load HL with base x- and y-coordinates.
39671 LD B,A Set B to 0.
39672 RET Return.
Prev: 39631 Up: Map Next: 39673