From: Martin Stromberg 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: from "Eli Zaretskii" at Apr 04, 2001 04:18:05 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk 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