🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3599

Re: putting chars back to keyboard buffer...

#3599
From: Fridrik Skulason
Date: Wed, 11 Nov 1992 19:12
16 lines
1290 bytes
ci922@cleveland.Freenet.Edu (Duane A. Paulson) writes:

>You'll have to go all the way down to the system for this one. Function 05
>of interrupt 16hex will stuff a single character into the keyboard buffer
>for you.

Well, yes and no - the problem with 16/05 is that it is not available
on older machines (XTs) - it wasn't implemented until the AT bios.  If the
software will never be used on XTs, one can use the method as described.

It is also possible just to stuff characters into the keyborad buffer,
as the original poster was asking, but as this circular buffer is by
default quite small, only short strings can be entered there - if you need
more you have to write your own INT 16H handler...

-frisk
Technical Details
Message-ID: <137@complex.complex.is>
Path: arc1-ca.pugleaf.net!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
References: <1992Nov10.204616.25750@slate.mines.colorado.edu> <1drgenINNsea@usenet.INS.CWRU.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: frisk@complex.is (Fridrik Skulason)
Newsgroups: comp.os.msdos.programmer
Subject: Re: putting chars back to keyboard buffer...
Message-ID: <137@complex.complex.is>
Date: 11 Nov 92 19:12:30 GMT
References: <1992Nov10.204616.25750@slate.mines.colorado.edu> <1drgenINNsea@usenet.INS.CWRU.Edu>
Organization: Frisk Software International, Iceland
Lines: 16