delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/08/15:06:18

Date: Tue, 08 May 2001 21:13:26 +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: <5137-Tue08May2001211326+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: <9d8src$9kc$1@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>
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: Tue, 8 May 2001 15:46:04 +0200
> >
> > Yes, _dos_ds is defined to span the first 1MB (plus 64KB).  If you
> > need to read memory above 1MB mark, you will have to create your own
> > selector and use it instead of _dos_ds in the call to _farpeekb.  The
> > two sections of the FAQ I cited explain how to do that, and show
> > examples of working code.
> 
> I read the FAQ and the program works fine - with Windows 98 and Windows Me!
> On Windows 2000 it just reads the values i get via the _dos_ds selector.
> When I want to allocate a selector in the high address space the program
> stops without any error messages or warnings...

Please post the shortest test program which exhibits these problems.
Are you checking the return values of the DPMI functions you call?
Perhaps some of them fail?

- Raw text -


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