Xref: news2.mv.net comp.os.msdos.djgpp:1070 From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help allocating linear memory... Date: Thu, 08 Feb 1996 20:13:45 CST Organization: Rice University, Houston, Texas Lines: 18 Message-ID: <311aadd9.sandmann@clio.rice.edu> References: <4fdjf0$6rl AT hptemp1 DOT cc DOT umr DOT edu> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > I am having trouble allocating any memory using the > function: > __dpmi_allocate_linear_memory(__dpmi_meminfo *_info, int _commit); > I am using v2.b5 and CWSDPMI beta9 when compiling. 1) This is a DPMI V1.0 call which is not supported by CWSDPMI. You would need to use 386max or OS/2 to support this function. 2) You ought to be using release 1 instead of beta 9 > My problem is that I don't know what the _commit field in the function > does and how to use the __dpmi_meminfo field. You need a copy of the DPMI 1.0 spec to describe these (there is some information in "info" on it). But still, without a more full featured DPMI provider, it won't help. In general, I would advise against expecting any of the features labelled as DPMI 1.0 in the dpmi.h to work much of anywhere except under 386MAX.