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
Text File  |  2000-06-30  |  2KB  |  29 lines

  1. SDATE Version 1.0 -- 11/15/87.
  2.  
  3.      SDATE is intended to be used as a utility to set the Z80DOS system
  4. date on systems that have no real time clock, and yet minimize typing.
  5. The program checks the last access date of disk label.  The disk label
  6. is defined as the first file in the directory of the logged in disk with
  7. a format of -ddddddd.vvv.  "ddddddd" is a 7 character description of the
  8. disk (ie SYSTEM, UTILITY, WORK).  "vvv" is a numeric value to identify
  9. the disk.  This is the same format used with file cataloging programs
  10. such as MCAT, FATCAT, etc.  The volume number and description are
  11. displayed so the operator may verify that the system was booted with the
  12. correct disk.  Then the current "last access date" is displayed and the
  13. operator is prompted to make changes.  He may enter a "+" to add one to
  14. the date, or "-" to subtract one from the date, or he may enter a valid
  15. date in the format mm/dd/yy.  The "/yy" is optional and if omitted the
  16. year that has been displayed is assumed.
  17.  
  18.      Cursory edits are made of the entered date.  "/" must be entered as
  19. shown.  "mm" is the month, and must be a valid number from 1-12.  "dd"
  20. is the day of the month, and must be a valid number 1 through the number
  21. of days for the specified month.  "yy", if entered, must be a valid year
  22. from 80 through 99.  The leading zero for month and day need not be
  23. entered.
  24.  
  25.      The system date is then set using BDOS call 104 and the last assess
  26. date of the disk label is updated to reflect any new date entered.
  27.  
  28. -Bill Duerr
  29.