![]() |
Routines |
| Prev: 26093 | Up: Map | Next: 26157 |
|
Used by the routine at PrepareGame.
Blanks the display and paints the attributes white on black.
|
||||
| ClearScreen | 26136 | LD HL,16384 | Point HL at 16384 (screen buffer). | |
| 26139 | LD DE,16385 | Point DE at the next byte. | ||
| 26142 | LD BC,6144 | 6144 pixel bytes. | ||
| 26145 | LD (HL),0 | Fill them with zero. | ||
| 26147 | LDIR | |||
| 26149 | LD (HL),56 | Paint this attribute INK: BLACK, PAPER: WHITE . | ||
| 26151 | LD BC,767 | Copy it across the block. | ||
| 26154 | LDIR | |||
| 26156 | RET | Return. | ||
| Prev: 26093 | Up: Map | Next: 26157 |