11 Clock Interrupts

The procedure “clock” (3725) handles interrupts from either the line frequency time clock (type KW11-L, interrupt vector address 100) or the programmable real-time clock (type KW11-P, interrupt vector address 104).

UNIX requires that at least one of these should be available. (If both are present, only the line time clock is used.)

Whichever clock is used, interrupts are generated at line frequency (i.e. with a 50 Hz power supply, every 20 milliseconds). The clock interrupt priority level is six, higher than for any other peripheral device on our typical system, so that there will usually be very little delay in the initiation of “clock” once the interrupt has been requested by the clock controller.