www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/19/04:56:35

From: jjed AT hotmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Physical address of linear memory (again)
Date: Thu, 19 Nov 1998 09:37:50 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 22
Message-ID: <730otd$tad$1@nnrp1.dejanews.com>
References: <72q9v6$a8h$1 AT nnrp1 DOT dejanews DOT com> <72ubfv$5h6$1 AT latinum DOT dresearch DOT de>
NNTP-Posting-Host: 212.216.209.157
X-Article-Creation-Date: Thu Nov 19 09:37:50 1998 GMT
X-Http-User-Agent: Mozilla/3.0 (compatible; Opera/3.0; Windows 95/NT4) 3.2
X-Http-Proxy: 1.0 mail2:3128 (Squid/1.1.20), 1.0 x4.dejanews.com:80 (Squid/1.1.22) for client 192.168.0.2, 212.216.209.157
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <72ubfv$5h6$1 AT latinum DOT dresearch DOT de>,
  "Michael Beck" <beck AT dresearch DOT de> wrote:

> Sorry, I don't understand your question right. The VDMA-Services are for
> ISA-DMA only. It's main usage
> is for the case that in V86 mode the physical addresses did not always match
> the logical, so
> double buffering is needed. You cannot use them for accesing PCI
> memory.Neither ISA-DMA did work
> for memory-to-memory copy, nor it can access memory addresss higher that
> 16MB.

Actually I need to get the physical address of a buffer (allocated with
malloc in protected mode) so I can program the PCI card to put data in it.
The PCI card is a bus master can access all the memory but I have to use the
physical address to program it.

Best Regards,
James.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


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