delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/05/10:21:41

Message-ID: <000c01c0d56e$77a9a7e0$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>
Subject: Re: read a specific memory address
Date: Sat, 5 May 2001 16:19:57 +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

Hi there,

sorry to write via mail, but at the moment I don't have a News server
connection.

I have one more question about reading memory values.
I tried the _farpeekb() function and it worked fine for memory in the "DOS
memory space". But outside this area it didn't work.
So I wanted to use dpmi... funtions. But I don't know the selector....
How can I get the selector I need? Do I have to create one?
How can I create a selector? How can I tell the function the memory area I
want to read if there are only relative or segmented addresses?

Sorry for my stupid questions!
In real mode programming I did something, but protected mode is something I
never learned (and propably never will learn)...
I think it is quite complicated...
With all this GDT, LDT, Descriptors, selectors and so on...

----- 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: Friday, May 04, 2001 5:37 PM
Subject: Re: read a specific memory address


> > From: "Thomas Schachtner" <thomas DOT schachtner AT gmx DOT de>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 4 May 2001 14:20:42 +0200
> >
> > Now  I try to use _farpeekb() or the DPMI... functions
> >
> > Do they work also with WindowsNT/Windows2000 environment?
>
> Yes, they work with any DPMI environment, including NT and W2K.
>

- Raw text -


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