delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/17/18:53:27

Message-Id: <1.5.4.32.19960717225317.006afe50@mail.interlog.com>
Mime-Version: 1.0
Date: Wed, 17 Jul 1996 18:53:17 -0400
To: djgpp AT delorie DOT com
From: Farhan Yousaf <farhany AT interlog DOT com>
Subject: FP_OFF(), FP_SEG() equivalents

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. :)
--
Farhan Yousaf    "We were never feeling bored         <farhany AT interlog DOT com>
PSBFreak          because we were never being boring."   <ca337 AT torfree DOT net>
PSB, Hit Music:   http://www.interlog.com/~farhany/

- Raw text -


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