/
Appendix D - Z88 Clocks
Appendix D - Z88 Clocks
Summary of the Z88 hardware clocks :
The ratios between the Z80 clock and ticks are powers of 2 and thus directly driven by a 15 bits counter where :
- bit 0 is PM1, the Z80 clock
- bit 7 is SCK, the standby clock
- bit 10 is the beeper
- bit 14 is the 5 millisecond tick (i.e. bit 0 of TIM0)
The tick counter (TIM0 register) has a special behavior. TIM1 (second counter) is incremented when TIM0 reaches 128 (bit 7) and continues counting up to 199.
The second counter (TIM1) counts from 0 to 59 (6 bits).
Minutes registers are in fact only one large counter of 21 bits : TIM2 (8 bits) + TIM3 (8 bits) + TIM4 (5 bits).
, multiple selections available,
Related content
5. System Clocks
5. System Clocks
More like this
Real Time Clock
Real Time Clock
More like this
The Z80 CPU
The Z80 CPU
More like this
Z88 Overview
Z88 Overview
More like this
The Clock popdown
The Clock popdown
More like this
5 - Bugs
5 - Bugs
More like this