110817     SETDTM - Set Date and Time Utilizing Digital Pathways
TCU-150 Clock  Version: V1.0, November 1985
Submitted by: John C. Gibbons, Macedonia, OH
Operating System: RT-11 V4.0 or later  Source Language: MACRO-11
Memory Required: 581 Words  Hardware Required: Digital Pathways
TCU-150 UNIBUS Clock  Keywords: Clock
Abstract: SETDTM is a program designed to read the Digital Pathways,
Inc. TCU-150 battery operated UNIBUS clock and set the system
date and time accordingly under the RT-11 V4 or later
The TCU-150 has the hardware capability of providing the Julian
year, month and day as well as the hour, minute and second.  Leap
years are accounted for by the TCU-150 in hardware as well.
This program employs a unique feature in that it also provides for
an optional Daylight Savings Time (DST) set-ahead (typically in
the Spring) by manually setting a storage location (DSTFLG)
in this program to a non-zero value.  This allows the user to
account for the time change WITHOUT resetting the clock
registers in the TCU-150 directly.  Leap years are also
accounted for when there is a month roll-over for the DST
calculation.  Indirect command files are provided with the
distribution to accomplish the task of changing from Standard
Time to Daylight Savings Time and vice versa.
Constants are also provided in the source listings to accomodate
the use of either the 50HZ or 60HZ line frequency clocks.  The
distribution has both 50HZ and 60HZ versions already compiled
for the users convenience.
Media (Service Charge Code): User's Manual (EA), One RX01 Diskette
(KA)  Format: RT-11, 600' Magnetic Tape (MA)  Format: RT-11

The PDP-11 DECUS Software Index
The PDP-11 Home Page
Tim Shoppa <shoppa@trailing-edge.com>
Created: December 26, 1998