X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: missing hardware interrupt intermittently Date: Mon, 24 Oct 2005 22:12:45 CDT Organization: Rice University, Houston, TX Lines: 13 Message-ID: <435da2ad.sandmann@clio.rice.edu> References: <1130167963 DOT 971774 DOT 154650 AT o13g2000cwo DOT googlegroups DOT com> NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1130211096 12384 128.42.105.3 (25 Oct 2005 03:31:36 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: Tue, 25 Oct 2005 03:31:36 +0000 (UTC) X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Our system is missing HW interrupt 6 very intermittently ... > I suspect that the interrupt is > missed when cswdpmi.exe is in the process of loading or unloading. > ...Any ideas on missed interrupts while cwsdpmi.exe is loading or unloading? CWSDPMI reprograms the PIC on entry and exit, so anything that happens in that time could be lost. The startup has some extended sections with interrupts disabled when setting up protected mode (A20 stuff, etc), but I would expect that to result in a late interrupt, not one missed. You could try PMODETSR as an alterate replacement to see if if it's compatible and avoids the problem; it has a different way of handling interrupts.