www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/05/11:31:32

Date: Thu, 5 Aug 1999 10:03:07 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jean-Charles Passard <j DOT passard AT abi-france DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Question on Pointer
In-Reply-To: <7o8upi$f8$1@wanadoo.fr>
Message-ID: <Pine.SUN.3.91.990805100245.14908D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 3 Aug 1999, Jean-Charles Passard wrote:

>     I would like to convert an address into a segment and an offset, I know
> how to do it with Borland C (use of FTP_SEG and FP_OFF), but with djgpp I
> have not found how to do it

Section 17.7 of the DJGPP FAQ list explains why you don't need (and
cannot use) FP_SEG and FP_OFF with DJGPP, and section 18.2 tells you
what to do instead.

The FAQ is available as v2/faq211b.zip from the same place you got
DJGPP.

- Raw text -


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