delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/05/13:00:46

Message-ID: <001901c0d577$954622c0$cb099d3e@iron>
From: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp AT delorie DOT com>
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>
Subject: Re: read a specific memory address
Date: Sat, 5 May 2001 17:25:13 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp AT delorie DOT com

----- Original Message -----
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
Cc: <djgpp AT delorie DOT com>
Sent: Saturday, May 05, 2001 4:58 PM
Subject: Re: read a specific memory address


> > From: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
> > Date: Sat, 5 May 2001 16:19:57 +0200
> >
> > sorry to write via mail, but at the moment I don't have a News server
> > connection.
>
> The mailing list djgpp AT delorie DOT com is 2-way gated into the news group
> (the mail reflector runs on DJ Delorie's server).  So you may use
> djgpp AT delorie DOT com whenever you cannot access the news, and don't need
> to apologize for that.

cool!


> > I tried the _farpeekb() function and it worked fine for memory in the
"DOS
> > memory space". But outside this area it didn't work.
>
> What do you mean by ``outside this area''?  Please tell what address
> did you try to access, and how did you get that address.

As Selector (or descriptor?) I used _dos_ds which returned a selector to the
real mode memory space ...
then I read bytes from F000:0000 to F000:FFFF (phys. 0x000F0000 to
0x000FFFFF)
this worked fine. There was a address (32 bit format) which was 0x0BFF0000.
Then I just used _dos_ds as selector and used 0x0BFF0000 as offset. As I
wanted to access (read) this memory value I got an error.
So I think that I need another selector, because this memory area is beyond
DOS's 1MB border...


Best regards
Thomas

- Raw text -


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