![]() |
Routines |
| Prev: A1AA | Up: Map | Next: A1C3 |
|
Used by the routines at load_ore and draw_frame.
The same as line_up_hl, for a screen address in DE.
|
||||||||
| line_up_de | A1B3 | DEC D | ||||||
| A1B4 | LD A,D | |||||||
| A1B5 | INC A | |||||||
| A1B6 | AND $07 | |||||||
| A1B8 | RET NZ | |||||||
| A1B9 | LD A,E | |||||||
| A1BA | SUB $20 | |||||||
| A1BC | LD E,A | |||||||
| A1BD | RET C | |||||||
| A1BE | LD A,D | |||||||
| A1BF | ADD A,$08 | |||||||
| A1C1 | LD D,A | |||||||
| A1C2 | RET | |||||||
| Prev: A1AA | Up: Map | Next: A1C3 |