Newsgroups: comp.os.msdos.djgpp From: Peter Berdeklis Subject: Question about hardware interrupts... Message-ID: Nntp-Posting-Host: chinook.physics.utoronto.ca Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator) Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Toronto - Dept. of Physics Date: Mon, 16 Dec 1996 16:02:11 GMT Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In the FAQ it suggests that if interrupts occur at a high frequency that you should consider installing a real mode interrupt handler in addition to the protected mode handler. At the same time it states that a DPMI host always passes the int to prot. mode first, and only if unhandled does it pass it to real mode. So how does installing a real mode handler speed anything up? Even if you are temporarily in real mode (calling a DOS function), the interrupt still goes to pmode first, no? While we're on the subject, is there any reason that enable() and disable() aren't inlined in the header file? Thanks. Pete --------------- Peter Berdeklis Dept. of Physics, Univ. of Toronto