![]() |
Routines |
| Prev: 39538 | Up: Map | Next: 39562 |
|
Used by the routines at ShowTitleScreen and RunGame.
Clears all of the pixels on the screen.
|
||||
| ClearPixels | 39550 | LD HL,16384 | Use the start of the display file. | |
| ClearPixels_Loop | 39553 | LD (HL),0 | Clear a byte. | |
| 39555 | INC HL | Move on to the next one. | ||
| 39556 | LD A,H | Fetch the high byte of the address. | ||
| 39557 | CP 88 | Jump back to ClearPixels_Loop if the whole display file has not been cleared. | ||
| 39559 | JR NZ,ClearPixels_Loop | |||
| 39561 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 39538 | Up: Map | Next: 39562 |