[comp.sys.apple2] CPS clock

lm03_cif@uhura.cc.rochester.edu (Larry Moss) (03/27/90)

I was asked to help someone recreate an old experiment on an Apple IIe
using an MCI clock.  The problem is that he no longer has the same
hardware that the program being used was written for.  He eventually came
up with a CPS board that supposedly is compatible with the MCI clock.
Well, the old program didn't work.  I was able to modify it without too
mcuh difficulty to read from the new board, but I can't read in
thousandths of a second which is critical to the experiment.  I can't
imagine that it's too difficult, but the only documentation I managed to
find just said it's compatible with the MCI clock.

If anyone has any experience with this, please let me know.

Thanks,
Larry
-- 
lm03_cif@uhura.cc.rochester.edu / CLARKE'S THIRD LAW:
lmo3_ss@db1.cc.rochester.edu   / Any sufficiently advanced technology is
lmo3_ss@uordbv.bitnet         / indistinguishable from magic.

chris@zork2.cc.binghamton.edu (Chris Peck) (03/27/90)

> Well, the old program didn't work.  I was able to modify it without too
> mcuh difficulty to read from the new board, but I can't read in
> thousandths of a second which is critical to the experiment.  I can't
> imagine that it's too difficult, but the only documentation I managed to
> find just said it's compatible with the MCI clock.

The problem is that the output is "compatible" with the MCI clock, BUT, the CPS
card does not provide thousandths of a second - it returns .000 Here's
the quote from the manual:
" The three zeros at the end of the time string are for milliseconds. 
The CPS clock does not use milliseconds, but the zeros are included for
compatibility with the Apple Clock." 
 Nice, eh??  You may be able to get the data from the clock, but not by
using the onboard ROM routines.  The manufactures data sheet for the OKI
Clock/Calendar (Part No. MSM 5832, I think that's the clock chip number)
would be pretty helpful.  I can probably find a copy of this somewhere
if you want. We used to do alot with that card (not the clock part, the
serial port).
-------------------------------------------------------
chris@zork2.cc.binghamton.edu
chris@bingvaxu.cc.binghamton.edu    Chris Peck
chris@bingvaxa.bitnet		    SUNY Binghamton, NY
--"Any opinions expressed above are mine, ALL MINE!"--