Date: Thu, 12 Jun 1997 18:34:55 +0300 (IDT) From: Eli Zaretskii To: Lonnie McCullough cc: djgpp AT delorie DOT com, a AT ja DOT com Subject: Re: Descriptors In-Reply-To: <339f99ca.1518328@news.nol.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 12 Jun 1997, Lonnie McCullough wrote: > >I would like to have a segment register that I can freely modify and use > >without causing problems in my program. Is this possible, and is so > >which segment regs can i use. > > You can probably use fs and gs because in the documentation for the > far pointer functions it says that fs and gs are used by the far > pointer and movedata routines (but don't assume that fs and gs wll I suggest to use FS and leave GS alone. FS is guaranteed to not be used by any of the libc functions, unless you call `farptr' functions explicitly. GS is used by a lot of library functions.