From: lmc83 Newsgroups: comp.os.msdos.djgpp Subject: Re: How to determine the physical address from a DPMI descriptor Date: Tue, 22 Sep 1998 09:16:15 +0800 Organization: SEEDNet News Service Lines: 23 Message-ID: <3606FA5E.D9EC9020@cs.ccu.edu.tw> References: <35e04c8f DOT 1705102 AT news DOT teaser DOT fr> NNTP-Posting-Host: aix.trd.iii.org.tw Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi: Excuse me, how to allocate and lock an xms buffer before Windows starts? I also has the same problem on writing a driver for a capture card which need to allocate a very large continuous physical memory. >JP wrote: > >Eli Zaretskii wrote: > >I have found another solution : I allocate and lock an xms buffer > >before Windows starts. This buffer is continuous and cannot be used by > >Windows. The drawback is that my system now has less memory. I would > >prefer to allocate my buffer when I run my program, but I could find > >any way. > > >Thanks very much, > > JP > >Jeepy (Jean-Pierre Delprat) > >jpdelprat AT teaser DOT fr > >www.teaser.fr/~jpdelprat (JPTUI home page) Liang Ming-Chung