www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/09/01/05:33:00

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 <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Mime-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp workers <djgpp-workers AT delorie DOT com>
Subject: Re: _dos_ds segment limit
References: <199708291628 DOT MAA28685 AT delorie DOT com>

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 |
+----------------+

- Raw text -


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