home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
BDOS
/
SDATE10.LBR
/
SDATE10.DZC
/
SDATE10.DOC
Wrap
Text File
|
2000-06-30
|
2KB
|
29 lines
SDATE Version 1.0 -- 11/15/87.
SDATE is intended to be used as a utility to set the Z80DOS system
date on systems that have no real time clock, and yet minimize typing.
The program checks the last access date of disk label. The disk label
is defined as the first file in the directory of the logged in disk with
a format of -ddddddd.vvv. "ddddddd" is a 7 character description of the
disk (ie SYSTEM, UTILITY, WORK). "vvv" is a numeric value to identify
the disk. This is the same format used with file cataloging programs
such as MCAT, FATCAT, etc. The volume number and description are
displayed so the operator may verify that the system was booted with the
correct disk. Then the current "last access date" is displayed and the
operator is prompted to make changes. He may enter a "+" to add one to
the date, or "-" to subtract one from the date, or he may enter a valid
date in the format mm/dd/yy. The "/yy" is optional and if omitted the
year that has been displayed is assumed.
Cursory edits are made of the entered date. "/" must be entered as
shown. "mm" is the month, and must be a valid number from 1-12. "dd"
is the day of the month, and must be a valid number 1 through the number
of days for the specified month. "yy", if entered, must be a valid year
from 80 through 99. The leading zero for month and day need not be
entered.
The system date is then set using BDOS call 104 and the last assess
date of the disk label is updated to reflect any new date entered.
-Bill Duerr