Mail Archives: djgpp/1999/02/25/04:44:13
On Thu, 25 Feb 1999, Paul Derbyshire wrote:
> At 08:47 PM 2/23/99 +0100, you wrote:
> >fs: sel=00d7  base=00000000  limit=ffffffff
> >gs: sel=00d7  base=00000000  limit=ffffffff
> 
> Good grief! Two completely wide open selectors.
Actually, this is quite normal.  It will always happen with code which
calls _farptr functions to access _dos_ds on the application level
(library functions use a special variant of _farptr functions that
uses GS instead of FS). 
Since that was a v2.01 executable, _dos_ds has a limit of 4GB.  v2.02 
sets _dos_ds to 1MB+64KB limit instead.
> The nearptr hack? I thought that just failed completely under W9x.
No, nearptr works in Windows 9X; it's NT that fails it.
However, Emacs doesn't use nearptr at all.
- Raw text -