Xref: news2.mv.net comp.os.msdos.djgpp:7618 From: strider7 AT unm DOT edu Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI programming Date: Sun, 18 Aug 1996 14:10:18 -0600 Organization: University of New Mexico, Albuquerque Lines: 34 Message-ID: <321778AA.327D@unm.edu> References: <4v797b$35l AT tornix DOT tornado DOT be> NNTP-Posting-Host: ppp_064.unm.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Schmitz Stéphane wrote: > > Hi everybody ! > > I just downloaded the DPMI specs but it doesn't help me a lot. > It seems very difficult to code programs that use the DPMI interface. > 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 ? > > So here's my questions : is there a good DPMI documentation that explains > everything from a to z (and easily understandable even by the beginner that > I am) ? I have seen programs that use the extended memory and wondered how > to do that. But reading and understanding a source is maybe a good way, but > a long and *very* difficult one. Are there special libs to include in the > executable file ? Are there C headers required (go32.h for example) ? Are > there GCC command line parameters I have to type when I compile the program > ? Are there any other programs needed when I run the app (go32-v2.exe, > cwsdpmi.exe...) ? You see that I have a lot of questions ! (don't forget > I'm a total beginner is this environment). > > Thanks for the help you could give me ! > > Stephane Schmitz. i think djgpp handles memory for you. you can allocate as much memory as you want, and if you allocate more memory than you have, it uses your hard disk. -- http://www.unm.edu/~strider7