![]() |
Routines |
| Prev: EFDD | Up: Map | Next: F058 |
|
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.
|
||||||||||
| Fill_Row | F04D | LD E,D | Copy the cell count to the loop register. | |||||||
| Fill_Row_Loop | F04E | PUSH HL | Stash the cell coordinate on the stack and plot the border colour. | |||||||
| F04F | CALL PlotCharacterCell_Draw | |||||||||
| F052 | POP HL | Restore the cell coordinate and advance one column right. | ||||||||
| F053 | INC H | |||||||||
| F054 | DEC E | Repeat for each remaining cell. | ||||||||
| F055 | JR NZ,Fill_Row_Loop | |||||||||
| F057 | RET | Return. | ||||||||
| Prev: EFDD | Up: Map | Next: F058 |