www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/08/21:33:47

Xref: news2.mv.net comp.os.msdos.djgpp:894
From: cline AT rocket DOT cc DOT umr DOT edu (Jason Cline)
Newsgroups: comp.os.msdos.djgpp
Subject: Need help allocating linear memory...
Date: 8 Feb 1996 19:38:08 GMT
Organization: UMR Missouri's Technological University
Lines: 25
Message-ID: <4fdjf0$6rl@hptemp1.cc.umr.edu>
NNTP-Posting-Host: rocket.cc.umr.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);

If someone could send me a piece of code showing how
to call this function properly or just tell me how to
use it properly I would appreciate it.  My problem is
that I don't know what the _commit field in the function
does and how to use the __dpmi_meminfo field. By the way,
I am using v2.b5 and CWSDPMI beta9 when compiling.  Thanks
for any help that you can give.




-----------------------------------------------------------------------------
Jason Cline
University of Missouri, Rolla
cline AT umr DOT edu

"Here sirs, we come to famous training ground
 of cursed springs, Jusenkyou."-Chinese Guide


- Raw text -


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