delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/23/23:45:54

From: "Richard M. Myers" <myersr AT nosc DOT mil>
Newsgroups: comp.os.msdos.djgpp
Subject: FP_SEG() and FP_OFF() macros
Date: Mon, 23 Feb 1998 20:33:41 -0800
Organization: NCCOSC RDT&E DIV 714
Lines: 20
Message-ID: <34F24DA5.BF697D29@nosc.mil>
NNTP-Posting-Host: cyco.nosc.mil
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

Is there a DJGPP guru out there who can show me some code which I can
use to replace the following references to FP_SEG and FP_OFF:

srb->buf_seg = FP_SEG(buf);
srb->buf_off = FP_OFF(buf);

I studied the faq and could  find nothing *useful* related to this
DOS-ism, though there are some vaque references to FP_SEG() and
FP_OFF().  (To the faq maintainer:  Examples can be indispensible to
someone not versed in the x86 segmentation follies. :)

Thanks in advance,

Richard

P.S.  Please email me if you can help as I don't follow this group
(myersr AT nosc DOT mil)

- Raw text -


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