[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

994.0. "Clock problems " by BUFFER::TOHLINE (John Tohline) Wed Oct 31 1990 10:06

    I just purchased a clock (ST/IME) for my 1040ST.  It comes with a
    program to initially set the clock, a program to update the system
    clock and calendar at boot time, and with a public domain digital
    clock (DCCLK33).  It was relatively simple to install and to set the
    time.  I have run into a problem, however, when I try to put the
    software on my hard disk.  When I boot from the floppy supplied with
    the clock, everything works correctly.  That means that the system
    calendar and clock are automatically set to the correct time and the
    DCCLK33 program displays the correct time in the upper right corner of
    the monitor.

    When I boot from my hard disk, everything works correctly except the
    system time is not set.  It starts at 12:00.  I am confused by this
    because the DCCLK33 display is correct.  I assume that this means that
    the display clock gets its time from the chip rather than the system
    time.  The calendar is set correctly.  What's wrong?  Could there be
    something in my AUTO folder that is resetting the system time?  The
    clock instructions said to put the boottime program in the auto folder
    before the DCCLK33 program so that the time would be set before the
    clock reads it.  Could it be that the boottime program needs to run
    before other programs in my AUTO folder?  Any suggestions?
    
T.RTitleUserPersonal
Name
DateLines
994.1Not a solution but...YNOTME::WALLACEWed Oct 31 1990 11:0023
Keep in mind that your ST now has three "clocks" in it. There are the original
software clock and keyboard clock, and there is your new clock chip. DCCLOCK
either gets it time from the software clock or the keyboard clock, NOT from
your clock chip.

Since your clock chip is the only thing that keeps time across power cycles,
the auto folder program needs to read the clock chip then set the time in BOTH
the software clock and the keyboard clock.  Since DCCLOCK is showing the
"correct time" but file creates (I assume that's what you were refering to)
are showing 12:00, it would seem that the keyboard clock is getting set but
not the software clock (or visa versa, I don't recall of hand which clock is
used for what).

None of this tells you how to fix your problem, just help you understand
what's going on a little better.  One thing you might try is removing all your
auto folder programs except the ones that came with the clock chip, to see if
any of them may be interfering with setting the time.  For instance you don't
have an old time setting program left in your auto folder do you?

I assume you use an AUTOSORT program to look at and adjust the order of your
auto file programs, if you don't you should.

	Ray
994.2Where do I find it?BUFFER::TOHLINEJohn TohlineWed Oct 31 1990 13:008
RE:-.1
>>    I assume you use an AUTOSORT program to look at and adjust the order of your
>>auto file programs, if you don't you should.

I have heard about these, but don't think I have one.  I know I don't use
one.  Where should I go to find more info about this?  I have suspected
that something like this could be the problem.

994.3The Terminator archive has itYNOTME::WALLACEWed Oct 31 1990 13:197
Send mail to DECWRL::"[email protected]" with the one line message-
send utilities/autosort.arc

You should get a uuencoded arc file with 24 hours, if you don't then let me
know and I will upload it for you.

	Ray
994.4do you have the CONTROL.ACC on the bootpartition?MGOI01::FALKENSTEINso many girls, so little time...Fri Nov 02 1990 02:367
    
    As far as I know the old CONTROL.ACC of TOS 1.0 sets the system time
    during boot regardless of any HW-clock you've got. So if you have the
    control.acc, try to boot without it.
    
    Bernd
    
994.5VISUAL::WEAVERDave, Image Systems GroupWed Nov 14 1990 21:432
    Do you have an ICD hard disk?  If so you may have an auto folder
    program that is trying to set the time from that clock.
994.6It was a AUTO folder problemBUFFER::TOHLINEJohn TohlineFri Nov 16 1990 15:2910
For the record.  The problem was corrected by removing the DCCLOCK program from
my auto folder.  Apparently it is a timing problem.  If the DCCLK program starts
too soon after the clock set program, then the symptoms occur.  I reordered the
files in my AUTO folder with a couple of programs between the clock boot and the
DCCLK program, and it worked perfectly.  I then ran AUTOSORT and it put them
back together at the end of the list.  In this configuration, the problem 
returned.  I worked around the problem by taking the DCCLK program out of the
AUTO folder and and use Multi Desk to start it up.  Things work fine now.  

Thanks for the help.