Prev: 39862 Up: Map Next: 39898
39881: 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 28060 and the address of the next instruction (i.e. the first instruction that is processed in each loop) is stored at 28121.
See also routine at 39845.
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
39881 LD A,(IX+0) Store repeat count at R$6D94.
39884 LD (28052),A
39887 INC IX Advance IX to next position in graphic layout data and store at 28121.
39889 LD (28121),IX
39893 LD B,0 Prepare to recalculate display buffer address.
39895 JP 39070 Read / process data at address in IX.
Prev: 39862 Up: Map Next: 39898