Routines |
Prev: 64DC | Up: Map | Next: 64FD |
This routine is not used. It is probably the predecessor of the routine at 6992.
|
||||
64E6 | LD HL,$7F09 | At one time, 7F09 would have held the number of on-screen character squares that need refreshing | ||
64E9 | LD A,(HL) | Pick up this number in A | ||
64EA | LD (HL),$00 | Reset the number to 0 | ||
64EC | INC L | HL=7F0A | ||
64ED | AND A | Do any character squares need refreshing? | ||
64EE | RET Z | Return if not | ||
64EF | LD D,(HL) | Pick up the coordinates of the first character square that needs refreshing in DE | ||
64F0 | INC L | |||
64F1 | LD E,(HL) | |||
64F2 | INC L | Point HL at the next set of coordinates | ||
64F3 | PUSH HL | |||
64F4 | PUSH AF | |||
64F5 | CALL $6100 | Print the character square at the coordinates in DE | ||
64F8 | POP AF | |||
64F9 | POP HL | |||
64FA | DEC A | Next character square | ||
64FB | JR $64ED | Jump back until all character squares have been printed |
Prev: 64DC | Up: Map | Next: 64FD |