home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10521 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.2 KB

  1. Path: sparky!uunet!decwrl!netsys!agate!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sunic!isgate!complex!frisk
  2. From: frisk@complex.is (Fridrik Skulason)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: putting chars back to keyboard buffer...
  5. Message-ID: <137@complex.complex.is>
  6. Date: 11 Nov 92 19:12:30 GMT
  7. References: <1992Nov10.204616.25750@slate.mines.colorado.edu> <1drgenINNsea@usenet.INS.CWRU.Edu>
  8. Organization: Frisk Software International, Iceland
  9. Lines: 16
  10.  
  11. ci922@cleveland.Freenet.Edu (Duane A. Paulson) writes:
  12.  
  13. >You'll have to go all the way down to the system for this one. Function 05
  14. >of interrupt 16hex will stuff a single character into the keyboard buffer
  15. >for you.
  16.  
  17. Well, yes and no - the problem with 16/05 is that it is not available
  18. on older machines (XTs) - it wasn't implemented until the AT bios.  If the
  19. software will never be used on XTs, one can use the method as described.
  20.  
  21. It is also possible just to stuff characters into the keyborad buffer,
  22. as the original poster was asking, but as this circular buffer is by
  23. default quite small, only short strings can be entered there - if you need
  24. more you have to write your own INT 16H handler...
  25.  
  26. -frisk
  27.