Mail Archives: djgpp/1996/11/30/14:20:42
> >The explanation is that HW ints cause the limit of ds to be lowered,
> Hey, O libc porting people, why not lower cs instead?
This causes an exception INSIDE the DPMI provider itself when it tries to
transfer control back to your application, so it doesn't work. That was
the first thing I tried. All real GCC programs touch memory at some point
(either the stack, or a memory reference) so this is only a problem for
nonsense programs. The only example I could come up with this case could
not handle was polling an I/O port for a change - and if you do this and
want to interrupt it, touch some memory in the tight loop.
- Raw text -