From: Alan Bork Newsgroups: comp.os.msdos.djgpp Subject: Re: Graphic Speed and memory Date: Thu, 22 Oct 1998 12:31:52 -0500 Organization: Exec-PC BBS Internet - Milwaukee, WI Lines: 17 Message-ID: <70nq5e$11m@newsops.execpc.com> References: <362F1A03 DOT C49DA4C1 AT phreaker DOT net> NNTP-Posting-Host: narn-1-185.mdm.mke.execpc.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: daily-bugle.newsops.execpc.com 909077486 1078 (None) 169.207.136.59 X-Complaints-To: abuse AT execpc DOT com X-Mailer: Mozilla 4.06 [en] (WinNT; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > First of all, I'd like to know which of those takes longer to refresh? > > 800x600x15bit > 640x480x32bit > > Second, how do you calculate how much memory it takes? I am not sure about the refresh but the memory is easy enough. First note that the 15 bit will be treated as 16 bit and just throwing away the extra bit. 16 bit is 2 bytes 32 bit is 4 bytes (we all know that so...) 800 * 600 * 2 = 960000 bytes or 937.5 KB 640 * 480 * 4 = 1228800 bytes or just over 1.17 MB