Prev: 61517 Up: Map Next: 61539
61528: Fill Column
Used by the routine at Draw_Colour_Ring.
Writes the current border colour to D cells starting at (H=column, L=row), advancing one row down per cell. Called by Draw_Colour_Ring to paint the left and right vertical edges of each colour ring.
Input
HL Starting cell coordinate (H = column, L = row)
D Number of cells to fill
Fill_Column 61528 LD E,D Copy the cell count to the loop register.
Fill_Column_Loop 61529 PUSH HL Stash the cell coordinate on the stack and plot the border colour.
61530 CALL PlotCharacterCell_Draw
61533 POP HL Restore the cell coordinate and advance one row down.
61534 INC L
61535 DEC E Repeat for each remaining cell.
61536 JR NZ,Fill_Column_Loop
61538 RET Return.
Prev: 61517 Up: Map Next: 61539