Prev: 95A9 Up: Map Next: 961B
95DA: Clock Tick
Used by the routine at ProcessAction.
ClockTick 95DA LD A,($5C78) A=FRAMES.
95DD CP $32
95DF RET C
95E0 SUB $32
95E2 LD ($5C78),A
95E5 LD HL,$5E3F
95E8 LD A,(HL)
95E9 INC A
95EA DAA
95EB LD (HL),A
95EC CP $60
95EE JR NZ,ClockTick_0
95F0 LD (HL),$00
95F2 DEC HL
95F3 LD A,(HL)
95F4 INC A
95F5 DAA
95F6 LD (HL),A
95F7 CP $60
95F9 JR NZ,ClockTick_0
95FB LD (HL),$00
95FD DEC HL
95FE LD A,(HL)
95FF INC A
9600 DAA
9601 AND $0F
9603 LD (HL),A
ClockTick_0 9604 LD HL,$40C8
This entry point is used by the routine at GameStats.
PrintClock 9607 CALL ScreenAddress
960A LD DE,$5E3D
960D LD B,$02
960F CALL PrintScore_1
9612 LD DE,$5E3F
9615 INC HL
9616 LD B,$01
9618 JP PrintScore_Loop
Prev: 95A9 Up: Map Next: 961B