Mail Archives: djgpp/1997/04/22/13:21:16
Usuario Invitado wrote:
>
> >I suggest to do it the usual way:
> >
> > #include <conio.h>
> > while (kbhit ())
> > getch ();
> >
> >This clears the keyboard buffer, no matter what TSR has taken over
> >Int 16h. It might be slower, but how many times per second do you
> >need to clear the keyboard buffer, anyway?
>
> The code can't be slow... I'm developing a game, and I need to clear the
> buffer every 6/7 times, to avoid those noising beeps...
>
> I can tell you that I've never heared before about a keyboard enhancer... it's
> a program?
>
> But thank you anyway, and I've already found the solution twice days ago... if
> you want it, i'll post it... I dont have the code right here...
>
> Theuzifan
Hey, what about hooking that interrupt so you´re not dependant on the
systems whims anymore... !! That´s what is usually done for games, and
is what I usually do.
Greetinx,
Peter
- Raw text -