🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari16
Article #587

Re: AUTO Folder and System Initialization

#587
From: Neil Harris
Date: Sat, 03 May 1986 00:17
37 lines
1944 bytes
In article <8604300420.AA12861@ohio-state.ARPA>, terrell@OHIO-STATE.ARPA (Eric
Terrell) writes:
> 
> This evening I wrote a little program to set the system time and date for my
> 520ST.  When I ran the program, it did actually change the time and date as
> expected.
> 
> Since I wanted this program to be run at boot time, I placed it in a folder
> named AUTO.  When I booted up, my program was run, but the time and date
> were unchanged by my program.
> 
> I think what happened is this:  my program set the date and time perfectly.
> After the program finished, the date and time were given their default
> (and strange) values by the system.
> 
> THE PUNCH LINE:
> 
> Is there a way to get a program in the AUTO folder to run after all system
> initialization is completed?

There are 2 different system clocks in the system.  You set the wrong one.
I have a PD program that lives in my AUTO folder and sets the clock.  It
works perfectly.

GEMDOS $2B is SETDATE
       $2D is SETTIME

XBIOS 22 is settime.

Both these calls are equivalent, and to the WRONG clock.

The correct call is XBIOS call 25, ikbdws, which sends a command to the
intelligent keyboard.  You must send ikbd command $1B, set clock time.
This is the clock that determines the system time at bootup.

--->Neil @ Atari
	... lll-crg!vecpyr!atari!neil
Technical Details
Message-ID: <244@atari.UUcp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!wanginst!ulowell!ci-dandelion!talcott!husc6!harvard!caip!lll-crg!lll-lcc!vecpyr!atari!neil
References: <8604300420.AA12861@ohio-state.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!wanginst!ulowell!ci-dandelion!talcott!husc6!harvard!caip!lll-crg!lll-lcc!vecpyr!atari!neil
From: neil@atari.UUcp (Neil Harris)
Newsgroups: net.micro.atari16
Subject: Re: AUTO Folder and System Initialization
Message-ID: <244@atari.UUcp>
Date: Fri, 2-May-86 20:17:39 EDT
Article-I.D.: atari.244
Posted: Fri May  2 20:17:39 1986
Date-Received: Tue, 6-May-86 07:29:18 EDT
References: <8604300420.AA12861@ohio-state.ARPA>
Organization: Atari Corp/Mktg
Lines: 37