DS1202 utility
This is an enhanced version of Hal Bower's DS1202 utility for CP/M:
- A bug in the DS1202 write routine was corrected, so the date/time can
now be set.
- The Day of Week is now computed and displayed correctly.
- The program accepts dates in both mm/dd/yy and
dd.mm.yy formats.
- Can be used under MP/M to set the system
time from the CMOS clock and viceversa.
Syntax:
DS1202 // --> shows the help screen
DS1202 --> displays the CMOS date and time
DS1202 dd.mm.yy hh:mm --> sets the date and time (UK format)
DS1202 mm/dd/yy hh:mm --> sets the date and time (US format)
DS1202 /R --> sets the system time from the CMOS clock
(MP/M only)
DS1202 /W --> sets the CMOS clock from the system time
(MP/M only)
DS1202 /W dd.mm.yy hh:mm --> sets both the CMOS clock and system time
(UK format, MP/M only)
DS1202 /W mm/dd/yy hh:mm --> sets both the CMOS clock and system time
(US format, MP/M only)
Note that for the date and time components two digits always have to be
entered.
Last updated: 15-Feb-2007
|