From: Seby Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! Protected mode memory allocation Date: Sun, 07 Sep 1997 23:28:05 +0200 Organization: Flashnet S.p.A. Lines: 14 Message-ID: <34131C65.4142@sr.flashnet.it> References: <340DE895 DOT 59D6457A AT virgin DOT net> Reply-To: cartas AT ita DOT flashnet DOT it NNTP-Posting-Host: ip023.pool-21.flashnet.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ian Thompson wrote: > > I wish to use protected mode, say 8 megs of flat address space in my > programme. > Put data in, take data out etc... Any pitfalls I should look out for? > An example of how to do this in 'C' would be really apprectiated. > > Many thanks in advance! > > Ian Thompson (A 'C' newbie....#?!*....STILL!) Like real mode allocation ...use malloc() ... Good luck !! e way, that book was Teach Yourself Game programming in 21 days. -- Want some REAL fantasy role playing action? Play the Legend of Sardinia! Just slap http://www.geocities.com/SiliconValley/Bay/5345/ on your browser!