Date: Thu, 18 Jul 1996 10:49:34 +0200 (IST) From: Eli Zaretskii To: Farhan Yousaf 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).