Prev: 61405 Up: Map Next: 61528
61517: Fill Row
Used by the routine at Draw_Colour_Ring.
Writes the current border colour to D cells starting at (H=column, L=row), advancing one column right per cell. Called by Draw_Colour_Ring to paint the top and bottom horizontal edges of each colour ring.
Input
HL Starting cell coordinate (H = column, L = row)
D Number of cells to fill
Fill_Row 61517 LD E,D Copy the cell count to the loop register.
Fill_Row_Loop 61518 PUSH HL Stash the cell coordinate on the stack and plot the border colour.
61519 CALL PlotCharacterCell_Draw
61522 POP HL Restore the cell coordinate and advance one column right.
61523 INC H
61524 DEC E Repeat for each remaining cell.
61525 JR NZ,Fill_Row_Loop
61527 RET Return.
Prev: 61405 Up: Map Next: 61528