Sender: nate AT cartsys DOT com Message-ID: <36AAA50C.EB3494AD@cartsys.com> Date: Sat, 23 Jan 1999 20:43:56 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Help porting some 16 bit c code to DJGPP References: <1a49fd10 DOT 36aa53d9 AT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Apester000 AT aol DOT com wrote: > > Hi, I'm trying to convert a snippet of code that will find a 64k boundary in > memory for a DMA wav player program I'm writing. I've found some code to do > this, but it's written for borland c 3.1, and I'm new to DJGPP and don't know > how to port it, since it contains references to segments and offsets. Here's > the code: [expunged] > I understand what the code is doing, but how do I find the physical address of > 'data'? Also, what is the equivelant (if there is one) of MK_FP? Thanks in > advance for any help you guys can offer. Read FAQ section 17.7. -- Nate Eldredge nate AT cartsys DOT com