[Coco] Smartwatch setting from Basic09
Bill Pierce
ooogalapasooo at aol.com
Sat Apr 6 14:47:34 EDT 2013
George,
You need to research DriveWire 4 by Aaron Wolfe. It uses the bitbanger serial port to communicate to the PC allowing the use of the virtual disks from the emulators as real disks and virtual hard drives as well as real time clock from the PC and many, many other things Drivewire can do. Terminal emulation, remote control of the Coco from your PC, download from the internet direct to the Coco, Telenet and many other uses. All this in NitrOS-9. A lot of these features are also available in RSDOS using HDBDOS for DW4. More of these features are coming to RSDOS soon :-)
Best of all.... It's FREE. The only hardware is your Coco, PC and the connecting cable.
The connecting cable is a Coco serial to DB-9 that you can make from old cables or purchase from Cloud 9 (about $12 +sh). If your PC is newer and doesn't have a DB-9 serial port, you must also have a DB-9 to USB converter, available at any computer supply. I got mine at Office Depot for $12.99 and they waived shipping and sent it direct to me (they didn't stock it and had to order it). Just ask.
Here is the link to the DW4 site:
https://sites.google.com/site/drivewire4/
Enjoy :-)
Bill Pierce
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: George Ramsower <georgera at gvtc.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sat, Apr 6, 2013 1:03 pm
Subject: Re: [Coco] Smartwatch setting from Basic09
Bill, I don't remember where I got the RTC utilities. The computer I'm using
now does not have a hard drive. I am only using one 3.5" floppy on a 512K CC3.
This computer has 4 eight bit inputs, and 4 eight bit output latches. I use it
for numerous things that need these input/outputs. For keeping tract of
mechanical clocks, the time keeping is important so, keeping the system clock is
also. I also use it for other things but, right now I need the clock to stay on
time for the mechanical clocks.
Perhaps, I may think about making it connect to this PC but, I don't know if
this is possible with OS9. I do know I can connect it via an RS232 port but,
haven't done it on that coco. My other coco did via RS232 ports(it has four),
it's broken right now. I did the "sneaker net" between the two coco's for file
transfers.
I bet this is clear as mud. (bad brain on my part)
George
----- Original Message -----
From: Bill Pierce
To: coco at maltedmedia.com
Sent: Saturday, April 06, 2013 11:12 AM
Subject: Re: [Coco] Smartwatch setting from Basic09
George, if you're using setclk, then you most likely have a B&B hard disk
controller right? SetClk & GetClk are part of their package for the XT-RTC
controller (maybe same for others?). I have one myself, though I don't use it
anymore. I have to find some Seagate ST-225 drives for it (or others as those
were the most popular) Mine had 2x 20 meggers. I use Drivewire now and it has a
clock updated by you PC time once every minute or so. Dead on time.
Bill Pierce
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: George Ramsower <georgera at gvtc.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sat, Apr 6, 2013 10:30 am
Subject: Re: [Coco] Smartwatch setting from Basic09
This morning early, I was thinking on this very thing. It wasn't setime I
used,
it was setclk. Danged memory.
I intend to do some testing today on this very problem and see exactly what I
have done and what the results were.
Last year, I banged my head and my memory isn't all there. So I have to
refresh
it as much as I can.
I'm sure I was simply using the wrong syntax in a B09 program to use
"setclk".
I'll try this again to see if I can or can't get it to work, then I'll have an
update to this list on my findings. I'm sure it was me and not the software.
George
----- Original Message -----
From: Robert Gault
To: CoCoList for Color Computer Enthusiasts
Sent: Saturday, April 06, 2013 9:14 AM
Subject: Re: [Coco] Smartwatch setting from Basic09
George Ramsower wrote:
> I have been using a Coco3 for many years. I love these boxes. My Coco3
is
my connection to the world of my life.
> When I use this to keep track of time keeping things, such as a
mechanical
clock, I have to adjust for the errors in the SmartWatch.
> Is there a way to set the smartwatch from basic09?
> I've attemted this a couple of times but, now I don't remember what I
did
or why it didn't work. Now I want to start this again to monitor a mechanical
clock but, I want to adjust the Smartwatch on a scheduled basis(as I tried
before) such as once a day or every few hours. The smartwatch I am using loses
time and needs adjusting ocassionally.
> Is it possible to do that from Basic09? How would this be accomplished?
Before, I used "Settime" or "Setime"( can't remember right now) but, that was
from the command line. Does the new OS9 clock module allow this or can I use
the
original clock. I don't really care about the year thing. If it says it's
1913,
I'm good with that.
>
> Suggestions?
>
Setime is an OS-9 command to adjust system time but will have no effect on a
real time clock (RTC). Your use of smartwatch is confusing as that is a
copyrighted name for a specific RTC but it seems you may be using it as a
generic name for all RTCs.
To set an RTC, you must know the specifications of the unit as they require
different command sequences to both set and read the time. Except for the
very
simple emulations of RTCs in some Coco emulators, the code sequence will be
complicated enough that an assembly program rather than Basic09 will be your
best bet.
In addition to sending the correct sequence, you must be sure that the RTC
is
"in memory". For that, you must know which I/O bytes are used and if OS-9
currently has those bytes available. That is not a trivial matter on a Coco3
and
you likely may need to reset the GIME and MMU registers. Then there is the
issue
of where the physical location of the RTC is and that may require checking
each
MPI slot.
I have written and sell code that supports the SmartWatch (r) for both Basic
and
OS-9.
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list