Mail Archives: djgpp/1993/12/20/16:09:47
Hello DJGPP and PDCurses users,
When compiling the library PDCurses 2.1 with DJGPP 1.11
programs using curses routines crash due to an
Unsupported INT 0x0d
error. After some debugging this turned out to be caused
after a call to int86x() in file 'private/_queryad.c'. (see below)
(This call is made to 'check for a DESQview shadow buffer'.)
I haven't traced the real cause (yet), but I did succeed
to get PDCurses 2.1 running again when compiled with DJGPP 1.11.
I just commented out the offending part ;-)
(Yes, sometimes I'm rather pragmatic...)
If anyone has had similar experiences with int86x() calls
I would like to hear about it...
Meanwhile I'll try to locate the INT 0x0d source if I can find the time...
Regards,
.^^^^^^^^ _____________________________________
| | / Pieter Kunst (P.J.) \
| _ _| / Philips Research Laboratories, \
.--(o)(o) / Building WY3, Prof. Holstlaan 4, \
|@ _) / 5656 AA Eindhoven, The Netherlands. |
| ,___| / e-mail: kunst AT prl DOT philips DOT nl /
| / \_______________________________________________/
/____\
------------------- private/_queryad.c -------------------------------------
/* 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;
*/
----------------------------------------------------------------------------
The latest version of PDCurses is 2.1 and can be obtained from:
site: ftp.gu.edu.au 132.234.1.1
files: /src/PDCurses/pdcurs21.zip
To compile the whole library with DJGPP 1.11, you'll need a copy
of DMAKE as well, which can be obtained from:
site: plg.uwaterloo.ca (129.97.140.10)
file: pub/dmake/dmake38-msdos-exe.zip
----------------------------------------------------------------------------
- Raw text -