Prev: CB40 Up: Map Next: CB96
CB65: Routine at CB65
Used by the routine at BB73.
CB65 PUSH IX Stash IX on the stack.
CB67 LD IX,$C272 IX=Time_Remaining.
CB6B LD A,(IX+$00) A=*IX+00.
CB6E ADD A,(HL) A+=*HL.
CB6F DAA DAA.
CB70 LD (IX+$00),A Write A to *IX+00.
CB73 INC HL Increment HL by one.
CB74 LD A,(IX+$01) A=*IX+01.
CB77 ADC A,(HL) A+=*HL.
CB78 DAA DAA.
CB79 LD (IX+$01),A Write A to *IX+01.
CB7C INC HL Increment HL by one.
CB7D JR Z,$CB93 Jump to CB93 if {} is zero.
CB7F LD IX,$583B IX=583B.
CB83 RES 7,(IX+$00) Reset bit 7 of *IX+00.
CB87 RES 7,(IX+$01) Reset bit 7 of *IX+01.
CB8B RES 7,(IX+$02) Reset bit 7 of *IX+02.
CB8F RES 7,(IX+$03) Reset bit 7 of *IX+03.
CB93 POP IX Restore IX from the stack.
CB95 RET Return.
Prev: CB40 Up: Map Next: CB96