Mail Archives: djgpp/1997/02/17/21:56:19
> > Can someone (Eli?) enlighten me on what's going on when you press ^C?
> > This doesn't happen with ^C; on the dosemu side, I have currently to rely
> > on the stack fault to understand what went on.
When you press ^C, the DS/SS selector is invalidated. If the DPMI provider
follows the DPMI spec, this isn't a problem, since the simulated HW interrupt
and resulting exception will be handled on a separate stack, which then fixes
the selector.
> I think this is a bug in DOSEmu.
Most likely. Bugs also exist (documented and by design) in the ring 0 DPMI
providers which don't swap stacks on HW interrupts and exceptions (CWSDPR0 and
PMODE). These show bad behavior under ^C also.
- Raw text -