www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/15/07:47:53

From: "Graham Warren" <Moosehead AT tesco DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Memory allocation.
Date: Thu, 15 Jun 2000 11:04:50 +0100
Organization: Tesco ISP
Lines: 11
Message-ID: <8iaa8c$4ns$1@barcode.tesco.net>
NNTP-Posting-Host: dialup.62-172-21-72.tesco.net
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi there everyone,
I'm new to DJGPP and i'm a bit stuck. I want to allocate some memory for a
screen buffer in one of my prgrams. I need 192000 bytes. My question is:
what function is it best to use to allocate this memory? I know about malloc
but is it better to use one of the other __dpmi_...  memory allocation
functions, if so which one and how are they used?

Thankyou for your help.
Graham.


- Raw text -


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