home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8618 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.5 KB

  1. Path: sparky!uunet!utcsri!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
  2. From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Can TSR slow down system too much?
  5. Message-ID: <Bt8HF3.3xr@ireq.hydro.qc.ca>
  6. Date: 19 Aug 92 13:57:03 GMT
  7. References: <15775@star.cs.vu.nl> <1992Aug17.202850.12580@caeco.mentorg.com>
  8. Sender: news@ireq.hydro.qc.ca (Netnews Admin)
  9. Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada
  10. Lines: 43
  11.  
  12. >In article <15775@star.cs.vu.nl>, estel@cs.vu.nl (Stel E) writes:
  13. >> 
  14. >> I've made a simple Screen Saver. I'd like the program to work
  15. >
  16. >Rather than checking at every clock tick, why not check with
  17. >each key press (Int 9).  This is much more efficient (at least
  18. >in my experience), and seems to make more sense.
  19. >
  20. I can't see how a screen saver would work that way!
  21.                   ^^^^^^^^^^^^ 
  22.  
  23. One suggestion for the speed time:
  24. After I tried Borland C++, I added the help system which is a TSR
  25. (I can't use the integrated environment).  Having the TSR installed,
  26. the compilation speed was the half!  One suggested that the TSR was
  27. taking memory and this made any memory-consommer program slower (since
  28. the program has to swap on disk when memory is full).  The memory may
  29. be a major point if you save a graphics screen with some high definition card.
  30.  
  31. BUT, I was and still am a Zortech user.  And I did not notice the
  32. compiler slowdown in having the Zortech _old_ help system installed
  33. (I don't use the ZTC3.00r4 help which is from another dealer anyway and
  34. is bugged : maybe like the Windowsmaker, the licencer will sale you 
  35. the not bugged version :-(  ).
  36.  
  37. To summarize, depending on how you implement it, you may have a different
  38. effect on speed.  One reason is the duration of service (you could use
  39. an Assembler program to minimize time slice while waiting for screen
  40. to be saved).  Another is the memory you are using.  And there maybe some
  41. other reason (one nasty : if your program writes to some place in memory
  42. and this modify the DOS or the foreground program; but lets presume this is
  43. not the case).
  44.  
  45. One last comment : Zortech has a TSR package included with the compiler.
  46. (It will allow _one_ entry by a special key combination and time slicing).
  47. Other commercial or shareware packages may exist.
  48.  
  49.  
  50. -- 
  51.   \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
  52.  /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
  53. J   __>  Barthelemy Jarret (1471) -> Andre Jarret, sieur de Beauregard (1665)
  54. \_.-===   -> Denis Beauregard (1992)                  Opinions ? Et pis non !
  55.