Mail Archives: djgpp/1995/01/10/02:13:12
>> ... and you installed your TimerInternalHandler() as what? Real-mode
>> handler, protected-mode handler or both?
>
> pmode handler with an iret wrapper and a real mode iret callback.
Real-mode iret callbacks are buggy in DJGPP 1.12m2. The problem is
in the allocated wrapper function which doesn't do everything it should
the way it should. If you work under DPMI (Windows, QDPMI or some such),
you can only install a protected-mode handler, because in DPMI hardware
interrupts are always reflected to protected mode first. If not, I'm
afraid you will have to do it right yourself. Looking into fsdb104
code, which handles interrupt-driven serial communications, might help,
though.
- Raw text -