X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Tim Updegrove Newsgroups: comp.os.msdos.djgpp Subject: Converting PhysAdr to LinearAdr in Linux Date: Fri, 05 Dec 2003 16:15:50 -0500 Lines: 7 Message-ID: NNTP-Posting-Host: 128.94.148.174 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: alageremail2.agere.com 1070658938 7548 128.94.148.174 (5 Dec 2003 21:15:38 GMT) X-Complaints-To: newsmaster AT agere DOT com NNTP-Posting-Date: Fri, 5 Dec 2003 21:15:38 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Under Win98SE, the program used __dpmi_physical_address_mapping() to map a physical address to a linear address. This function is failing under Linux Red Hat 9 and DOSEMU. Does DOSEMU have similiar functions to the DJGPP functions? Another area of concern is dos memory allocation and getting a physical address to pass to the hardware for DMA. I'm hoping there are DJGPP uses here that run under DOSEMU.