Date: Wed, 17 Dec 1997 10:36:20 +0100 (GMT+0100) From: Petr Mrazek To: Konference DJGPP Subject: VGA programming off-topic Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Hi, excuse me for off-topic, but I don't have time to search other newsgroups. My program runs in VGA graphics mode 640x480x16 and I don't know how to write into VGA memory from buffer in RAM. In this mode VGA uses 4 bytes for 8 pixels (4-bit color), right? When setting only one pixel, I must set the mask and then write color to VGA (very simple said). Is to possible to write for example two pixels with two different colors in one step? Or how to directly acces these 4 bytes (mentioned above)? I hope that my questions is clear. Answer to my e-mail please. Thanks very much. /* Petr Mrazek */ /* e-mail: mrazek AT cas3 DOT zlin DOT vutbr DOT cz */ /* SMS: petr DOT mrazek AT sms DOT paegas DOT cz (120 chars - junk mails here please) */ /* phone: +420-603-501050 */ /* Zlin, Czech republic */