Changes

URTC-8 Universal RTC for Z80 computers

1,461 bytes added, 19:49, 1 October 2019
/* Additional CP/M software required */
=== Additional CP/M software required ===
You will need the Y2K compliant versions of DATE.COM, DIR.COM and SHOW.COM in order to use uRTC fully. You can download these from [http://www.gaby.de www.gaby.de] specifically, here: [http://www.cpm.z80.de/download/cpm3bin.zip www.cpm.z80.de/download/cpm3bin.zip].
 
You will also need a copy of INITDIR.COM: [https://drive.google.com/open?id=1EJOk6i24IxBluL8gx61bsn-a5Gl5MGnY Download link]
 
=== Using timestamps with CP/M plus files ===
A full description of how to configure a CP/M Plus system for timestamps can be found on page 592 of [[the CP/M 3 user guide|http://www.cpm.z80.de/manuals/cpm3-usr.pdf]].
 
It's fairly straightforward. First, use INITDIR [drive] to create space in the drive's directory for the timestamps. For example:
 
A>INITDIR A:
 
It will ask you if you want to reformat the directory. Don't worry, no files will go missing, but if you attempt this on a drive with many files, it may run out of space.
 
Once the directory is reformatted, you use SET to set the sort of timestamps you want.
 
For example:
 
A>SET A: [CREATE=ON]
 
..will turn on file creation timestamps (the time is recorded when a file is created)
 
A>SET A: [UPDATE=ON]
 
..will turn on update timestamps (the time is recorded when a file is updated)
 
A>SET A: [ACCESS=ON]
 
..will turn on access timestamps (the time is recorded when a file is opened). This option disables CREATE - the two options are mutually exclusive.
 
Now, use DIR with option [FULL] to see the timestamps (after you've created / updated / accessed any files). You will see the timestamps on the far right of the directory listing. Where a timestamp is missing, it means that the file hasn't been accessed / created / updated since the INITDIR operation.
== Technical info ==
412
edits