From: samir AT mindspring DOT com (Samir Barjoud) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allocate physical memory? Date: Sat, 28 Mar 1998 12:29:52 -0500 Organization: MindSpring Enterprises Lines: 18 Message-ID: References: <351c26a2 DOT sandmann AT clio DOT rice DOT edu> <9pFc+WA$oMH1EwRj AT talula DOT demon DOT co DOT uk> NNTP-Posting-Host: user-38lc2k7.dialup.mindspring.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <9pFc+WA$oMH1EwRj AT talula DOT demon DOT co DOT uk>, Shawn AT talula DOT demon DOT co DOT uk says... > I just wanted to check how practical this would actually be, and > for now it seems like my best plan will be to develop the code under > win95, and then once I have something working, either look at ways to > make CWSDPMI support it myself, or start pestering you to add it! Why don't you use the "Fat DS" hack, which works under Win95 and DOS. Sandmann has an example out there of how to use it to directly access the VESA 2.0 linear frame buffer. If I understand you correctly, you want to be able to do a PCI bus master transfer under both Win95 and DOS. To do this you could allocate a suitably sized and aligned buffer, anywhere in memory. You would then lock the allocated memory and get its physical address. -- Samir Barjoud samir AT mindspring DOT com