From: Damian Yerrick 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: References: <8qsqc1$455 AT news DOT or DOT intel DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" 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) --