www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/22/20:53:57

From: James Deuchar <J DOT A DOT Deuchar AT dur DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Getting physical addresses for DMA
Date: 22 Jan 1999 10:34:59 GMT
Organization: University of Durham, Durham, UK.
Lines: 18
Message-ID: <01be45f3$55dbf300$f2cfea81@secom144.dur.ac.uk>
NNTP-Posting-Host: secs246.dur.ac.uk
X-Newsreader: Microsoft Internet News 4.70.1161
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi... 
	
I'm trying to setup the DMA controller on a PCI ATM Network card so that I
can transfer some data from system memory onto the cards ram. The djgpp FAQ
suggests either allocating a buffer within the fist MB using a
__dpmi_allocate_dos_memory call or using a software interrupt INT 4Bh to
access the Virtual DPMI Services. I have Ralf Browns interrupt list but I'm
not entirely sure which of the INT 4B calls to make....as far as I'm
concerned I just want to get the physical address of a variable - I don't
know anything about dma buffers and locking regions...HELP PLEASE !!!


 thanks.....
-- 
J DOT A DOT Deuchar AT dur DOT ac DOT uk
Dept. of Engineering
Durham University
United Kingdom

- Raw text -


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