Please help me to choose in the VGA-driver-djungle
nohab
Posts: 96
Hi,
I have started to test some VGA drivers but there are just so many, all with different features and constraints and I'm not sure if any of them covers my needs.
(and I don't know how to calculate the Prop limitations)
What I would like is
7 colors at least (black, grey, white, blue, yellow, green, red), I guess a 8th color does not cost any more bit?!
320x240 resolution (or more)
every pixel should be possible to set to any of the 7 colors.
If there are functions for text that is even better, but no demand
Is this feasible?
Are there any suitable driver?
/Nick
I have started to test some VGA drivers but there are just so many, all with different features and constraints and I'm not sure if any of them covers my needs.
(and I don't know how to calculate the Prop limitations)
What I would like is
7 colors at least (black, grey, white, blue, yellow, green, red), I guess a 8th color does not cost any more bit?!
320x240 resolution (or more)
every pixel should be possible to set to any of the 7 colors.
If there are functions for text that is even better, but no demand
Is this feasible?
Are there any suitable driver?
/Nick
Comments
As far as I know, there is no such driver now.
If you want such high resolution, you have to add some additional RAM to the Propeller. I want to try writing high res/high color driver using a 23k256 (I have 4 of them = 128k) as a framebuffer, but I have to connect them to the demo board, sharing its 0..7 pins with SD - I need some free time to do it.
To achieve grey in place of cyan & magenta may need a little external hardware, or at least the standard 8 pin prop VGA output resistor network.
Alternatively you could "checkerboard" - alternate white & black on one line, black & white on the line below, to achieve a kind of 50% grey, or 50% of other colors for that matter
I don't know if it is possible but some kind of "letterbox format" could be a solution. I can reduce the vertical solution to a half (320x120) or a third (320x80), but I don't want rectangular pixels, rather just using a part of the screen with black bottom and top (as in some movies on an old TV)
I will have standard 8 pin VGA output (on the protoboard).
Checkerboard is unfortunatly not a solution for me.
(What I'm trying to do is to draw a switchboard for a model railway station, and these tends to be rather long but not so high)
VGA is a lot harder because the pixel clock is much faster...
Phil just posted a VGA picture and text viewer in Ken Gracey's Presenter thread... But, I don't think you can easily modify the screen in real time...
You could always cheat and use our DVI Graphics Shield and then have 640x480 in 24-bit color...
http://obex.parallax.com/objects/686/
It has the ability to adjust resolutions. So, it can do 320x240 in 2 bits per pixel mode. You can only have 4 colors for the whole screen. This will use up 19,200 bytes. It will give you square pixels.
It will work for you if you can do your application with only 4 colors.
Thanks,