www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/20/17:09:00

Date: Mon, 20 Dec 93 16:19:06 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: kunst AT prl DOT philips DOT nl
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: PDCurses 2.1 and DJGPP 1.11

> 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, &regs, &regs, &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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019