![]() |
Routines |
| Prev: 66D7 | Up: Map | Next: 66EB |
|
Used by the routine at WaitForKey.
Paints the top twelve character rows black ink on white paper, which is the area the illustration occupies.
|
||||
| ClearPictureAttributes | 66D8 | PUSH AF | Save AF and point at the attribute file. | |
| 66D9 | PUSH HL | |||
| 66DA | LD HL,$5800 | |||
| 66DD | LD BC,$0180 | 0180 bytes, the top twelve rows. | ||
| ClearPicture_Byte | 66E0 | LD (HL),$38 | Paint one attribute INK: BLACK, PAPER: WHITE . | |
| 66E2 | INC HL | |||
| 66E3 | DEC BC | |||
| 66E4 | LD A,B | Continue until the block is done. | ||
| 66E5 | OR C | |||
| 66E6 | JR NZ,ClearPicture_Byte | |||
| 66E8 | POP HL | Restore HL and AF from the stack. | ||
| 66E9 | POP AF | |||
| 66EA | RET | Return. | ||
| Prev: 66D7 | Up: Map | Next: 66EB |