![]() |
Routines |
| Prev: D64F | Up: Map | Next: D663 |
|
Used by the routine at DrawTownPanel.
Moves a screen address up by one row of characters.
|
||||||||||||
| MoveUpRow | D659 | LD A,L | Subtract thirty-two from the low byte. | |||||||||
| D65A | SUB $20 | |||||||||||
| D65C | LD L,A | |||||||||||
| D65D | RET NC | Return if it has not gone into the previous third. | ||||||||||
| D65E | LD A,H | Subtract eight from the high byte. | ||||||||||
| D65F | SUB $08 | |||||||||||
| D661 | LD H,A | |||||||||||
| D662 | RET | Return. | ||||||||||
| Prev: D64F | Up: Map | Next: D663 |