[Coco] Set clock in basic09

Robert Gault robert.gault at att.net
Tue Dec 2 10:19:58 EST 2014


George Ramsower wrote:
> I'm about to bring one of my cocos out to monitor my old mechanical clock's
> timekeeping abilities. However, the clock chip.. and I can't remember what the
> part number is but, it's called  "SmartWatch".
>   It doesn't keep perfect time but it is consistent.  I know how to use a timed
> event to call a program but, I don't know how to use "Setclk" from a basic program.
>   Is this clear as mud?
>
>   Can someone assist me with this problem?
>
>

The SmartWatch (c) is a Dallas DS1215 or DS1216 mounted in a 16-pin socket which 
you typically place in the disk controller and then mount the disk ROM in the 
SmartWatch socket.
If that is what you have, I can send you two commands for OS-9 that one reads 
the watch at selected intervals and two sets the clock. It makes more sense to 
use clock2_soft and then read the watch at say 5 minute intervals than to 
constantly read the watch. The overhead is significantly reduced.

Robert


More information about the Coco mailing list