|
| |
THE CLOCK$ DEVICE
To allow a clock board to be integrated into the system for TIME
and DATE, the CLOCK$ device is used. This device defines and
performs functions like any other character device (most
functions will be reset done bit, reset error bit, and return).
When a read or write to this device occurs, 6 bytes are
transferred. The first 2 bytes are a word, which is the count of
days since 01-01-80. The third byte is minutes, the fourth is
hours, the fifth is hundredths of a second, and the sixth is
seconds. Reading the CLOCK$ device gets the date and time,
writing to it sets the date and time. |