Prev: CC14 Up: Map Next: CC4B
CC38: Draw a row of the frame's two horizontal edges
Used by the routine at draw_frame.
Fills a row of $FF bytes at HL and the same at DE, then moves both up one pixel row (within a character row only: the edges never cross one).
Input
IX The frame's description (+$10 the width in bytes)
HL The bottom edge's row
DE The top edge's row
fill_edge_rows CC38 LD B,(IX+$10) Fill both rows; up one row.
CC3B PUSH HL
CC3C PUSH DE
fill_edge_rows_0 CC3D LD (HL),$FF
CC3F LD A,$FF
CC41 LD (DE),A
CC42 INC DE
CC43 INC HL
CC44 DJNZ fill_edge_rows_0
CC46 POP DE
CC47 POP HL
CC48 DEC D
CC49 DEC H
CC4A RET
Prev: CC14 Up: Map Next: CC4B