Changes

Jump to: navigation, search

URTC-8 Universal RTC for Z80 computers

428 bytes added, 10:10, 16 August 2019
Updated in line with actual tested software.
== Project status ==
As of this time (April August 2019), the uRTC boards are designed and in fabricationI have received a set from the fabricators. Work An initial board has been built and work has started on the utilities. At the moment I have used the Superbrain as a test machine, and the utility uRTC.COM has been written and tested successfully. To get this working on the PCW, I will need to repair my CPS8256 serial/parallel adapter so that I can transfer uRTC.COM to my PCW for testing.
== Downloads ==
Along with the device itself, there are is downloadable utilities:utility.* uRTC.COM allows the user to set and get the time on the RTC chip.* uRTCTX.com transfers , and transfer the time and date to the host computersystem's operating system (normally CP/M)RTC. If you have uIDE-8 installed, add * There will be a call to this program to your PROFILEversion of uRTC.SUB and locate COM for each supported host computer, because transferring the program on an IDE partition so it loads RTC datetime to the computer is different in each case, and runs fasterthe base I/O address may differ.
=== uRTC.COM ===
Use to set or display the time and date on uRTC-8, or transfer it to the host computer.
usage: uRTC [-t] [-q] - show date and time from the RTC clock" uRTC [[day] [dd/mm/yy] [hh:mm[:ss]]] [-b ADDRt] [-q]"
set RTC day/date/time"
-b ADDR specify alternative t transfer uRTC base Idate/O registertime to system clock" (default is A0) -q quiet mode, reports errors only"
The following examples should illustrate its use:
A>uRTC
Tue 18 Dec 2018 17:05:13
A>uRTC -t
Host RTC time set: Tue 18 Dec 2018 17:05:13
=== uRTCTX.COM ===You can combine functions as well; so for example  A small utility that copies >uRTC Wed 19/12/18 -t ..would set the time day of the week to Wednesday and the date from uRTC-8 to the PCW19th Dec 2018 on the RTC's CP/M internal clock. Install it to , then transfer the boot disk new date and call from PROFILE.SUB. If you have uIDE-8 installed, copy it time to an IDE drive and call from PROFILE.SUB for improved speedthe host computer's system clock.
== Technical info ==
Of particular interest are the 16 registers:
RTCBASE .equ 0A0h 0B0h ; Default uRTC base I/O address(Superbrain version)
rtc1sec .db RTCBASE+00h ; 1 second digit
rtc10sec .db RTCBASE+01h ; 10 second digit
412
edits