Mail Archives: djgpp/1994/12/14/02:39:29
> The following crashes:
> ...
> iregs.x.ss = iregs.x.sp = 0;
> _go32_dpmi_simulate_int(0x10, &iregs);
Just a guess: there was some discussion a while back indicating that the
flags register might also need to be cleared. For example, the single step
bit might be set leading to a crash. Another possibility is that the
function you are calling has some undocumented sensitivity to other
registers. For safety, I just zero the whole structure before filling in the
registers I care about.
- Raw text -