![]() |
Routines |
| Prev: D52A | Up: Map | Next: D570 |
|
Used by the routine at DrawPlayfieldBorder.
Caller supplies the row in L. Sweeps H from 06 to F9 inclusive, calling PlotCharacterCell_Draw each time to OR the border glyph across that row of the screen buffer. Used only from DrawPlayfieldBorder.
|
||||
| DrawPlayfieldBorderRow | D562 | LD H,$06 | H=06 (start of the horizontal sweep). | |
| DrawPlayfieldBorderRow_Loop | D564 | PUSH HL | Stash HL on the stack (coordinates for PlotCharacterCell_Draw). | |
| D565 | CALL PlotCharacterCell_Draw | Call PlotCharacterCell_Draw (OR-blit at this cell). | ||
| D568 | POP HL | Restore HL from the stack. | ||
| D569 | INC H | Increment H (next column in the sweep). | ||
| D56A | LD A,H | Loop back to DrawPlayfieldBorderRow_Loop until the full row has been drawn. | ||
| D56B | CP $FA | |||
| D56D | JR NZ,DrawPlayfieldBorderRow_Loop | |||
| D56F | RET | Return. | ||
| Prev: D52A | Up: Map | Next: D570 |