![]() |
Routines |
| Prev: 954D | Up: Map | Next: 957D |
|
Sets bit 3 of the attribute of both halves of a door.
|
||||||||
| CloseDoorway | 9565 | LD A,(IX+$05) | Fetch the attribute of the door. | |||||
| 9568 | OR %00001000 | Set bit 3. | ||||||
| 956A | LD (IX+$05),A | Write it back. | ||||||
| 956D | PUSH IX | Stash IX on the stack. | ||||||
| 956F | CALL GetOtherDoorHalf | Call GetOtherDoorHalf to point IX at the other half of the door. | ||||||
| 9572 | LD A,(IX+$05) | Fetch the attribute of the other half. | ||||||
| 9575 | OR %00001000 | Set bit 3. | ||||||
| 9577 | LD (IX+$05),A | Write it back. | ||||||
| 957A | POP IX | Restore IX from the stack. | ||||||
| 957C | RET | Return. | ||||||
| Prev: 954D | Up: Map | Next: 957D |