delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/18/03:55:08

Date: Thu, 18 Jul 1996 10:49:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Farhan Yousaf <farhany AT interlog DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: FP_OFF(), FP_SEG() equivalents
In-Reply-To: <1.5.4.32.19960717225317.006afe50@mail.interlog.com>
Message-Id: <Pine.SUN.3.91.960718104637.338M-100000@is>
Mime-Version: 1.0

On Wed, 17 Jul 1996, Farhan Yousaf wrote:

> So, the question is: How do I get the memory segments and offsets of a
> variable? Are there any FP_SEG, FP_OFF, equivalents?
> 
> How do I call realmode interrupts that requires me to pass them segments and
> offsets?
> 
> Forgive me if this sounds trivial. :)

Not trivial, just answered in the FAQ.  Please download the DJGPP FAQ 
list (v2/faq201b.zip from the same place you get DJGPP) and read sections 
17.7 and 18.2 of the FAQ.

As a new user of DJGPP, I also recommend reading the first 4 chapters of 
the FAQ and at least browsing through the rest (so you'd know what's in 
there the next time you have a problem).

- Raw text -


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