Mail Archives: djgpp/1998/05/06/06:53:08
On Tue, 5 May 1998 leger_v AT bluewin DOT ch wrote:
> So I removed the real
> mode handler from the program and it works fine under Dos and Win95.
> My new timer routine run at a rate of 40 tick/sec, and I
> haven't forgotten to lock the handler and all the variables.
> My question is : does this program works good on other computers than
> mine or should I try to solve the problem with the real mode
> handler(Help's welcome).
You don't need the real-mode handler unless your protected-mode handler
slows down the system too much. The DPMI spec ensures that all hardware
interrupts are always reflected to protected-mode handler first, even
when the CPU is in real mode.
The DJGPP FAQ list has more details about these issues in section 18.9,
in case you haven't read it. If you did read it, and this issue is still
unclear, please try to suggest how to make it more clear. I thought I
had explained this in that section.
- Raw text -