Mail Archives: djgpp/1993/12/20/17:09:00
> Meanwhile I'll try to locate the INT 0x0d source if I can find the time...
That would be tricky. Int 0x0d is exception 13 - seg fault.
> /* Check for DESQview shadow buffer */
> /*
> regs.h.ah = 0xfe;
> regs.h.al = 0;
> regs.x.di = _cursvar.video_ofs;
> segs.es = _cursvar.video_seg;
> int86x(0x10, ®s, ®s, &segs); ?????
> _cursvar.video_ofs = regs.x.di;
> _cursvar.video_seg = segs.es;
> */
You can't just plug any value into a segement register! THEY ARE NOT
GENERAL REGISTERS! Chances are, you'll have to use
_go32_dpmi_simulate_int to perform the above function, as int86x()
wants selector values, not segment values.
- Raw text -