![]() |
Routines |
| Prev: 65ED | Up: Map | Next: 662D |
|
Used by the routine at PrepareGame.
Blanks the display and paints the attributes white on black.
|
||||
| ClearScreen | 6618 | LD HL,$4000 | Point at the pixel display. | |
| 661B | LD DE,$4001 | |||
| 661E | LD BC,$1800 | 1800 pixel bytes. | ||
| 6621 | LD (HL),$00 | Fill them with zero. | ||
| 6623 | LDIR | |||
| 6625 | LD (HL),$38 | Paint the attributes INK: BLACK, PAPER: WHITE . | ||
| 6627 | LD BC,$02FF | |||
| 662A | LDIR | |||
| 662C | RET | Return. | ||
| Prev: 65ED | Up: Map | Next: 662D |