Struggling with VSCL and timing
cbmeeks
Posts: 634
in Propeller 1
OK, I pretty much figured out where some of these crazy numbers come in with the NTSC Template.
For example:
That is a convenient way of specifying the binary value of:
Which means we have a PIXEL CLOCK of 1 (one) and a FRAME CLOCK of 269. Pretty neat.
Now, here is where I'm stuck. How does "269" translate to 4.7us? I cannot find the correlation anywhere.
Finally, how does the 1 pixel clock apply to the "sync" colors of:
Thanks again!
For example:
vsclsync long 1<<12+269 ' NTSC sync = 4.7us
That is a convenient way of specifying the binary value of:
000000000000_00000001_000100001101
Which means we have a PIXEL CLOCK of 1 (one) and a FRAME CLOCK of 269. Pretty neat.
Now, here is where I'm stuck. How does "269" translate to 4.7us? I cannot find the correlation anywhere.
Finally, how does the 1 pixel clock apply to the "sync" colors of:
sync long $8A0200 ' %%0 = -40 IRE, %%1 = 0 IRE, %%2 = burst
Thanks again!
Comments
The waitvid command delivers the 32 bits of pixel data and the 4 color palette to the video circuitry.