www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/11/14:53:52

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.


- Raw text -


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