Routines
| Prev: A25D | Up: Map | Next: A296 |
A277: Describe a room's picture
|
||||||||||||
| A277 | PUSH IX | Save IX on the stack - Save IX, HL, BC, AF | ||||||||||
| A279 | PUSH HL | Save HL on the stack | ||||||||||
| A27A | PUSH BC | Save BC on the stack | ||||||||||
| A27B | PUSH AF | Save AF on the stack | ||||||||||
| A27C | CALL $A25D | Call the routine "Is thing B in the list at (A0D8)? (only when $A011..." (A25D) - Is there a picture? | ||||||||||
| A27F | JR Z,$A290 | If the zero flag is set, skip ahead to A290 | ||||||||||
| A281 | CALL $A296 | Call the routine "Print 18 newlines" (A296) | ||||||||||
| A284 | CALL $C129 | Call the routine "Narrow the text lines to the left half (a picture is..." (C129) | ||||||||||
| A287 | LD L,(IX+$01) | Read byte +1 of the record at IX into L - The picture data... | ||||||||||
| A28A | LD H,(IX+$02) | Read byte +2 of the record at IX into H | ||||||||||
| A28D | CALL $F3C2 | Call the routine "Draw a picture (the picture interpreter)" (F3C2) - ...drawn by the picture interpreter | ||||||||||
| A290 | POP AF | Restore AF from the stack | ||||||||||
| A291 | POP BC | Restore BC from the stack | ||||||||||
| A292 | POP HL | Restore HL from the stack | ||||||||||
| A293 | POP IX | Restore IX from the stack | ||||||||||
| A295 | RET | Return to the caller | ||||||||||
| Prev: A25D | Up: Map | Next: A296 |