Mail Archives: djgpp/2000/04/10/03:23:13
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 -