Article View: comp.sys.atari.st
Article #25666Clock functions on boot
From: silvert
Date: Sat, 14 Mar 1987 18:54
Date: Sat, 14 Mar 1987 18:54
21 lines
1708 bytes
1708 bytes
I didn't get too much useful response to my query about clocks, so I
fiddled about on my own, and this is what I found out -- these results
were obtained with TDI/Modula-2 Vers. 2 (Have ordered Ver. 3 and am
waiting...) -- they MAY apply to ASM calls and C as well.
When the system is turned on, the date returned by the XBIOS call, which
I think accesses the keyboard clock, is $6000 (6000H or 0x6000,
depending on your language), and the time is $0000. The system date
returned by the GEMDOS call is $0B74, or 85/11/20, which is presumably
what sets the default clock. After booting, both clocks read the same.
If you reboot, the value in the clocks depends on whether you have a
control panel installed, etc. I find that the keyboard clock tends to
come back with $0ABD, which is 85/5/29. Anyway, I find th whole thing
really confusing. Could someone clarify how these clocks are set and
reset, and what affects what? This experimental approach to
documentation is a real pain.
--
Bill Silvert
Marine Ecology Laboratory, Dartmouth, NS, Canada
CDN or BITNET: silvert@cs.dal.cdn -- UUCP: ..!{seismo|utai}!dalcs!silvert
ARPA: silvert%dalcs.uucp@seismo.CSS.GOV -- CSNET: silvert%cs.dal.cdn@ubc.csnet
Technical Details
Message-ID:
<2445@dalcs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!dalcs!silvertShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!dalcs!silvert From: silvert@dalcs.UUCP Newsgroups: comp.sys.atari.st Subject: Clock functions on boot Message-ID: <2445@dalcs.UUCP> Date: Sat, 14-Mar-87 13:54:03 EST Article-I.D.: dalcs.2445 Posted: Sat Mar 14 13:54:03 1987 Date-Received: Sun, 15-Mar-87 04:18:26 EST Organization: Marine Ecology Lab. Lines: 21 Keywords: XBIOS, GEMDOS, gettime(), keyboard clock, modula-2