Kindred
November 7th, 2006, 09:00 PM
Hi, I'm new and im hoping someone can help me.
I am currently working a project in which the user will press X and the program terminates. I am using INT 16H Function 01H and it reads and retrieves data that the user enters from the keyboard buffer.
Problem is that after the user presses X the first time, the second time he runs it and presses X, nothing happens.
Im hoping clearing the Keyboard buffer before calling that function will help thats why i want to know if anyone knows how to clear the Keyboard buffer
I am currently working a project in which the user will press X and the program terminates. I am using INT 16H Function 01H and it reads and retrieves data that the user enters from the keyboard buffer.
Problem is that after the user presses X the first time, the second time he runs it and presses X, nothing happens.
Im hoping clearing the Keyboard buffer before calling that function will help thats why i want to know if anyone knows how to clear the Keyboard buffer