We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,577 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How do I display more than 256 colors in DOS real mode?

I would like to know how to display more than 256 colors in DOS I already know about the color palette which can hold 256 colors and can be changed, but as soon as you change them the colors on the screen change. So how would I display more than 256 colors on the screen? It seems to me that this would be possible, since in my OS (windows) it looks as if it can display more than 256 colors. Any resources that can show me how to do this would be helpful, thanks.

2
Contributors
2
Replies
1 Day
Discussion Span
2 Years Ago
Last Updated
3
Views
Question
Answered
ThatGuy2244
Light Poster
34 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

You can't display more than 256 different colors at the same time with VGA.

I found a site which says that you can display 262144 (2^18; 6 bits each for red, green and blue) colors with VGA (that means you will have to modify the palette to display other colors). Here's the link (it's in C, though, but you should be able to make sense out of it): http://www.theparticle.com/pgraph.html

Read in "The Palette..." section.

Hope this helps.

venomxxl
Junior Poster in Training
80 posts since Jan 2009
Reputation Points: 34
Solved Threads: 8
Skill Endorsements: 0

You can't? It seems like you can because displaying high quality movies and images themselves looks as if they use more than 256 colors at once, is there something else that can be used to display more colors on the screen? But if you can't then thanks for the link.

ThatGuy2244
Light Poster
34 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Answered as of 2 Years Ago by venomxxl

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0628 seconds using 2.66MB