Date: Fri, 11 Nov 94 08:59:43 -0500 From: dj AT stealth DOT ctron DOT com (DJ Delorie) To: alh AT engr DOT engr DOT uark DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: A question about writing interrupt handler in gcc > timer resolution of one tic per 80us, or 12500 times a second. However, > using djgpp I hit the max at about 100 times a second. > > I'm using the dpmi chain pm int vector to establish the handler, Don't chain - just set it. Keeping it from calling real mode (the chain) will speed things up a lot. > I have also noticed an incredible performance hit when using the > outportb instructions to do just about anything. In the MSC version, a They're real functions, not inlines, so try writing inline versions of them.