| Alien (BUGFIX 1.7) | Routines |
| Prev: 34882 | Up: Map | Next: 34933 |
|
HL = attribute address of menu row A — the strip rows sit on screen rows 1-19, columns 22-31, so row 0 -> $5836 (22582) and each further row adds 32.
|
||||
| 34920 | LD HL,22582 | attr addr of menu row 0 (screen row 1, col 22) | ||
| 34923 | AND A | row 0? | ||
| 34924 | RET Z | yes: HL is already right | ||
| 34925 | LD DE,32 | one attribute row per menu row | ||
| 34928 | LD B,A | B = rows still to skip | ||
| 34929 | ADD HL,DE | +32 per row | ||
| 34930 | DJNZ 34929 | |||
| 34932 | RET | |||
| Prev: 34882 | Up: Map | Next: 34933 |