[Coco] OS9 Level I - Clock issue?
Gene Heskett
gheskett at wdtv.com
Mon Dec 28 12:06:28 EST 2015
On Monday 28 December 2015 09:44:10 Bill Pierce via Coco wrote:
> If I remember correctly, the stock clocks (both L1 & L2) are not Y2K
> compliant. Is there a chance this may have something to do with it?
> The clocks will not be correct beyond 1999 (IIRC).
That was the fault of some of the hardware clocks we had back then. But
I think we/I had that fixed by the middle of 1998. So software clocks
today will not fall over until 2038, and a hardware clock now has 100
added to its output in software before you or the file system sees it.
Unfortunately for the hardware clock, we still run into the overflow and
wrap back to zero in 2038 because the year byte is just that, a byte
whose max value is of course 255 in decimal.
However, the clocks have been taken apart since then to make a universal
clock, and a special to the hardware or software, clock2, since I did
the patching, so I haven't a clue if something got lost in the process.
Does anyone know if the alarm function still works? It did when I got
done with it. That of course made it bigger, so however much of that
code survives today, I do not know. That bit of cutting the clock into
two modules is just one of the many "cut it up into modules for enhanced
versatility" reasons we are out of system ram so fast. Each time a code
module is divided like that, we lose 32 bytes of system ram to keep
track of it, and SCF.mn is now in 4 pieces, and we've lost at least 2,
256 byte pages of it, mainly from that effect when it is also applied to
RBF.mn too as its incomplete without a 2nd module to address the
hardware diffs. Both of those main modules really should be built as
one module, using conditional assembly for the individual users
hardware.
As it is, I cannot format a floppy to generate a new boot by the
conventional mb recipes. The lack of system ram has rather effectively
painted me into a corner, preventing me from doing any major development
work ON MY CoCo3.
I am not happy as you can tell. But it is also readily apparent that my
opinion doesn't count. Shrug.
> There was a fix for
> this somewhere. I remember having to patch my clock for Y2K. Then I
> started using the emulators and their clock was already patched. I
> just found the patch is on RTSI:
>
> http://ftp://os9archive.rtsi.com/OS9/OS9_6X09/SYSMODS/clock4y2k.lzh
>
>
>
>
>
>
> Bill Pierce
> "Charlie stole the handle, and the train it won't stop going, no way
> to slow down!" - Ian Anderson - Jethro Tull
>
>
>
> My Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Co-Contributor, Co-Editor for CocoPedia
> http://www.cocopedia.com/wiki/index.php/Main_Page
> Global Moderator for TRS-80/Tandy Color Computer Forums
> http://www.tandycoco.com/forum/
>
> E-Mail: ooogalapasooo at aol.com
>
>
>
>
>
>
> -----Original Message-----
> From: Rogelio Perea <os9dude at gmail.com>
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Sent: Mon, Dec 28, 2015 9:14 am
> Subject: Re: [Coco] OS9 Level I - Clock issue?
>
> On Sun Dec 27 2015, Richard E. Crislip wrote:> Am I running an
> outdated CLOCK module here? (newer edition> > available?). I mean, if
> it is at all the CLOCK module the one at> > fault...>> My thought is
> are you running a 12 hour clock? Does it change the date> at 12
> noon?OS9 Level 1 takes the SETIME input in 24 hour format, just double
> checkedon the manuals as I got curious about that too.There seems to
> be an issue with the stock OS9L1 CLOCK program, I loadedNitrOS9 L1 and
> its clock runs fine between day changes at midnight. Asmentioned, all
> these years I don't recall ever taking a second look at theclock when
> working late on the CoCo under OS9, never bothered to checkuntil now
> that I had a visual cue on screen due to the Logo Clock
> programrunning.Maybe I will - as an exercise - disassemble the clock
> module and see if Ican find the cause of the one day ahead flip upon
> the 00:00 hour :-)-- RP-- Coco mailing
> listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/co
>c o
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list