www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/16/11:16:03

From: Brendan Simon <brendan AT rdt DOT monash DOT edu DOT au>
Date: Thu, 17 Aug 1995 00:17:04 +1000
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: v2.interrupts

OK, so after pulling my hair out I went back to the FAQ and implemented the
interrupt with the _go32 calls AND the -go32 wrapper function.  It now works
with out crashing but I can only get an interrupt rate of around 5khz which
doesn't crash the program.  (I'm using a DX4/100 with 16Mb of RAM).
I'm was hoping to get anywhere between 20 & 40 Khz (at least 10khz).

I understand the wrapper stuff does the pushing of registers to the stack
and pulling them off as well as the iret instruction.  

I was under the impression that dpmi interrupts didn't require these wrappers.
Can anyone tell me if this is true.
Can anyone tell me if I can speed up the interrupt rate.

Brendan.

Oh by the way, removing emm386 from my config.sys improved the maximum rate
without crashing from about 2khz to about 5.5-6kHz.

brendan AT rdt DOT monash DOT edu DOT au

- Raw text -


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