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

  1. Path: sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!estel@cs.vu.nl
  2. From: estel@cs.vu.nl (Stel E)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Can TSR slow down system too much?
  5. Message-ID: <15775@star.cs.vu.nl>
  6. Date: 17 Aug 92 12:52:52 GMT
  7. Sender: news@cs.vu.nl
  8. Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam
  9. Lines: 21
  10.  
  11.  
  12. Hai programmers,
  13.  
  14. I've made a simple Screen Saver. I'd like the program to work
  15. with both DOS and Windows programs. So I hooked it to the
  16. timer interrupt (0x1c). Every time this interrupt is generated
  17. (18.2 times a sec.) it checks the SHIFT status (scancode).
  18. If both SHIFT keys are pressed, the screen blanks, if some
  19. other key (SHIFT/ALT/CTRL) is pressed the screen unblankes.
  20.  
  21. The program has to check some things every time it's called.
  22. Can this slow down my machine too much? Can my clock start
  23. to run too slow (clock = DOS clock)? It's not so easy to
  24. test (my machine is quite fast). I couldn't notice any
  25. difference, not even when blanking/unblanking very fast and
  26. frequent.
  27.  
  28. I don't think it's a problem, but I wanna be sure.
  29.  
  30.  
  31. Thanks in advance,        Erik Stel (estel@cs.vu.nl)
  32.