From: "Richard M. Myers" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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)