delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/01/14:48:24

From: "Asbjørn" <lordcrc AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp and RAM
Date: Thu, 31 Jul 1997 20:46:22 +0200
Organization: Cyber Science Technologies
Lines: 24
Message-ID: <33E0DD7E.18FA42AA@hotmail.com>
References: <01bc9dad$1625a480$bee0f9ce AT somebody DOT jaguarsystems DOT com>
Reply-To: lordcrc AT hotmail DOT com
NNTP-Posting-Host: nm30-1.ppp.sn.no
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Locke wrote:
> 
> Hey everyone,
> 
> I've just started in djgpp and am still trying to understand all the perks
> of a 32 bit programming system.  My understanding is that you can access
> the system ram very easily from a 32 bit program, but that's just what I've
> heard.  What I'm wondering is, that if I wanted to put say, a two
> dimensional array (a map for a game), in the ram instead of just loading it
> to conventional memory, could I do that?  Or does djgpp do this already?

I'm also very new, but as far as i know, you shouldn't worry about
convetional
and extended ram. For you, that should be transparent. So, what you do,
is
you malloc (or something) all the space you need, and access it, and let
the dmpi host worry about where it is :)

-- 
- Asbjørn / Lord Crc

http://home.sn.no/~bheid/
lordcrc AT hotmail DOT com

- Raw text -


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