Prev: F8C9 Up: Map Next: F8E2
F8D0: Next Shift
Used by the routine at BuildShiftedShapeB.
Moves on to the table for the next shift: it restores the strip and row counters from their copies and adds two to the page of the table. The Z flag is set when there are no more tables.
Input
D Page of the table of shifted bytes
Output
D Page of the table for the next shift
F The Z flag is set after the shift by six pixels
NextShift F8D0 LD A,($5C1F) The number of strips.
F8D3 LD ($5C1E),A The number of strips.
This entry point is used by the routine at BuildShiftedShapeA.
NextShift_Rows F8D6 LD A,($5C1D) The number of rows.
F8D9 LD ($5C1C),A The number of rows.
F8DC LD A,D A=D.
F8DD ADD A,$02 Add 02 to A.
F8DF LD D,A D=A.
F8E0 AND A Is A zero?
F8E1 RET Return.
Prev: F8C9 Up: Map Next: F8E2