Date: Wed, 10 Sep 1997 19:27:58 +0300 (IDT) From: Eli Zaretskii To: Brad Fidler cc: djgpp AT delorie DOT com Subject: Re: Curious about selectors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 10 Sep 1997, Brad Fidler wrote: > Q)So this got me wondering, what is your programs > DS selectors value normally? You get different values with different DPMI hosts. The value itself is not special in any way, AFIK, it's just an offset into the descriptor table. > what happens to it if you malloc large chunks of > memory? is it dynamically resized? The limit changes, and sometimes the base address, but the selector itself stays put. > Its a minor thing but hey 5 percent is still 5 > percent!(but that 5% probably isn't worth > disabling memory protection with a Fat DS!) It also isn't worth losing portability (NT, Linux DOSEmu etc.), IMHO.