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 PostThen the question nails down to what exactly is the virtual spec of that virtual card.
All cards are really different. They all support the lowest common hardware denominator (that is is VGA), and their drivers support the lowest common sofrware denominator (that is, DX/OGL standard). Programming registers of …
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.