Is possible VGA resolution 1024x768 ?
JLS
Posts: 76
Hi all
Is possible generate VGA resolution 1024x768 or 640x480 ?
Only for Plot or line function.
Thanks help
Is possible generate VGA resolution 1024x768 or 640x480 ?
Only for Plot or line function.
Thanks help
Comments
http://forums.parallax.com/showthread.php?t=106118&highlight=strip+chart
http://forums.parallax.com/showthread.php?t=106710&highlight=Prop+EKG+preview
I've been thinking about this a bit lately. Depending on the length, and the number of lines/plots you need, you may be able to use a sort of bitmap/tile driver hybrid.
I've been thinking about stripping the graphics object down to just the line function, and draw to a temp buffer in the graphics cog - as long as the line size is short enough to fit in said buffer. If you're working with a fixed line length, you can determine the maximum amount of 16x16 tiles that would be necessary to contain the line bitmap, and allocate the appropriate space in the hub. The graphics object would copy only the non-zero tiles, and update the tile map accordingly. As long as you limit maximum number of lines, and their length to not exceed your hub ram bitmap buffer, I don't see why 1024x768 shouldn't be possible.
Perfectly possible - I wrote a video driver for the Prop to simulate a vector graphic display, which I used in a a couple of Hydra games - it can do various VGA resolutions up to 1152x864 (2 colors) or 800x600 (4 colors). It's available here. It has a SPIN interface that is largely code-compatible with the normal Parallax graphics object.
The only limitation is that at the higher resolution you can't draw very many lines on the screen at one time - exactly how many depends on the resolution you choose, and also how much RAM you allocate to the driver.
One day I plan to dust this driver off and use it again - if I ever get enough time
Ross.
Very cool! How come you never submitted it to the obex?
I guess I never regarded it as "finished". I always wanted to do more with it, but have been unable to find the time.
Maybe I should just package it up "as is" and submit it.
Ross.
Many thanks this usefull info.
Today test it :-)