Xref: utzoo comp.lang.pascal:7102 comp.lang.c:39958 Newsgroups: comp.lang.pascal,comp.lang.c Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Subject: Re: Overcoming delay thru use of keyboard buffer Message-ID: <1991Jun11.051806.27079@thunder.mcrcim.mcgill.edu> Keywords: keyboard,buffer,delay Organization: McGill Research Centre for Intelligent Machines References: <1991Jun7.070027.3308@images.cs.und.ac.za> Date: Tue, 11 Jun 91 05:18:06 GMT Lines: 24 In article <1991Jun7.070027.3308@images.cs.und.ac.za>, cyhutson@images.cs.und.ac.za writes: > As most people know, when you type at the keyboard, interrupt 9h (ROM > BIOS) is executed and puts the ascii code for the character and > possibly also the scan code, into the keyboard buffer, which by the > way is 32 bytes long, hence a total of only 16 characters can be > stored in the buffer. Most people? You're in the wrong group. Try an IBM-PC-specific group. This is related to neither Pascal nor C. In comparison to the vast variety of machines on which one can use Pascal or C, the variety of machines where your lead-in is true is very tiny - bascially, the IBM-PC clone world. (Large in number of machines, small in number of machine *types*.) I think you really don't need the speed you think you do. If you're really really sure you do, try building your own handler for interrupt 9...just be *very* sure to reset it when you're done! der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu