Date: Sun, 13 Jul 2003 22:04:16 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <2593-Sun13Jul2003220416+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <78a4a70a.0307120318.2d3e8ce@posting.google.com> (atlas_wang AT yahoo DOT com) Subject: Re: Hardware Interrupt Latency in Protected Mode? References: <78a4a70a DOT 0307080821 DOT bdb7edb AT posting DOT google DOT com> <3f0f4fdc DOT sandmann AT clio DOT rice DOT edu> <78a4a70a DOT 0307120318 DOT 2d3e8ce AT posting DOT google DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: atlas_wang AT yahoo DOT com (Wang Yong) > Newsgroups: comp.os.msdos.djgpp > Date: 12 Jul 2003 04:18:43 -0700 > > But programms running in pure protected mode will not call any BIOS > funcitons, right? Wrong, unfortunately: the system will run BIOS code even if your program doesn't. For example, the timer tick interrupt runs its BIOS handler 18.2 times a second. And some resident software could cause the disk to seek every now and then. > Is it possible to get an interrupt response time within small range in > protected mode? so tough... I think your problem has nothing to do with PM. If some BIOS code disables interrupts for 20 msec, there's nothing you can do to avoid the latency. I've seen this happen with pure real-mode data-capture program I once wrote.