A 8bit real time clock for old computers. Keeps the time when the computer is shut down. Fully covered address bus to prevent conflicts. The backup battery should theoretically last for about six years.
Yes, there are many more modern RTC's out there. I made this just for fun and with parts that were readily available back in the 80s. I like to keep things period correct 😉
First set the jumpers for the RTC. You can choose between 200h, 240h, 300h and 340h.
Plug the card into a free ISA slot, either 8bit or 16bit.
Download the control prgram and put it on your PC:
Control program: MM58167.EXE (Source: MM58167.BAS)
Alternative German version:
Control program: MM58167_GER.EXE (Source: MM58167_GER.BAS)
Next, have a look at the usage description:
Usage:
------
MM58167.EXE ADDRESSh SET|GET [VERBOSE] [FORCE] [NOEX]
Adressh: The address of the RTC, set by jumpers on the PCB, e.g. 240h
SET|GET: Sets the RTC to the system clock and vise versa.
[VERBOSE]: Outputs some information.
[FORCE]: Force given address without checking for plausible RTC data.
[NOEX]: Don't export the time to C:\MM581.RTC.
The file is needed to update the year automatically.
Example:
To write the system time to the RTC, setup at 300h:
MM58167.EXE 300h SET
--------------------------------------------------------
Credits to:
github.com/mrehkopf/ & github.com/Sciurus68k/
Project page:
github.com/jensma-de/MM58167-ISA-RTC/
At first you need to set the current time and date to the clock:
date
After this command you can set the date interactively. Next up is the time:
time
Same interactive configuration here. Next up you put your time and date into the RTC (assuming you configured it for adress 340h):
MM58167.EXE 340h SET
Now the RTC is set and should, if you put in a CR2032 coin cell into it, keep the time.
To read the date and time from the RTC to update your system on startup, add this to your C:\AUTOSTART.BAT:
MM58167.EXE 340h GET
That's it!
Only if you're having problems with the interrupt output: cut the trace between the two pads of the jumper in the top left corner of the pcb. Then close the center and the right pad.
Yes. Just make sure your OS can handle dates after 1999!
That's right. In order increment the year automatically the MM58167.EXE offloads some information to C:\MM581.RTC. If you don't want this for some reason you can disable it with the NOEX argument.
Downside to all of this is that you have to start your computer at least once in two years. But seriously - if you boot up your PC that rarely you might want to remove the time keeping battery anyways :)
Note for the battery holder: The holder I used is just labeled "Rainpro". No idea about the exact model. Should be a very common CR2032 battery holder, though. Here's a picture of the listing:
Alternatively you can download and check out the interactive BOM: iBOM