Mail Archives: djgpp/1996/07/27/07:45:36
Xref: | news2.mv.net comp.os.msdos.djgpp:6456
|
From: | dbarrett AT srvr1 DOT engin DOT umich DOT edu (David M Barrett)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Flat Memory Questions
|
Date: | 26 Jul 1996 19:14:42 GMT
|
Organization: | University of Michigan Engineering, Ann Arbor
|
Lines: | 21
|
Message-ID: | <4tb5f2$pfr@srvr1.engin.umich.edu>
|
NNTP-Posting-Host: | blazers.engin.umich.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Ok, I admit it: I've just recently started experimented with DJGPP. But,
I have searched long and hard for documentation describing how to set the
computer into Protected Mode with the Flat Memory option but have been
unsuccessful. Could someone please point me to a tutorial or something
(or describe the process) to do this:
1. Set the computer into PM with Flat addressing
2. Allocate a simple "char Array[1024*1024]" (for example)
3. Dynamically allocate memory in large chunks.
I've looked around a bit through the DPMI functions, but I don't
understand the difference between them. Could someone please explain
them to me? Thanks!
-David :)
--
-----------------------------------------------------------------------------
David M. Barrett :) | University of Michigan / CAEN Hotline
dbarrett AT engin DOT umich DOT edu | http://www-personal.engin.umich.edu/~dbarrett
-----------------------------------------------------------------------------
- Raw text -