Point me to a good detailed reference of configuring video plz
Agent420
Posts: 439
I know there must be some good in depth discussion regarding how to set up the video configuration on the Prop...· I don't see any in the forum stickies and the official datasheet and manual aren't very clear imo.· The example Spin programs are nice but do not go into much detail.
Basically I'm looking for topics such as:
Given a desired resolution and refresh rate, how do you calculate the various registers (VSCL).
It appears that although the Prop describes these features as "Video Generators", they are almost more like clock pattern generators on steroids; you still have to manually create the different video signal components such as V/H Front/Back porches etc...· Is there a concise reference to these elements?
I tried using the forum search, but the various video terms appear so frequently it is difficult to identify good threads.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Basically I'm looking for topics such as:
Given a desired resolution and refresh rate, how do you calculate the various registers (VSCL).
It appears that although the Prop describes these features as "Video Generators", they are almost more like clock pattern generators on steroids; you still have to manually create the different video signal components such as V/H Front/Back porches etc...· Is there a concise reference to these elements?
I tried using the forum search, but the various video terms appear so frequently it is difficult to identify good threads.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
There is an excellent section on setting up the counter and video hardware and, along with a timing diagram that I found on the web somewhere, it was detailed enough to help me write a VGA driver from scratch. (NTSC video is also covered.)
This book is my primary reference for Propeller programming, even when I am not working with the Hydra.
- eeo
http://forums.parallax.com/showthread.php?p=765369
Note that there is a sync problem with that driver. The vertical sync line is pulsed twice instead of once, you'll need to fix·that problem·you want to use it (A trival fix if you know whats up)·Otherwise the driver is a good starting point.
Just try to understand what the code is doing to learn.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Still would be nice if the manual included more in depth discussion to this topic, I guess it is technically described but that doesn't do much good.· As the video generators are one of the more unique features of the Prop, it would be great if there was more information available.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
50 Line graphics driver.
http://forums.parallax.com/showthread.php?p=735672
There is a VGALearn set of files by fletch which is a VGA tutorial - it is a nice tutorial and has links - I think I found it on the OBEX?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, RamBlade, TwinBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
The base unit in Propeller graphics is the PLLA clock cycle.· For VGA output the PLLA clock frequency is often the same as the pixel clock frequency.· For TV output the PLLA clock frequency is 16 the colorburst clock frequency.· The PLLA clock frequency is determined by the FRQA and CTRA registers.· You then use the VSCL register to indicate the number of PLLA cycles per pixel and the number of PLLA per "frame", or when the VSCL register and the color and pixel registers are reloaded and the next WAITVID is continues.· Video drivers are constrained by WAITVID to WAITVID timing.· In the inner active display loop, this determines the maximum resolution at a given clock frequency.· Other WAITVID to WAITVID intervals (e.g. front porch) determine the minimum clock frequency.
The actual timings depend upon the resolution and your display device.· You are correct that the video driver has to generate all of these signals itself.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Composite NTSC sprite driver: Forum
NTSC & PAL driver templates: ObEx Forum
OnePinTVText driver: ObEx Forum
Btw, during my research I note there is a good article on Propeller NTSC video in the May 09 issue of Circuit Cellar.· Here is a quote that explains the timing calculation; I think something like this would be a good way to present this information in the manual...· A table identifying the scan line timings, v/h synch requirements and f/b porch data would be great.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Agent420) : 8/20/2009 11:45:58 AM GMT
Thanks much, great documentation there.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Agent420) : 8/20/2009 11:08:59 AM GMT