Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3230072@probe-2.Acclaim-Euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Graphic Speed and memory Date: Mon, 26 Oct 1998 10:17:27 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Nicolas Blais writes: > 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? 800x600x15 = 720000 bits = 900000 bytes 640x480x32 = 9830400 bits = 1228800 bytes That isn't quite accurate because 15 bit pixels are actually padded to a 16 bit alignment, making the real size be 800x600x16 = 960000 bytes. So, a 640x480x32 mode takes up 1.28 times as much memory as an 800x600x16 one, and will therefore take 28% longer to refresh. btw. could you please turn off HTML formatting in your email program? It makes your messages very hard for many people to read... Shawn Hargreaves.