![]() |
Routines |
| Prev: 80AA | Up: Map | Next: 80C2 |
|
Used by the routine at CLEAR_SCREEN.
Writes $00 over $4000 for $58 pages -- the whole bitmap, all three thirds. The two routines below it share the same inner loop with a different address and length, which is why they are three entry points rather than three routines.
|
||||
| CLEAR_DISPLAY | 80B4 | LD HL,$4000 | ||
| 80B7 | LD B,$58 | |||
|
This entry point is used by the routine at CLEAR_VARIABLES.
|
||||
| CLEAR_FROM_HL | 80B9 | LD C,$00 | ||
|
This entry point is used by the routine at CLEAR_ATTRIBUTES.
|
||||
| FILL_FROM_HL | 80BB | LD (HL),C | ||
| 80BC | INC HL | |||
| 80BD | LD A,H | |||
| 80BE | CP B | |||
| 80BF | JR NZ,FILL_FROM_HL | |||
| 80C1 | RET | |||
| Prev: 80AA | Up: Map | Next: 80C2 |