![]() |
Routines |
| Prev: 26327 | Up: Map | Next: 26347 |
|
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 | 26328 | PUSH AF | Save AF and point at the attribute file. | |
| 26329 | PUSH HL | |||
| 26330 | LD HL,22528 | |||
| 26333 | LD BC,384 | 384 bytes, the top twelve rows. | ||
| ClearPicture_Byte | 26336 | LD (HL),56 | Paint one attribute INK: BLACK, PAPER: WHITE . | |
| 26338 | INC HL | |||
| 26339 | DEC BC | |||
| 26340 | LD A,B | Continue until the block is done. | ||
| 26341 | OR C | |||
| 26342 | JR NZ,ClearPicture_Byte | |||
| 26344 | POP HL | Restore HL and AF from the stack. | ||
| 26345 | POP AF | |||
| 26346 | RET | Return. | ||
| Prev: 26327 | Up: Map | Next: 26347 |