Date: Mon, 19 Aug 1996 10:43:36 +0200 (IST) From: Eli Zaretskii To: Schmitz Stiphane Cc: djgpp AT delorie DOT com Subject: Re: DPMI programming In-Reply-To: <4v797b$35l@tornix.tornado.be> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.