home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4635 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.2 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!vice!bobb
  2. From: bobb@vice.ICO.TEK.COM (Bob Beauchaine)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: how long is a clock cycle (was source for DELAY procedure)?
  5. Message-ID: <10062@vice.ICO.TEK.COM>
  6. Date: 30 Jul 92 23:12:01 GMT
  7. References: <Bs7Hv8.Bqz@news.cso.uiuc.edu>
  8. Organization: Tektronix, Inc., Beaverton,  OR.
  9. Lines: 22
  10.  
  11. In article <Bs7Hv8.Bqz@news.cso.uiuc.edu> amead@s.psych.uiuc.edu (Alan Mead) writes:
  12. >
  13. >I want to run another process during a Delay().  I don't want people to
  14. >overflow the BIOS keyboard buffer (it beeps then and that is bad for this
  15. >app).  I think the easiest way will do this is something like:
  16. >
  17.  
  18.   Another possibility is to move the keyboard buffer to a section of
  19.   memory the size of which you define.  This is especially
  20.   attractive if you want to actually read the user's keystrokes that
  21.   happen during your delay instead of just discarding them.  Code
  22.   available upon request.
  23.  
  24.  
  25. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 
  26.  
  27. Bob Beauchaine bobb@vice.ICO.TEK.COM 
  28.  
  29. C: The language that combines the power of assembly language with the 
  30.    flexibility of assembly language.
  31.  
  32. Real friends don't let friends use UNIX.
  33.