From: Larry Swanson Newsgroups: comp.os.msdos.djgpp Subject: Re: weird 32 bit lines in VESA 2.0 Date: Thu, 05 Jun 1997 13:17:53 -0500 Organization: MidWest Communications, Inc. Lines: 16 Message-ID: <339702D1.1038F03B@mwci.net> References: <338F8816 DOT 43DF28C6 AT mwci DOT net> <3394754A DOT 1FBB0227 AT mwci DOT net> <5n37pi$pi AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: dial-43.man.mwci.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > Are you in a 16 color mode? If so, each byte of video memory is > probably a > pair of adjacent pixels. To set one you'd use *byte=(*byte & 0x0F) | > (pix*16) > and the other, (*byte & 0xF0) | pix, where pix is the palette index. In my original post(which appears to have been deleted) I said that I though that I was in a 32 bit color mode. Now , with some help and re-examining of my code, it appears that I am in a 24 bit mode. Does anybody out there know how to get a 32 bit mode under VESA? I would prefer to write out a d-word at a time, mostly for speed and partly for ease of use. Thank you, Jordan Swanson