silvert@dalcs.UUCP (03/14/87)
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