Prev: 39840 Up: Map Next: 39862
39845: Graphic layout routine: (238) Start loop (1 / 2)
Start a loop in graphic layout data. The parameter is the repeat count. The current value of the repeat counter is stored at 28051 and the address of the next instruction (i.e. the first instruction that is processed in each loop) is stored at 28119.
See also routine at 39881.
Used by the routine at Jump_GraphicLayoutRoutine.
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
39845 LD A,(IX+0) Store repeat count at 28051.
39848 LD (28051),A
39851 INC IX Advance IX to next position in graphic layout data and store at 28119.
39853 LD (28119),IX
39857 LD B,0 Prepare to recalculate display buffer address.
39859 JP 39070 Read / process data at address in IX.
Prev: 39840 Up: Map Next: 39862