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

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

280.0. "Tic Toc" by AUTHOR::MACDONALD () Wed Jan 28 1987 15:05

    I have noticed that when one of the public domain clock programs
    (like RSLClock) is running on my Amiga, the mouse cursor moves across
    the screen hesitantly. However, when the Amiga clock program is
    running, the mouse cursor moves across the screen smoothly. Anyone
    know why?
    
    RSLClock also causes Basic to crash.
    
    Paul
T.RTitleUserPersonal
Name
DateLines
280.1...LEDS::ACCIARDIWed Jan 28 1987 15:493
    RSLClock runs at a very high priority.  You might want to run 
    'ChangeTaskPri' in your startup sequence.
    
280.2Wont WorkTLE::RMEYERSRandy MeyersWed Jan 28 1987 16:147
Re .1:

>You might want to run 'ChangeTaskPri' in your startup sequence.

That probably wont work.  The clock program probably makes a library
call to set its priority.  If so, then it doesn't matter what priority
you start it with, it will end up at priority 20 (or whatever).
280.3Strange occurances on 1.2KIRK::LONGWed Jan 28 1987 16:276
	Something else I noticed when invoking RSLClock from Workbench.
	I started playing with how many of these things I could get
	running at once and somewhere over 14 and before I ran out of
	memory, I would get the random disappearance of some of the
	earlier clocks I had started. Anybody got a guess on what is
	happening to the multitasking?
280.4AutoAbort FeatureAUTHOR::MACDONALDWed Jan 28 1987 18:069
    
    Ahhh .. remember, RSLClock automatically POPS to the front screen.
    Could be some problem there with popping. Also, the task will
    automatically abort when you reach a preset amount of remaining
    memory (I think the feault is 25K). So, naturally, as you reach
    that limit by starting up more RSLClocks, the first ones will start
    aborting!
    
    Paul
280.5Got itAUTHOR::MACDONALDThu Jan 29 1987 08:5410
    Priority was the problem. The Clock that comes with Workbench has
    a priority of 0, so it really doesn't interfere with anything. The
    RSLClock has a default priority of 20, which is the source of the
    problem I was having. Using a neat Gizmoz program called SetPriority,
    I reset the Task to priority 0. If you do happen to reset the priority,
    do so AFTER you have selected whatever RSLClock menu options you
    intend to use. Apparently, choosing any menu options resets the
    priority back to 20.
    
    Paul
280.6This is a bug in 1.2CGFSV1::DREWSteve DrewThu Jan 29 1987 11:0116
    You may of fixed the slow mouse problem with the priority, but if
    RSLclock does automatic window-to-fronts then your machine is still
    very likely to lock up on you, most likely in basic or moveing icons.
    There is a definate bug in 1.2 when two windows seem to do a window-
    to-front at the same time. 
    I am able to crash my machine (it freezes) by running smallclock
    and making it do a window-to-front once per second. Then all I have
    to do is move a icon and it's gone. Or just call up the list window
    in basic. This bug was there in 1.1 I believe but did'nt show up
    with the icon movement but did with basic.
    Of course if the clock program does a window-to-front every 10 seconds
    then the chances of a crash are much less.
    
    (Me I just disabled the window-to-front in the clock program.)

    Steve.
280.7Sprite ClockAUTHOR::MACDONALDThu Jan 29 1987 14:043
    The SpriteClock program seems to work flawlessly though.
    
    Paul