From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Porting from Borland C++ and DJGPP Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8n9anl$85o$1 AT nnrp1 DOT deja DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 X-Trace: /w3Za/a4u5L0+669fzDrJHX5MkxW4XyFUFBv92NfwqRlHmA+UiE9Ly5hoGA/fypxI1XL01a4lWeb!m/LTC03omU74Mo6Rt69rGe07/72cYGAZFXfQtU2p6RKyajSn0k/2tl3FjpIA+xvTQHfgHn0XnBNK!4z62 X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 14 Aug 2000 17:52:32 GMT Distribution: world Date: Mon, 14 Aug 2000 17:52:32 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 14 Aug 2000 17:36:53 GMT, rui_paz AT my-deja DOT com wrote: >I'm porting a small util that is made on Borland C++ and make use >off this three functions MK_FP, FP_SEG and FP_OFF, is their any >equivalent functions on DJGPP?? Look in section 18 of the DJGPP FAQ list. Essentially, you'll be _farpokeb()ing into _dos_ds. And if you're porting graphics code, you might want to check out Allegro. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/