From: kagel AT quasar DOT bloomberg DOT com Date: Thu, 18 Jul 1996 09:40:32 -0400 Message-Id: <9607181340.AA02141@quasar.bloomberg.com > To: farhany AT interlog DOT com Cc: djgpp AT delorie DOT com In-Reply-To: <1.5.4.32.19960717225317.006afe50@mail.interlog.com> (message from Farhan Yousaf on Wed, 17 Jul 1996 18:53:17 -0400) Subject: Re: FP_OFF(), FP_SEG() equivalents Reply-To: kagel AT dg1 DOT bloomberg DOT com Errors-To: postmaster AT ns1 X-Sender: farhany AT mail DOT interlog DOT com (Unverified) X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Date: Wed, 17 Jul 1996 18:53:17 -0400 From: Farhan Yousaf Content-Type: text/plain; charset="us-ascii" Content-Length: 560 I am a newbie to DJGPP, I was playing around with some my code to try to make it compile with GCC. 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, it is asked all the time. Get the FAQ and read sections 17 & 18. The current FAQ is faq201b.zip, I believe. -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats