Mail Archives: djgpp/1997/02/28/12:59:48
Eli Zaretskii wrote:
> The line marked ``missing'' should make the program work. The DJGPP FAQ
> list explains this in section 18.3.
> void flushKeyboard()
> {
> _go32_dpmi_registers r;
> r.h.ah=0x0c;
> r.h.al=0;
> r.x.ss = r.x.sp = r.x.flags = 0; <<<<<<<<<<<<<<<<<< missing line
> _go32_dpmi_simulate_int(0x21,&r);
> }
Thank you for missing line:
Above code now works perfectly.
----------------------
Tom Chojnacki
s709 AT icslab DOT agh DOT edu DOT pl
----------------------
- Raw text -