|  | Routines | 
| Prev: 922B | Up: Map | Next: 926B | 
| DrawFrame | 9231 | LD HL,$0000 | Write 0000 to *8D46. | |
| 9234 | LD ($8D46),HL | |||
| 9237 | CALL $97AD | Call 97AD. | ||
| 923A | CALL $97BC | Call 97BC. | ||
| 923D | LD HL,$57E0 | HL=57E0 (screen buffer location). | ||
| 9240 | LD DE,$57FF | DE=57FF (screen buffer location). | ||
| 9243 | LD B,$C0 | B=C0. | ||
| DrawFrame_0 | 9245 | LD (HL),$C0 | Write C0 to *HL. | |
| 9247 | LD A,$03 | Write 03 to *DE. | ||
| 9249 | LD (DE),A | |||
| 924A | CALL PrintLine_6 | Call PrintLine_6. | ||
| 924D | EX DE,HL | Exchange the DE register with the shadow HL register. | ||
| 924E | CALL PrintLine_6 | Call PrintLine_6. | ||
| 9251 | EX DE,HL | Restore the DE register from the shadow HL register. | ||
| 9252 | DJNZ DrawFrame_0 | Decrease counter by one and loop back to DrawFrame_0 until counter is zero. | ||
| 9254 | LD HL,$56E0 | HL=56E0 (screen buffer location). | ||
| 9257 | LD DE,$4000 | DE=4000. | ||
| 925A | LD B,$20 | B=20. | ||
| 925C | LD A,$FF | A=FF. | ||
| DrawFrame_1 | 925E | LD (HL),A | Write A to *HL. | |
| 925F | INC H | Increment H by one. | ||
| 9260 | LD (HL),A | Write A to *HL. | ||
| 9261 | DEC H | Decrease H by one. | ||
| 9262 | LD (DE),A | Write A to *DE. | ||
| 9263 | INC D | Increment D by one. | ||
| 9264 | LD (DE),A | Write A to *DE. | ||
| 9265 | DEC D | Decrease D by one. | ||
| 9266 | INC L | Increment L by one. | ||
| 9267 | INC E | Increment E by one. | ||
| 9268 | DJNZ DrawFrame_1 | Decrease counter by one and loop back to DrawFrame_1 until counter is zero. | ||
| 926A | RET | Return. | ||
| Prev: 922B | Up: Map | Next: 926B |