[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DJGPP only dumps with USE_LISP_UNION_TYPE ??

From: Eli Zaretskii
Subject: Re: DJGPP only dumps with USE_LISP_UNION_TYPE ??
Date: Wed, 10 Nov 2004 23:05:25 +0200

> From: "Jan D." <address@hidden>
> Date: Wed, 10 Nov 2004 09:12:30 +0100
> Cc: address@hidden, address@hidden
> > The OS is also involved here, since the alignment of the program
> > sections matters, and DPMI has its own ideas about that.
> Sounds like a comlicated setup

It's not easy to produce a single executable that works on plain DOS,
any version of Windows, and emulators such as DOSEmu from GNU/Linux.
DPMI, the DOS Protected Mode Interface, is the API used by the DJGPP
programs to run 32-bit protected-mode code on top of 16-bit OS, and
still be able to invoke 16-bit real-mode system calls without crashing
the OS.

Unfortunately, DPMI doesn't give any control of memory allocation
strategy or its alignment.

I asked the other DJGPP developers for ideas of why this happens on XP
and how to overcome it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]