X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: Flat memory access Date: Wed, 4 Jun 2008 12:16:40 -0400 Organization: Aioe.org NNTP Server Lines: 17 Message-ID: References: <1df56ce7-2c42-4092-b71b-2c0b988c535e AT d19g2000prm DOT googlegroups DOT com> <200806041517 DOT m54FHtq1029611 AT envy DOT delorie DOT com> NNTP-Posting-Host: mQokHQeKeRC37oD/Mq9UYg.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-Priority: 3 X-MSMail-Priority: Normal To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "DJ Delorie" wrote in message news:200806041517 DOT m54FHtq1029611 AT envy DOT delorie DOT com... > > > __dpmi_physical_address_mapping (&mi); > > This is a DPMI 1.0 call, you must check for an error return and deal > with it. It is not widely supported. What? You meant __dpmi_free_physical_address_mapping() is a DPMI 1.0 call. He's not using 'free'. That's what you get for searching libc.info with a text editor or grep... ;-) __dpmi_physical_address_mapping() defined in DPMI 0.9 and calls int 31h, ax=0800h in d0800.S. Rod Pemberton