home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / assemutl.zip / SCRN.DOC < prev    next >
Text File  |  1985-05-11  |  3KB  |  54 lines

  1.  
  2. ╔═══════════════════════════════════════════════════════════════════╗
  3. ║           Copyright (c), 1984 by J. T. Thannum            ║
  4. ║           All rights reserved.  May be copied            ║
  5. ║           for personal non-commercial use only.            ║
  6. ╚═══════════════════════════════════════════════════════════════════╝
  7.  
  8. SCRN n
  9.   [options]
  10.     n - The Delay Interval in Minutes as a single Integer from 1 to 9
  11.         [Default: 10 Minutes]
  12.  
  13. SCRN is a screen saver utility command which operates using the Timer,
  14. Video and Keyboard Interrupts to monitor activity of the system user.  Upon
  15. detecting no entry via the keyboard OR output to the monitor(s) for "n" min.
  16. the SCRN routine will turn off the video to all monitors attached to the
  17. system.  The idea for this program originated from an article in Softalk,
  18. Dec.  1983 by John Socha.  However, the version presented in this article
  19. had several limitations which needed to be corrected for a viable
  20. permanmently resident utility.    These limitations became the design
  21. criteria for this version, as follows:
  22.  
  23.     1. Must turn "both" color and monochrome monitors off, not
  24.        just the active monitor on two monitor systems.
  25.     2. Must function in a single monitor envirnoment with either
  26.        monitor attached.
  27.     3. Must be extremely frugal in execution.  Since this routine
  28.        will be executed at each timer interrupt,or 18.2 times/sec,
  29.        and at each keyboard interrupt the routine must have the
  30.        minimum of overhead so as not to degrade system performance.
  31.     4. Must be able blank background on color monitor as well as
  32.        foreground text or graphics.
  33.     5. Should utilize the User Exit Interrupt provided in the
  34.        Timer Routine. [INT 1C] (This can be considered optional)
  35.     6. Handle the blanking of the cursor on the Monochrome display
  36.        more efficiently.
  37.     7. Output to the Monitor(s) should reset the timeout counter
  38.        within the delay window but not turn the video back on if
  39.        a timeout has occurred.
  40.     8. Optional Parameter to set Delay Interval from 1 to 10 min.
  41.  
  42. (Special Note:    The Mode register definition shown in the Softalk article
  43.         is incorrect as well as the referenced Enable Video bit.
  44.         The program is correct as shown in the article.)
  45.  
  46. For efficiency and execution the Screen Saver program "hard codes"
  47. addresses and uses its own routine to set adapter parameters.  However,
  48. this hard coding is done via equates and because of the brevity of the
  49. program this would cause only  minor problems if changes were required.
  50.  
  51.                         J. T. Thannum
  52.                         Naperville, Ill 60540
  53.  
  54.