www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/09/15:21:19

Date: Wed, 09 May 2001 20:03:44 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
Message-Id: <5567-Wed09May2001200344+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <9dbjel$35j$2@news2.dtag.de> (thomas.schachtner@gmx.de)
Subject: Re: read a specific memory address
References: <9cp464$ju8$1 AT news2 DOT dtag DOT de> <9cp8nj$ap6$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9cu780$5rr$1 AT news2 DOT dtag DOT de> <3028-Fri04May2001183719+0300-eliz AT is DOT elta DOT co DOT il> <000c01c0d56e$77a9a7e0$cb099d3e AT iron> <9003-Sat05May2001175837+0300-eliz AT is DOT elta DOT co DOT il> <001901c0d577$954622c0$cb099d3e AT iron> <1659-Sat05May2001211357+0300-eliz AT is DOT elta DOT co DOT il> <9d8src$9kc$1 AT news2 DOT dtag DOT de> <5137-Tue08May2001211326+0300-eliz AT is DOT elta DOT co DOT il> <9dbjel$35j$2 AT news2 DOT dtag DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Wed, 9 May 2001 16:24:24 +0200
> 
> I checked the return values, but none of them failed...
> After modifying the program (making it smaller) the first DMI function
> fails - but only with Windows 2000....

What is that first function--is that __dpmi_physical_address_mapping?

If that fails, you cannot continue.

What are the values of dmi.start and dmi.length printed by this
snippet from your program:

>   mi.address = dmi.start;
>   mi.size    = dmi.length;
> 
>   printf ("mi.address = %08X\n", dmi.start);
>   printf ("mi.size    = %08X\n", dmi.length);
> 
>   if (__dpmi_physical_address_mapping (&mi) == -1)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019