delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/13/04:45:40.1

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "philippe meynard" <philippe DOT meynard AT vendeeconcept DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: physical adress of int
Date: Mon, 13 Sep 2004 10:30:04 +0200
Organization: Guest of France Telecom's news reading service
Lines: 30
Message-ID: <ci3lqc$tq7$1@s5.feed.news.oleane.net>
References: <chrpjm$r73$1 AT s5 DOT feed DOT news DOT oleane DOT net> <4143499b DOT sandmann AT clio DOT rice DOT edu>
NNTP-Posting-Host: 62.161.106.155
X-Trace: s5.feed.news.oleane.net 1095064204 30535 62.161.106.155 (13 Sep 2004 08:30:04 GMT)
X-Complaints-To: abuse AT oleane DOT net
NNTP-Posting-Date: Mon, 13 Sep 2004 08:30:04 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

your files from http://clio.rice.edu/djgpp/cwsdma2.zip
are good for my application
Thanks a lot
PM

"Charles Sandmann" <sandmann AT clio DOT rice DOT edu> a écrit dans le message de news:
4143499b DOT sandmann AT clio DOT rice DOT edu...
> > I want to know a physical adress of my int variable, it's for my
ethernet
> > board for his initialisation.
>
> In general under DPMI you can't do this.  However, it depends a lot on
your
> environment.  Frequently the 640KB area is mapped 1:1 - so you can put
> data there suitable for DMA usage.  Since Windows can virtualize the DMA
ports,
> it will even remap requests to the first 640KB, so this technique works
> well in many environments.
>
> If you need larger memory buffers that will not fit in the DOS memory
area,
> and are willing to stick to a single DPMI provider, you can use PMODE
without
> VCPI (which doesn't enable paging) so your virtual address is the same as
> the physical address (you need to add the DS base to it's address).
>
> If you need a more compatible DPMI, you can use CWSDPMI and the files from
> http://clio.rice.edu/djgpp/cwsdma2.zip


- Raw text -


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