Mail Archives: djgpp/1999/06/29/10:32:10
On Mon, 28 Jun 1999, Javier Calleja wrote:
> Is correctI if I put a STI instruction before the EOI instruction or the
> go32 wrapper does this for me?
The wrapper does NOT issue STI.
Btw, you could easily verify this yourself by downloading the
djlsr202.zip archive which hodls all the library sources. IMHO, any
programmer who messes with interrupts *must* have library sources
handy, since you cannot call a library function from such a program
without knowing *exactly* what that function does.
> If I put a STI, could I have problems if another interrupt is called?
You can't set the interrupt flag twice, so an extra STI should be
harmless. The most it could do is cause some delay, since some DPMI
servers could catch it and emulate it with slow code. But with ring-3
DPMI servers STI runs at native speed, so usually there shouldn't be a
problem.
- Raw text -