MiRaGe,
What do you want to do? Flush the buffer, read what is there
non-desctructively, or read what is there and toss it away?
The keyboard buffer is located at memory location $40:$1E and is 16 words
long. Each word is a two byte scan code.
- Mike