🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #40342

Re: How does my system clock work?

#40342
From: Russ Poffenberger
Date: Mon, 25 Dec 1989 20:00
35 lines
2248 bytes
In article <17903@umn-cs.CS.UMN.EDU> griesel@umn-cs.cs.umn.edu (Curtis W. Griesel) writes:
>In order to accomodate an add-on hard disk, I've
>recently upgraded my 1984 Sperry PC from Sperry DOS 2.11
>(licenced from MS of course) to MS DOS 3.3.  Before the
>upgrade, the system was able to remember the time and
>date once it was set; with the new DOS, the system clock
>forgets the time and date when I re-boot.  I don't have
>a clock option in any of the expansion slots, and the
>worthless documentation that came with the machine doesn't
>mention the system clock.  My questions are:
>
>1.  How was my system, under Sperry DOS 2.11, able to keep
>    track of the time and date, even when turned off?

All AT class machines, and some non-AT class clones have a clock chip that is
driven by a battery when the power is shut off. AT class machines have the
registers to read the time and date at boot up in a certain place that DOS (3.0and up) can read to set the time. I suspect that your machine had a hack done
to DOS 2.11 to support your specific machine.

>
>2.  How can I get the system clock to keep track of the time
>    and date with MS DOS 3.3?

You may have to get the technical info about the clock in your machine. Then
write a simple 'C' or assembly program that reads the info and stuffs it into
DOS. This is what the PC style utilities that come with expansion cards for the
PC do. (ie six-pack, etc) If you can get ahold of one of these, maybe (just
maybe) it would work, but I can't guarantee this, the Sperry machine may be one
of a kind.

Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110
(408)437-5254
Technical Details
Message-ID: <1989Dec25.200048.22636@sj.ate.slb.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!sjsca4!molehill!poffen
References: <17903@umn-cs.CS.UMN.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!sjsca4!molehill!poffen
From: poffen@molehill (Russ Poffenberger)
Newsgroups: comp.sys.ibm.pc
Subject: Re: How does my system clock work?
Message-ID: <1989Dec25.200048.22636@sj.ate.slb.com>
Date: 25 Dec 89 20:00:48 GMT
References: <17903@umn-cs.CS.UMN.EDU>
Reply-To: poffen@sj.ate.slb.com (Russ Poffenberger)
Organization: Schlumberger ATE, San Jose, CA
Lines: 35