From: bgleich AT blitz DOT chemie DOT uni-ulm DOT de (Bernhard Gleich) Subject: physical memory location Newsgroups: comp.os.msdos.djgpp NNTP-Posting-Host: 134.60.34.6 Message-ID: <3587e7b1.0@news.uni-ulm.de> Date: 17 Jun 1998 17:58:41 +0100 Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi all This question should be in the FAQ, but I didn't find it. I'm trying to do some PCI DMA transfer. For this I need to know where the physical address of my allocated memory is. But I could not find any function that returns me this value. Could anyone point me to this type of information? Note: Currently I'm doing the DMA in a very strange way: Allocate (malloc) most of the memory. Clear this memory. Do a DMA transfer to a random physical address. Check were the memory content is changed. Now DMA transfer to known position in the malloced memory is possible. This works most of the time. Gru"s Bernhard Gleich