[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help on clock card



In article <D1253F.FH1@actrix.gen.nz>,
David Empson <dempson@atlantis.actrix.gen.nz> wrote:
> In article <D122I4.FGK@hkuxb.hku.hk>, William <h9104374@hkuxa.hku.hk> wrote:
> > 
> > 	I come across a clock card label "TIME ][" on the card. There are 
> > a 8-bit DIP switch and a variable capacitor on it. Would anyone please 
> > tell me some details about this card (eg. how to use it under ProDOS)?

[snip]

> There was no software included with the card, but I seem to recall
> writing a ProDOS driver for it at some point.  I'll have to look
> through my old source code archives.

Found it.  What I have is a ProDOS SYS file that I wrote which patches
a driver into the in-memory copy of ProDOS.

The original version wouldn't have worked with an accelerator running
faster than 5 MHz (there are a couple of delays required when reading
the MSM5832 clock chip, one of 150 microseconds and the other of 12
microseconds, and my driver uses CPU loops to make these delays as
short as possible), so I've modified it to work at 8 MHz, which should
cover most systems that use the Time ][.

Since there is no ROM on the Time ][, it is very hard to find it by
searching the slots.  My driver therefore has a fixed slot (which I
could set at assembly time).  I've now modified it so that the slot is
stored in a byte near the start of the SYS file, which can be patched
if the card is in another slot.  The default is slot 7.


However, there is one rather major component missing: I haven't
written a program which sets the time (at least, not one that I can
find).  I don't know how I managed this before - perhaps there was a
DOS 3.3 utility disk with the card I had before.  I might even have it
somewhere, but I don't feel like searching through forty or so disk
boxes...