delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/10/03:23:13

Date: Mon, 10 Apr 2000 08:49:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: VBE question
In-Reply-To: <2f39226b.b2c2896f@usw-ex0102-013.remarq.com>
Message-ID: <Pine.SUN.3.91.1000410084853.19649P@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 9 Apr 2000, batchex wrote:

> Does this mean that no djgpp standard libraries (either C or C++
> libraries) use/clobber FS register?

Yes, the library doesn't modify FS.

> How about GS register?

Low-level library functions that interface with DOS/BIOS clobber GS.

> And
> approximately, how many selectors could I allocate before I ran
> out of them (I know this is specific to many factors, but please
> give me the approximate for pure DOS with emm386)?

The DPMI spec says this somewhere, I think.  I think 2048 descriptors
is required.

But only very special programs need that large number.

- Raw text -


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