[Coco] SmartWatch

Aaron Wolfe aawolfe at gmail.com
Tue Nov 29 15:09:32 EST 2016


On Nov 29, 2016 11:56 AM, "Ron Klein" <ron at kdomain.org> wrote:
>
> I wonder if the real time clock feature of Drivewire is compatible with
the
> DS1216 or whatever was used in the Disto controllers?  If so, it would be
> interesting to see if Extended ADOS3 can access it, though I believe the
> ADOS documentation mentioned a driver was required and not sure where to
> get the driver if it is compatible.
>

The clock is implemented as a driver for OS9, but underneath it's just
doing serial I/O with the bitbanger.  Some of the DriveWire functionality
has been added to non OS9 software, but I don't recall anyone doing the
clock specifically.  It's a probably a pretty simple hack if you have
source to any working driver, there are routines in hdbdos for the high
speed bitbanger I/O that can be called, I think you just send a couple
bytes then read the server's responding bytes which are the time according
to whatever is on the other end of the cable.  However, I doubt that any
existing rtc driver would be compatible since it's pretty different I/O
than you'd think a clock would use.

-Aaron


More information about the Coco mailing list