From: p DOT steiner AT t-online DOT de (Peter Steiner) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp and RAM Date: 31 Jul 1997 23:19:45 GMT Organization: Telekom Online Internet Gateway Lines: 33 Message-ID: <5rr6ii$9te$3@news00.btx.dtag.de> References: <01bc9dad$1625a480$bee0f9ce AT somebody DOT jaguarsystems DOT com> Reply-To: p DOT steiner AT t-online DOT de 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 Precedence: bulk On 31 Jul 1997 12:29:27 GMT, 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. Yes, nothing special about it. You don“t even need to know how things work for most purposes. >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? Just setup the array, as long as you write plain C/C++ there“s no need to think about “conventional memory“ or “system ram“. You have pointers, you can malloc, that“s it. In fact “just loading it to conventional memory“ is more complicated than to “put it in the ram“. Get used to not having such DOS limitations. Problems may occur if you want to use a specific kind of memory for some reasons (eg. the screen) but that“s explained in the djgppfaq (18.4 How to move data between your program and conventional memory?). Ciao, Peter Steiner -- _ x ___ / \_/_\_ /,--' p DOT steiner AT t-online DOT de (Peter Steiner) \/>'~~~~// \_____/ signature V0.2 alpha