Mail Archives: djgpp-workers/1997/11/24/06:43:20
On Thu, 20 Nov 1997, DJ Delorie wrote:
> > I cannot run any programs from the djgpp 2.02 alpha 971114 release
> > under Loose95; in addition to this, I cannot run any programs built with
>
> Check through c1*.c where it sets up the DOS selector. The code
> looked suspicious last time I was in there.
from crt1.c:
/* This was -1, but DPMI doesn't guarantee more than */
/* 1M + 64K - 16 + 3 */
dpmi_set_segment_limit(_dos_ds, 0x101000)
^^^^^^^^
I think the limit needs to be 0x110000. Vik, does that help? If so,
the problem should only show on systems which use HMA.
- Raw text -