From: Felix Natter Newsgroups: comp.os.msdos.djgpp Subject: Windows 2000: __dpmi_physical_address_mapping fails II Date: 03 Nov 2001 17:50:57 +0100 Organization: Customer of Pironet NDH AG, Germany Lines: 23 Message-ID: <87668rssr2.fsf@mybaby.home.felix> NNTP-Posting-Host: port178.bonn.ndh.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: passat.ndh.net 1004812743 20047 195.94.93.178 (3 Nov 2001 18:39:03 GMT) X-Complaints-To: abuse AT ndh DOT net NNTP-Posting-Date: 3 Nov 2001 18:39:03 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hi, with code like this: __dpmi_meminfo meminf; meminf.address = vbe_modeinfo.PhysicalBasePtr; meminf.size = screensize; if (__dpmi_physical_address_mapping(&meminf) == - 1) => error __dpmi_physical_address_mapping fails on Windows 2000 (both with cwsdpmi 4/5 and when I select Dos on startup). A sample program can be found here: http://www.ndh.net/home/natter/vbetest.cpp I don't need need this to be fixed. I am just curious. Maybe it improves DJGPP :-) thanks, -- Felix Natter