Mail Archives: djgpp/1997/06/05/21:35:23
> 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
- Raw text -