Date : Sat, 08 Sep 1984 12:53:00 MDT (Sat)
From : Keith Petersen <W8SDZ@Simtel20.ARPA>
Subject: Kaypro 4-84 time display program now available
Kaypro 4-84 users will be interested in the KP4TIME2 package. These
files are now available from SIMTEL20:
Filename Type Bytes CRC
MICRO:<CPM.KAYPRO>
KP4TIME2.ASM.1 ASCII 21849 9F1EH
KP4TIME2.COM.1 COM 896 C8F0H
KP4TIME2.HEX.1 ASCII 2195 87D9H
KP4TIME2.INF.1 ASCII 1526 86F0H
...and for those who want the whole package and can FTP ITS-binary files:
KP4TIME2.LBR.1 COM 13824 A3E7H
Here's a short description of the program:
CP/M program to display and set the real-time clock on Kaypro 4-84.
Written 04/22/84 by Bob Snider, Columbus Ohio. Greatly expanded 6/30/84.
Display is MM/DD HH:MM:SS and can be 24-hour format or 12-hour with
AM/PM. Date is optional, and the ability to set the clock is optional
for those who want a minimum length module. Customize this assembly
by setting the options in the "Customization section".
The clock is just displayed by the command "TIME". The clock is displayed
and set by anything extra on the command line, ie. "TIME SET". The
program will prompt for date and time value which must be entered as in the
display format.
Each of the following items can be set independently:
Date (month/day)
Day of the week
Time of day (seconds may be omitted)
If the 12-hour format is on, AM or PM must always follow the time.
Any omitted items are not changed in the clock.
The clock is set at the carriage return. The input line is parsed for
proper format, but not checked for valid dates or times. If nothing is
entered the time is unchanged. If an error is detected, the position of
the error in the string is flagged with a '^' and nothing is set.
The clock is checked to see if an update has occurred while being read,
and it is re-read if so, ensuring valid time displays.
Problems or enhancements should be directed to the Kaypro User's Group on
CompuServe, page PCS-25.
--Keith