delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/04/10:27:54

From: Martin Stromberg <eplmst AT epl DOT ericsson DOT se>
Message-Id: <200104041427.QAA12556@lws256.lu.erisoft.se>
Subject: Re: That crash message from the core dumper.
To: djgpp-workers AT delorie DOT com
Date: Wed, 4 Apr 2001 16:27:46 +0200 (MET DST)
In-Reply-To: <Pine.SUN.3.91.1010404161302.26435E-100000@is> from "Eli Zaretskii" at Apr 04, 2001 04:18:05 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Eli said:
> On Wed, 4 Apr 2001, Martin Stromberg wrote:
> 
> > Shouldn't the limit on _dos_ds selector be 0x10ffef (or possibly
> > 0x10fff0, I'm not sure if the limit includes the last address or not)
> > instead of 0x0010ffff?
> 
> (The limit is size minus 1.)
> 
> No, 0x0010ffff is right.  setup_core_selector (on crt1.c) says:
> 
>   __dpmi_set_segment_limit(_dos_ds, 0x10ffff);

A misunderstanding. I'm not saying the dump in question is wrong, but
that DOZE can only access up to 0x10ffef and that the _dos_ds selector
limit should be set to this!


Right,

						MartinS

- Raw text -


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