Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!purdue!haven!uvaarpa!murdoch!davinci.acc.Virginia.EDU!tmb From: tmb@davinci.acc.Virginia.EDU (Thomas M. Breeden) Newsgroups: comp.sys.ibm.pc.programmer Subject: Buffering Keyboard Input Message-ID: <1990Apr13.143302.25021@murdoch.acc.Virginia.EDU> Date: 13 Apr 90 14:33:02 GMT Sender: news@murdoch.acc.Virginia.EDU Reply-To: tmb@davinci.acc.Virginia.EDU (Thomas M. Breeden) Organization: University of Virginia Lines: 24 My program is reading keyboard input character by character via DOS function 7. I find that the buffer BIOS(?) uses allows a typeahead of about 20 characters, ie, if I don't poll for a character often enough, input will be lost. What is a good way to get more typeahead buffer? I have been told about two absolute locations in the BIOS that hold the buffer address and size, and that I might want to write to them. I am reluctant to do this in case the program might halt without being able to clean up. Is there a way to get this done by the system? Do I have to write code to handle the keyboard interrupt itself? Would this also require careful cleanup? Please e-mail, if possible. Thanks, Tom Breeden tmb@virginia.EDU -> Internet tmb@virginia -> BITNET