www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/12/09:42:12

Date: Thu, 12 Nov 1998 16:41:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Joel Neys <neys AT imec DOT be>
cc: djgpp AT delorie DOT com
Subject: Re: Physical memory location
In-Reply-To: <364AB54F.4DE3522D@imec.be>
Message-ID: <Pine.SUN.3.91.981112163946.12167B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 12 Nov 1998, Joel Neys wrote:

> can anyone tell me how to get the 32-bit absolute physical memory
> location of a variable. I need this address to sent to a PCI-card which
> then on its turn dumps data in the PC's memory using the PCI fifo
> capability.

The FAQ describes two ways of doing this in section 18.14.

> Currently I found a work around using the DOS-memory location and then
> copy it to the applications memory. When running DOS + cwsdpmi it works,
> when running W95 it doesn't. The reason is, to my opinion, that W95
> enables paging while cwsdpmi doesn't.

What paging are you talking about?  Both Windows 9X and CWSDPMI support 
virtual memory, if that's what you had in mind.

- Raw text -


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