Path: utzoo!attcan!uunet!bu.edu!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!brazil.psych.purdue.edu!zhou From: zhou@brazil.psych.purdue.edu (Albert Zhou) Newsgroups: comp.lang.pascal Subject: Re: re bios data area (keyboard buffer) Message-ID: <11465@j.cc.purdue.edu> Date: 11 Nov 90 07:12:46 GMT References: <1990Nov11.042645.16676@ux1.cso.uiuc.edu> Sender: news@j.cc.purdue.edu Reply-To: zhou@brazil.psych.purdue.edu (Albert Zhou) Distribution: comp Organization: Purdue University Lines: 13 It is possible to extend the keyboard buffer. I found $40:$80 contains the beginning address of the keyboard buffer (the default is $40:$1E, of course), and $40:$81 the end. However, you have to know which area in the segment of $40 is unused so that you can set a new keyboard buffer to there. After my original posting, I have tried to send a 10-character string to the buffer at $40:$1E, and at the same time set $40:$1A to be $40:$1E (the buffer head) and set $40:$1B to be $40:$32 (that's $1E+20 because 10 characters take 20 bytes). I haven't got desired result. The 10-character string was output on the screen, but followed by dozens of strange characters (probably some ^G since it kept beeping). What's the problem?