I was wondering how I could display more than 256 colors with the VGA color palette. correct me if I'm wrong, but the reason that you can't display more than 256 colors at once is because each byte in video memory corresponds to one pixel on the screen. But because each byte can only hold a number up to 255 (not including 0) you can't reference a color past 256 (the maximum number combinations). Assuming that this is correct, is there a way to extend the video memory so that each pixel uses 2 bytes (video memory size * 2) or one word of memory each? :icon_question:
ThatGuy2244
0
Light Poster
Recommended Answers
Jump to Post> I was wondering how I could display more than 256 colors with the VGA color palette
You can not. It is a fundamental limitation of the VGA architecture. VGA may hold just that many colors at a time.
> the reason that you can't display more than …
Jump to PostA couple of (or a few) questions:
1. What video hardware (video board) are you using?
2. What kind of display?
3. How are you trying to program the display?Modern cards are 24-bit or 32-bit color capable. There is a standard api interface that most all modern …
Jump to PostDVI is just an interface. You really don't need to concern yourself with that. It is the video card (physical or virtual) that you need to communicate with. For VirtualBox, using VESA API's in the client would be appropriate, or normal system graphic API's, such as Qt, OpenGL, DX10, etc.
All 9 Replies
nezachem
616
Practically a Posting Shark
ThatGuy2244
0
Light Poster
ThatGuy2244
0
Light Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
ThatGuy2244
0
Light Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
ThatGuy2244
0
Light Poster
nezachem
616
Practically a Posting Shark
ThatGuy2244
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.