System Clock - Tandy 1000 SL Technical Reference Manual

Table of Contents

Advertisement

Sofhvare
System Clock
These routines provide methods of reading and setting the clock main-
tained by the system. This device is labeled CLOCK in the device list
of the operating system. An interface for setting the multiplexer for
audio source
is
also provided.
Software Interrupts
1A hex (26 dec)
Function Summary
AH
=
0:
Get time of day
AH
=
1 :
Set time of day
AH
=
2:
Read real-time clock
AH
=
3:
Set real-time clock
AH
=
4:
Read date from real-time clock
AH
=
5:
Set the date in the real-time clock
AH
=
80H:
Set up sound multiplexer
The clock runs at the rate of 1,193,180/65,536 per second (about 18.2
times per second).
26.

Advertisement

Chapters

Table of Contents
loading

Table of Contents