Video Driver Challenge! Try to do the Impossible!
Kye
Posts: 2,200
Hey all,
I tried making a VGA video driver with a completely imbeded character set. The driver whould allow for an 8x8 character set with 4800 characters on screen running within one cog. It would also allow for 120 sperate colored rows on screen.
And, well, the propeller is not fast enough. Sadly its just 10 commands that are holding the show up.
So if anyone wants to try to make the code work I'm posting the code here. I've already written the character set and everything else the driver needs to work. All the code is in place too, however, the·10 lines are commented out in the center of the code.
If you can think of different ways of getting around the speed problem, like prefetching or caching, or·whatever you are welcome to try it.·The code is ready to go except for the speed problem. If you can find a way then we'll all have a really sweet video driver.
And again, I've already written all the code necessary for the driver to work. However I have commented out ten lines within in the scan line loop which the propeller chip·is not fast enough to run.
Goodluck,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
I tried making a VGA video driver with a completely imbeded character set. The driver whould allow for an 8x8 character set with 4800 characters on screen running within one cog. It would also allow for 120 sperate colored rows on screen.
And, well, the propeller is not fast enough. Sadly its just 10 commands that are holding the show up.
So if anyone wants to try to make the code work I'm posting the code here. I've already written the character set and everything else the driver needs to work. All the code is in place too, however, the·10 lines are commented out in the center of the code.
If you can think of different ways of getting around the speed problem, like prefetching or caching, or·whatever you are welcome to try it.·The code is ready to go except for the speed problem. If you can find a way then we'll all have a really sweet video driver.
And again, I've already written all the code necessary for the driver to work. However I have commented out ten lines within in the scan line loop which the propeller chip·is not fast enough to run.
Goodluck,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Comments
I'm just extending the challenge if anyone wants to try. There might be a way.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
The irony being that mine were pulled from VGA video cards. [noparse]:)[/noparse]
propeller.wikispaces.com/Oscillator
My stuff is being packed up at the moment, and I'm getting ready to fly out to Parallax,
or I'd try this myself.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Do it with just two colors to start as well. Fetch those during VBLANK, taking those out of it too.
I would absolutely run it at 96Mhz.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
Safety Tip: Life is as good as YOU think it is!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,