Timer
The timer is a module that consists of two internal registers:
- the
CONT
register (address10h
in the I/O memory), - and the
COMP
register (address11h
in the I/O memory).
When the clock ticks, the CONT
register increments by one. When the CONT
register matches the COMP
register, an interrupt is triggered via the INT1
line of the PIC.
It is based on Intel's 8253 PIT, but with some modifications to simplify its operation.