Joined: 08 Jun 2012
Location: Kentucky, USA
Vesa Mode Colors??? - SOLVED
I have currently set up Vesa using the code below . However, this particular mode has a supposed 64k color palette. The problem is, I cannot figure out how to code a specific color. For example.. plotting a pixel with 0xFFFFFF produces a white pixel, 0x000000 produces a black pixel, but 0x00FF00 which should be green, produces a dark yellow color. Am I incorrect in correlating the color scheme to a standard rgb color palette? How can I determine the correct color I want???
The VBE3 standard (http://www.petesqbsite.com/sections/tutorials/tuts/vbe3.pdf) defines the layouts for preset modes but also provides generic RGB field info in the get mode info function (#1), which could help - though to be honest I went straight to 24/32 bit modes for the simplicity
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum