🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #25378

"Setting the date"

#25378
From: poirot
Date: Thu, 05 Mar 1987 00:51
38 lines
1886 bytes

	A few weeks ago, i wrote a little program (using ALCYON C) to set the
date correctly at system reboot (who said original ??).  I use Tsetdate() and
Ikbdw() routines to set the date correctly in the 2 system clocks (i need  the
keyboard clock to be set to display it in the upper right corner of the screen)


	No problem to make it work correctly, but (there's always  a but)
my program always ask me for the date (and time) even after a RESET. However
i think the date is still correct in the keyboard (just frozen at reset).

	So i decided to modify it, to read the keyboard clock and if  this one
seems to be ok, set it as system date. So, I used Ikbdw() routine to read it
( command $1C) but all i got is 0 !

  	Am i right to say the date is still correct after a reset ?
	As someone got the same problem ?


Disclaimer: Opinions expressed above do not necesseraly reflect those
	    of my Employer. I have no affiliations with any named company .

===============================================================================

Didier POIROT						D. Poirot
				
mail: ...!seismo!mcvax!inria!poirot			INRIA
							Domaine de Voluceau
							B.P 105

							78153 LE CHESNAY CEDEX

							FRANCE
===============================================================================


   
Technical Details
Message-ID: <8703041333.AA11631@inria.inria.fr>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!poirot@seismo.CSS.GOV@inria.inria.fr

Show 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!clyde!cbatt!ucbvax!poirot@seismo.CSS.GOV@inria.inria.fr
From: poirot@seismo.CSS.GOV@inria.inria.fr
Newsgroups: comp.sys.atari.st
Subject: "Setting the date"
Message-ID: <8703041333.AA11631@inria.inria.fr>
Date: Wed, 4-Mar-87 19:51:10 EST
Article-I.D.: inria.8703041333.AA11631
Posted: Wed Mar  4 19:51:10 1987
Date-Received: Fri, 6-Mar-87 05:42:54 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 38