Mail Archives: djgpp/1996/04/02/04:11:25
> and do some calulations, but with a frequency of 36kHz. So does
Let's take a few potential cases:
1) When the HW interrupt comes in, you will (almost) always be in protected
mode. In this case, manually hooking the interrupt with GAS code and
avoiding the wrappers, you should be in good shape, especially if you
use a non-ring-switching DPMI like CWSDPR0. EOI the PIC yourself, don't
chain.
2) When the HW interrupt comes in, you will frequently be in RM. If this
is the case, you need to probably write a RM handler, and hook it after
the PM one so you have routines which neither forces a mode swap.
3) If case 2) still isn't fast enough for you, there is a copy of Tran's
PMODE for DJGPP in development which might be a bit faster than CWSDPR0
in overhead for handling interrupts.
- Raw text -