useing libary graphics.spin on vga.spin
yooyod
Posts: 2
I·want example code useing libary graphics.spin on vga.spin
Comments
http://www.rayslogic.com/propeller/Users/3rdParty.htm
It think it can be adapted to VGA, but I'm not sure I've actually seen it done...
Of course you have to consider the different color model in tile colouring... But it is best to use four colors only anyhow
I did such a modification twice I think - one of it was for a customer however... Now thinking a little bit longer, it was not that trivial with a foreign program....
under http://www.rayslogic.com/propeller/Users/3rdParty.htm link you posted, i can´t find any graphics.spin XGA (1024x768) demo topic.
i'm looking for that , since so far i couldn't get graphics.spin with any vga driver running.
Note:··The big difference between this XGA and the regular VGA driver is the way bitmap and color pointers are stored in the tile array.· In one case the bitmap pointer is in the MSBits and in the other case it's in the LSBits...
·[url=http://www.rayslogic.com/propeller/Users/VGA_Tile_Driver_Demo_-_Archive__[Date_2006.11.12__Time_03.56].zip]VGA 1024x768 tile driver[/url] by Chip Gracey
VGA_512x384_Bitmap object with graphics as well... (but not the same graphics code mentioned previously in this post)
Cheers,
S
If your looking for info on how to make sense of the demo's, buying the HYDRA's book "Game programming for the prop powered hydra", yeah it's $40 + shipping, but it's worth every cent! I'm not interested in making games on the prop but the book covers ALOT on how the propeller uses the graphics driver, tv driver, how the color scheme (palette) works. I was frustrated at first cuz the demos didn't make any sense, now I'm writing similar demos to the ones that come with the prop IDE. The book is awesome! It answered SO many questions I had on generating graphics & animation on the prop.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Chip Gracey is the original author.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
But, it looks more adaptable to VGA.SPIN than the 1024x768 example because the address scheme is the same...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 3/7/2008 9:36:25 PM GMT