Mail Archives: djgpp-workers/1997/09/01/05:33:00
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 -