delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/12/09:17:12

From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Descriptors
Date: Thu, 12 Jun 1997 06:45:49 GMT
Message-ID: <339f99ca.1518328@news.nol.net>
References: <339E6F0D DOT 3A14 AT geocities DOT com>
NNTP-Posting-Host: ip38-14.nol.net
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 11 Jun 1997 11:25:33 +0200, a <a AT a DOT com> wrote:

>Hello everybody.
>
>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. 
>
>Thanks in advance.
>
>Joost.
>
>P.S. Please mail me any comments as well as posting them.

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
stay the same across function calls.  If you don't use these two
functions then you can _PROBABLY_ use fs and gs freely.
Input/verification would be appreciated here (I wondered this same
thing.

Lonnie McCullough
lonniem AT cs DOT utexas DOT edu

- Raw text -


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