Prev: F04D Up: Map Next: F063
F058: 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 F058 LD E,D Copy the cell count to the loop register.
Fill_Column_Loop F059 PUSH HL Stash the cell coordinate on the stack and plot the border colour.
F05A CALL PlotCharacterCell_Draw
F05D POP HL Restore the cell coordinate and advance one row down.
F05E INC L
F05F DEC E Repeat for each remaining cell.
F060 JR NZ,Fill_Column_Loop
F062 RET Return.
Prev: F04D Up: Map Next: F063