delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/06/20:36:09

Xref: news2.mv.net comp.os.msdos.djgpp:8369
From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: FP_SEG & FP_OFF equivelent for DJGPP?
Date: Fri, 06 Sep 1996 18:17:40 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 29
Message-ID: <3230CD34.358D@cs.com>
References: <322f8e29 DOT 841234 AT nntp DOT ix DOT netcom DOT com>
NNTP-Posting-Host: ppp203.cs.com
Mime-Version: 1.0
To: Matt <fame1 AT ix DOT netcom DOT com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Matt wrote:
> 
> I am converting some real mode cd player code to djgpp and nowhere can
> I find the equivelent.  I need the seg and offset for a variable that
> is required for the real mode int.  Any Ideas?
> 
> {this is probably a very dumb question}

Only in the sense that it is asked by nearly every starting user of djgpp.  :)
The short answer is that in djgpp *you don't need them*.  The long answer is
lengthy and can be read about in detail by consulting the DJGPP Frequently
Asked Questions list, available from this URL:

ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/faq201b.zip

The specific question you are asking is answered in section 17.7.  I
recommend that you read at least the first 6 sections and all of sections
8, 9, 17, and 18.  It is extremely well-written and _very_ useful.  :)

John <fighteer AT cs DOT com>

-- 
                      Anything that happens, happens.
    Anything that, in happening, causes something else to happen, causes
                         something else to happen.
 Anything that, in happening, causes itself to happen again, happens again.
        It doesn't necessarily do it in chronological order, though.
 
                                       --- Douglas Adams

- Raw text -


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