delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/28/00:34:29

From: "Alexander Russell" <alexad3 AT uniserve DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: Memory size and colors
Date: Wed, 27 Sep 2000 21:22:50 -0700
Organization: Uniserve
Message-ID: <970114709.811400@neptune.uniserve.ca>
References: <8qsqc1$455 AT news DOT or DOT intel DOT com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Cache-Post-Path: neptune.uniserve.ca!unknown AT van6d37 DOT dial DOT uniserve DOT ca
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Most os'es lie about physical memory.
Under dos generally coreleft() or heapfree() tells you how much is available
to your program.

Clolout output? text or graphics?
For text you can use direct video mem access, or built in functions that
come with you compiler like
textcolor() textattribute() forground() background() etc..

"Haim Cohen" <haim DOT cohen AT intel DOT com> wrote in message
news:8qsqc1$455 AT news DOT or DOT intel DOT com...
> 1. How to get the size of total physical memory on board? (RAM memory)
> 2. How to color output from C++ program?
> thanks
>
>


- Raw text -


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