Prev: 46628 Up: Map Next: 46664
46647: Graphic layout routine: (240) Start loop (2 / 2)
Start a loop in graphic layout data. The parameter is the repeat count. The current value of the repeat counter is stored at 34275 and the address of the next instruction (i.e. the first instruction that is processed in each loop) is stored at 34296.
See also routine at 46611.
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)
IX Address of next graphic layout data instruction to process
46647 LD A,(IX+0) Store repeat count at 34275
46650 LD (34275),A
46653 INC IX Advance IX to next position in graphic layout data and store at 34296
46655 LD (34296),IX
46659 LD B,0 Prepare to recalculate display buffer address
46661 JP 46003 Read / process data at address in IX
Prev: 46628 Up: Map Next: 46664