🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #992

Re: Can TSR slow down system too much?

#992
From: Denis Beauregard
Date: Wed, 19 Aug 1992 13:57
43 lines
2654 bytes
>In article <15775@star.cs.vu.nl>, estel@cs.vu.nl (Stel E) writes:
>> 
>> I've made a simple Screen Saver. I'd like the program to work
>
>Rather than checking at every clock tick, why not check with
>each key press (Int 9).  This is much more efficient (at least
>in my experience), and seems to make more sense.
>
I can't see how a screen saver would work that way!
                  ^^^^^^^^^^^^ 

One suggestion for the speed time:
After I tried Borland C++, I added the help system which is a TSR
(I can't use the integrated environment).  Having the TSR installed,
the compilation speed was the half!  One suggested that the TSR was
taking memory and this made any memory-consommer program slower (since
the program has to swap on disk when memory is full).  The memory may
be a major point if you save a graphics screen with some high definition card.

BUT, I was and still am a Zortech user.  And I did not notice the
compiler slowdown in having the Zortech _old_ help system installed
(I don't use the ZTC3.00r4 help which is from another dealer anyway and
is bugged : maybe like the Windowsmaker, the licencer will sale you 
the not bugged version :-(  ).

To summarize, depending on how you implement it, you may have a different
effect on speed.  One reason is the duration of service (you could use
an Assembler program to minimize time slice while waiting for screen
to be saved).  Another is the memory you are using.  And there maybe some
other reason (one nasty : if your program writes to some place in memory
and this modify the DOS or the foreground program; but lets presume this is
not the case).

One last comment : Zortech has a TSR package included with the compiler.
(It will allow _one_ entry by a special key combination and time slicing).
Other commercial or shareware packages may exist.


-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Barthelemy Jarret (1471) -> Andre Jarret, sieur de Beauregard (1665)
\_.-===   -> Denis Beauregard (1992)                  Opinions ? Et pis non !
Technical Details
Message-ID: <Bt8HF3.3xr@ireq.hydro.qc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
References: <15775@star.cs.vu.nl> <1992Aug17.202850.12580@caeco.mentorg.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Can TSR slow down system too much?
Message-ID: <Bt8HF3.3xr@ireq.hydro.qc.ca>
Date: 19 Aug 92 13:57:03 GMT
References: <15775@star.cs.vu.nl> <1992Aug17.202850.12580@caeco.mentorg.com>
Sender: news@ireq.hydro.qc.ca (Netnews Admin)
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada
Lines: 43