delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/27/11:30:37

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: Memory size and colors
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <je44ts8naj7gfghu5jdd12ccmmhs7cllnh@4ax.com>
References: <8qsqc1$455 AT news DOT or DOT intel DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 21
X-Trace: /KiKeWmPfgnJeyRpYoFcto9RpSWMDVXTCGe0fpg+9LtZAX4iCkq/fAhlOQL6++f75c/HfoVVEOUT!O7p6nr6koYmfoDP26/FF5G+ue8eqyaTzkyYT2Zv23Qle90NRGBLoLSPzjobqnLCelIW5i9gTkQ9F!/O1h3Q==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 27 Sep 2000 15:29:44 GMT
Distribution: world
Date: Wed, 27 Sep 2000 15:29:44 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 27 Sep 2000 15:49:03 +0300, "Haim Cohen"
<haim DOT cohen AT intel DOT com> wrote:

>1. How to get the size of total physical memory on board? (RAM memory)

Most operating systems' DPMI servers lie about this.
Under DOS with CWSDPMI, try this:
C:\>info libc a __dpmi_get_free

>2. How to color output from C++ program?

cputs()/cprintf()/textattr() (libc)
textout()/textprintf()/text_mode() (Allegro)

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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