Routines |
Prev: 52032 | Up: Map | Next: 52118 |
Used by the routine at 47987.
|
||||
52069 | PUSH IX | Stash IX on the stack. | ||
52071 | LD IX,49778 | IX=Time_Remaining. | ||
52075 | LD A,(IX+0) | A=*IX+0. | ||
52078 | ADD A,(HL) | A+=*HL. | ||
52079 | DAA | DAA. | ||
52080 | LD (IX+0),A | Write A to *IX+0. | ||
52083 | INC HL | Increment HL by one. | ||
52084 | LD A,(IX+1) | A=*IX+1. | ||
52087 | ADC A,(HL) | A+=*HL. | ||
52088 | DAA | DAA. | ||
52089 | LD (IX+1),A | Write A to *IX+1. | ||
52092 | INC HL | Increment HL by one. | ||
52093 | JR Z,52115 | Jump to 52115 if {} is zero. | ||
52095 | LD IX,22587 | IX=22587. | ||
52099 | RES 7,(IX+0) | Reset bit 7 of *IX+0. | ||
52103 | RES 7,(IX+1) | Reset bit 7 of *IX+1. | ||
52107 | RES 7,(IX+2) | Reset bit 7 of *IX+2. | ||
52111 | RES 7,(IX+3) | Reset bit 7 of *IX+3. | ||
52115 | POP IX | Restore IX from the stack. | ||
52117 | RET | Return. |
Prev: 52032 | Up: Map | Next: 52118 |