8bc Graphics Driver
Jetfire
Posts: 34
This driver makes it easy to work with color. The driver is built on Chip Gracey's graphics.spin and tv.spin. Cardboardguru's and potatohead's work was also vital to showing how to work with with many colors.
The basic architecture change is that the frame buffer now holds the 8 bit color that the video generator uses. Instead of configuring a tile's color palette, you just draw with the color you want. The usage is basically the same if you're already familiar with graphics.
Check out the demo for some examples of what can be done.
The included files are set for NTSC, 5 Mhz x 16, and pins 12, 13, 14. Configuring them is the same as using graphics.spin.
The basic architecture change is that the frame buffer now holds the 8 bit color that the video generator uses. Instead of configuring a tile's color palette, you just draw with the color you want. The usage is basically the same if you're already familiar with graphics.
Check out the demo for some examples of what can be done.
The included files are set for NTSC, 5 Mhz x 16, and pins 12, 13, 14. Configuring them is the same as using graphics.spin.
Comments
Good base driver for some more games.
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
This will make basic Propeller graphics a lot easier for people. It's probably a good idea to go back through the Parallax reference graphics library and TV driver and add set color commands to it. The tile limitations would be in place, of course, but it would be easier than going through and editing the colors array. I like how you implemented these!
I'll second OBC. Nicely done!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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!
I take it the rectangular center (Randomlogo) was used because of memory limitations or can that be done in full screen as well?
OBC
Edit: This happy medium looks better on my display... (Thought I'd share..)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
Post Edited (Oldbitcollector) : 12/18/2008 5:17:10 AM GMT
Graphics can do this too, but the color table has to be set up correctly.
Can somebody please show me how to setup the color table in graphics right?
I want to be able to choose colors like in 8bc (I would use 8bc but textmode doesn't work in 8bc-at least not for me)
Thank you
Post Edited (geokonst) : 5/28/2009 12:20:37 AM GMT