![]() |
Routines |
| Prev: 38221 | Up: Map | Next: 38269 |
|
Sets bit 3 of the attribute of both halves of a door.
|
||||||||
| CloseDoorway | 38245 | LD A,(IX+5) | Fetch the attribute of the door. | |||||
| 38248 | OR %00001000 | Set bit 3. | ||||||
| 38250 | LD (IX+5),A | Write it back. | ||||||
| 38253 | PUSH IX | Stash IX on the stack. | ||||||
| 38255 | CALL GetOtherDoorHalf | Call GetOtherDoorHalf to point IX at the other half of the door. | ||||||
| 38258 | LD A,(IX+5) | Fetch the attribute of the other half. | ||||||
| 38261 | OR %00001000 | Set bit 3. | ||||||
| 38263 | LD (IX+5),A | Write it back. | ||||||
| 38266 | POP IX | Restore IX from the stack. | ||||||
| 38268 | RET | Return. | ||||||
| Prev: 38221 | Up: Map | Next: 38269 |