delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/19/03:58:48

Date: Mon, 19 Aug 1996 10:43:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Schmitz Stiphane <tyrell AT tornado DOT be>
Cc: djgpp AT delorie DOT com
Subject: Re: DPMI programming
In-Reply-To: <4v797b$35l@tornix.tornado.be>
Message-Id: <Pine.SUN.3.91.960819103749.4450L-100000@is>
Mime-Version: 1.0

On 18 Aug 1996, Schmitz Stiphane wrote:

> What I want is beeing able to use all the computer memory available (to
> dynamically allocate chunks of memory without worrying about the memory
> limits). For example, I have 32 megs of memory. What have I to code if I
> want to load, for example, a lot of big .WAV files into memory and then
> working on them ?

Why do you have to worry about DPMI to achieve that?  Just malloc any 
amount of memory you need and read the files into the allocated buffers.  
DJGPP lets you use all the physical memory you have, and up to 128MB of 
virtual memory on top of that, and you never need to worry about all the 
DPMI stuff that goes on under the hood.

> ? Are there any other programs needed when I run the app (go32-v2.exe, 
> cwsdpmi.exe...) ?

You need CWSDPMI unless you run in the environment that already has DPMI 
server installed (such as Windows which has a built-in DPMI server).  

> You see that I have a lot of questions ! (don't forget I'm
> a total beginner is this environment).

Being a beginner, please consider reading the file `readme.1st' (in the 
v2 directory at the same place where you got DJGPP) and the DJGPP FAQ 
list (v2/faq201b.zip).  They'll probably answer many your questions 
before you even ask them.

- Raw text -


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