![]() |
Routines |
| Prev: 43217 | Up: Map | Next: 43257 |
|
Sets the pixels of the whole screen to zero, using the stack.
|
||||
| ClearScreen | 43233 | LD (23768),SP | Save the stack pointer. | |
| 43237 | LD SP,22528 | Point the stack at the end of the pixel file. | ||
| 43240 | LD BC,12 | Set the number of pushes to 3072. | ||
| 43243 | LD DE,0 | Set the value to 0. | ||
|
This entry point is used by the routine at ResetAttributes.
|
||||
| ClearScreen_Fill | 43246 | PUSH DE | Write two bytes. | |
| 43247 | DJNZ ClearScreen_Fill | Jump back until a block of pushes has been done. | ||
| 43249 | DEC C | Decrease the number of blocks by one. | ||
| 43250 | JR NZ,ClearScreen_Fill | Jump back until all of the blocks have been done. | ||
| 43252 | LD SP,(23768) | Restore the stack pointer. | ||
| 43256 | RET | Return. | ||
| Prev: 43217 | Up: Map | Next: 43257 |