Mail Archives: djgpp/1998/05/03/15:47:11
From: | malcolmj7 AT aol DOT com (MalcolmJ7)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Memory ALLOCATION
|
Lines: | 11
|
Message-ID: | <1998050319372600.PAA17833@ladder01.news.aol.com>
|
NNTP-Posting-Host: | ladder01.news.aol.com
|
Date: | 03 May 1998 19:37:26 GMT
|
Organization: | AOL http://www.aol.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am just begining in DJGPP. I am used to 640K memory. If I use the simple
function Malloc(6000000) will i allocate 6MB of RAM or do i have to do
something else?
When i use functions such as biosmemory, or go32_dpmi_get_physical_memory(), it
returns my total memory not whats left. What function do I use to find out how
much memory i have left, not total?
Thanks
Malcolm
malcolmj7 AT aol DOT com
- Raw text -