![]() |
Routines |
| Prev: E1AD | Up: Map | Next: E21D |
|
Used by the routine at StartGame.
Copies the pixels and the attributes of the screen buffer onto the screen, and then clears the buffer.
|
||||||||
| CopyBuffersToScreen | E200 | CALL CopyPixelsToScreen | Copy the pixels to the screen. | |||||
| E203 | CALL CopyAttributesToScreen | Copy the attributes to the screen. | ||||||
|
This entry point is used by the routines at StartGame, GameMenu and GameOver.
Clear the screen buffer.
|
||||||||
| ClearScreenBuffer | E206 | LD HL,$F194 | Point HL at the end of the attribute buffer. | |||||
| E209 | LD A,($BBFB) | Make the attribute from white ink and the colour in FlashColour, which is used for the paper. | ||||||
| E20C | OR $47 | |||||||
| E20E | LD E,A | |||||||
| E20F | LD D,A | |||||||
| E210 | LD B,$0E | Fill the 14 rows of the attribute buffer with it. | ||||||
| E212 | CALL FillBuffer | |||||||
| E215 | LD HL,$F044 | Clear the 112 rows of the pixel buffer. | ||||||
| E218 | LD DE,$0000 | |||||||
| E21B | LD B,$70 | |||||||
| Prev: E1AD | Up: Map | Next: E21D |