Path: utzoo!attcan!uunet!cs.dal.ca!aucs!840369k From: 840369k@aucs.UUCP (Elric Kinslayer) Newsgroups: comp.sys.ibm.pc Subject: Clearing the keyboard buffer Keywords: MSDOS, IBM PC (compatible), KEYBOARD BUFFEER Message-ID: <1636@aucs.UUCP> Date: 13 Mar 89 02:03:43 GMT Reply-To: 840369k@aucs.UUCP (Elric Kinslayer) Distribution: na Organization: School of Computer Science, Acadia Univ., Nova Scotia Lines: 18 I'm writing a realtime application which runs a robot arm by reading characters from the keyboard. The problem is that too many commands get "queued" into the keyboard buffer. What's a quick and easy way (assembly , turbo-pascal, or just poking memory) to clear the keyboard? Net people with memory maps, any ideas? Thanks in advance, Kelly. P.S. The "PC compatible" is a Tandy 1000, if it helps. -- ------------------------------------------------------------------------------- | Kelly Kendrick Acadia University, N.S. | "And now GROO does | | {seismo|watmath|utai|garfield}!dalcs!aucs!840369k | what GROO does best!" | -------------------------------------------------------------------------------