Prev: 54570 Up: Map Next: 54640
54626: Draw Playfield Border Row
Used by the routine at DrawPlayfieldBorder.
Caller supplies the row in L. Sweeps H from 6 to 249 inclusive, calling PlotCharacterCell_Draw each time to OR the border glyph across that row of the screen buffer. Used only from DrawPlayfieldBorder.
DrawPlayfieldBorderRow 54626 LD H,6 H=6 (start of the horizontal sweep).
DrawPlayfieldBorderRow_Loop 54628 PUSH HL Stash HL on the stack (coordinates for PlotCharacterCell_Draw).
54629 CALL PlotCharacterCell_Draw Call PlotCharacterCell_Draw (OR-blit at this cell).
54632 POP HL Restore HL from the stack.
54633 INC H Increment H (next column in the sweep).
54634 LD A,H Loop back to DrawPlayfieldBorderRow_Loop until the full row has been drawn.
54635 CP 250
54637 JR NZ,DrawPlayfieldBorderRow_Loop
54639 RET Return.
Prev: 54570 Up: Map Next: 54640