Sender: vheyndri AT rug DOT ac DOT be Message-Id: <340A8B25.5D44@rug.ac.be> Date: Mon, 01 Sep 1997 11:30:13 +0200 From: Vik Heyndrickx Mime-Version: 1.0 To: DJ Delorie Cc: djgpp workers Subject: Re: _dos_ds segment limit References: <199708291628 DOT MAA28685 AT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk DJ Delorie wrote: > > > Sorry, I was mistaken high for extended. Now I understand what you > > originally wrote. So it would be 1M+64K, the limit. > > Technically, 1M+64k-16, but we can't set the segment that granularly. Technically, 1M+64k-16+3 I noticed that we can't set the limit with a granularity of 1. It once took me an hour to figure out why no program did run anymore when I changed _dos_ds's limit to 0xffff0+0xffff. Strange that DPMI hosts don't extend such a limit to the next 4K page (or 4M when appropriate) when such a limit is requested. At least that's what W95 does. I don't know what CS's CWSDPMI does. -- +----------------+ | Vik Heyndrickx | +----------------+