If you set up the D12C887 at $9800 then this code will work:
The beauty of this is that you could program a BBS to use this. The internal RTC gets messed up when either the tape or disk storage units are accessed - so using the D12C887 provides a separate, accurate clock with which to tag things like messages and files. Obviously, it does not worry about dates - but that could easily be accommodated by a subsystem.
My name is Rick Towns and I am an amateur astronomer and computer programmer from Canada. This is a collection of interesting posts I've gathered over the years.