[comp.sys.ibm.pc.programmer] Buffering Keyboard Input

tmb@davinci.acc.Virginia.EDU (Thomas M. Breeden) (04/13/90)

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