[Coco] Smartwatch setting from Basic09

Bill Pierce ooogalapasooo at aol.com
Sat Apr 6 03:34:32 EDT 2013


George, If setime works, why not just run setime from basic09 in your program?
Run setime(whatever)

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: Willard Goosey <goosey at virgo.sdc.org>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sat, Apr 6, 2013 1:47 am
Subject: Re: [Coco] Smartwatch setting from Basic09


On Sat, Apr 06, 2013 at 12:00:21AM -0500, George Ramsower wrote:

>  Is there a way to set the smartwatch from basic09?

Dealing with the smartwatch from OS-9 is a pretty involved process --
disabling interrupts, mapping in ROM space, frobbing the MPI control,
etc.  AFAIK you have to do it from assembly.

>  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.

I'd recommend getting in touch with the Glenside club and getting
their Y2K patch set, it has Y2K clean smartwatch utilities -- with
source. Then you could either 1) attempt to turn those utilities into
Basic09-callable subroutine modules, or 2) do your stuff then SHELL
the utilities. 

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list