| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| Message-ID: | <271DBBEEA095D511B80D009027DE7D67DAC0D3@mcoexc01.mlm.maxtor.com> |
| From: | "Dykstra, Sean" <Sean_Dykstra AT maxtor DOT com> |
| To: | "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com> |
| Subject: | RE: PC DOS lockup - DPMI? Fixed??? |
| Date: | Thu, 23 May 2002 11:57:30 -0600 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2653.19) |
| Reply-To: | djgpp AT delorie DOT com |
Ok, I have it working, but I am slightly disturbed by the potential
repercusions:
If I remove the clear of the PIC, it works under PC-DOS and MS-DOS. Anybody
have any thoughts if this is going to cause me nightmares down the road?
Thanks!
while (0==ch)
{
unsigned char control_kbd;
ch = inportb (0x60);
control_kbd = inportb (0x61);
outportb (0x61, control_kbd | 0x80);
outportb (0x61, control_kbd);
// outportb (0x20, inportb (0x20)); // This line is now removed
and it works!
if ( (ch!=AKEY) && (ch!=RKEY) && (ch!=IKEY) && (ch!=FKEY) )
{
ch=0;
}
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |