![]() |
Routines |
Prev: 25820 | Up: Map | Next: 25853 |
This routine is not used. It is probably the predecessor of the routine at 27026.
|
||
25830 | LD HL,32521 | At one time, 32521 would have held the number of on-screen character squares that need refreshing |
25833 | LD A,(HL) | Pick up this number in A |
25834 | LD (HL),0 | Reset the number to 0 |
25836 | INC L | HL=32522 |
25837 | AND A | Do any character squares need refreshing? |
25838 | RET Z | Return if not |
25839 | LD D,(HL) | Pick up the coordinates of the first character square that needs refreshing in DE |
25840 | INC L | |
25841 | LD E,(HL) | |
25842 | INC L | Point HL at the next set of coordinates |
25843 | PUSH HL | |
25844 | PUSH AF | |
25845 | CALL 24832 | Print the character square at the coordinates in DE |
25848 | POP AF | |
25849 | POP HL | |
25850 | DEC A | Next character square |
25851 | JR 25837 | Jump back until all character squares have been printed |
Prev: 25820 | Up: Map | Next: 25853 |