www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/16/20:19:21

Newsgroups: comp.os.msdos.djgpp
From: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
Subject: Question about hardware interrupts...
Message-ID: <Pine.SGI.3.91.961216105301.3036A-100000@chinook.physics.utoronto.ca>
Nntp-Posting-Host: chinook.physics.utoronto.ca
Sender: news AT info DOT physics DOT utoronto DOT ca (System Administrator)
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019