![]() |
Routines |
| Prev: 28960 | Up: Map | Next: 29089 |
| 29032 | CALL 29441 | Read two bytes AFTER HL position into BC, advancing HL before both reads | ||
| 29035 | PUSH HL | Store HL | ||
| 29036 | PUSH BC | Store BC | ||
| 29037 | LD A,7 | Store 7 (white INK, black PAPER) at 23695... | ||
| 29039 | LD (23695),A | ... | ||
| 29042 | LD A,64 | Set current terrain interaction parameter to preserve-attribute... | ||
| 29044 | LD (23483),A | ... | ||
| 29047 | LD A,59 | Draw picture in frame (1) [graphic data at 59548]... | ||
| 29049 | CALL 29960 | ... | ||
| 29052 | POP BC | Restore BC | ||
| 29053 | CALL 36569 | Update virtual attribute cursor storage location to position (C, B) and point HL to corresponding attribute file address | ||
| 29056 | PUSH HL | Transfer memory address of attribute cursor... | ||
| 29057 | POP IX | ...into IX | ||
|
The sun in the picture is 34 bytes, or 1 character down and 2 characters right from top-left corner of picture.
|
||||
| 29059 | LD (IX+34),70 | Set attribute of sun in picture to 70 (yellow INK, black PAPER, BRIGHT) | ||
| 29063 | LD A,7 | Set attribute to 7 (white INK, black PAPER) for... | ||
| 29065 | LD (IX+65),A | ...mountain peak in picture (3 characters, 3 × 1)... | ||
| 29068 | LD (IX+66),A | ... | ||
| 29071 | LD (IX+67),A | ... | ||
| 29074 | LD A,68 | Set attribute to 68 (green INK, black PAPER, BRIGHT) for... | ||
| 29076 | LD (IX+97),A | ...grassland in picture (3 characters, 3 × 1)... | ||
| 29079 | LD (IX+98),A | ... | ||
| 29082 | LD (IX+99),A | ... | ||
| 29085 | POP HL | Restore HL | ||
| 29086 | JP 28060 | Return to room drawing routine and process next data | ||
| Prev: 28960 | Up: Map | Next: 29089 |