Question about vfcg register.
Kye
Posts: 2,200
Hey guys,
I'm updating my video driver again to include mouse overlay, and I need to know if the video configuration register can be changed during run time right after a waitvid was used and the video generaor is spitting out data in the background.
When you use waitvid, does the video generator load up the value in the vcfg register and use it until the next waitvid or does the vcfg directly control the video generator?
This information will be very helpful going towards having·a mouse overlay with vga display·in one cog.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
I'm updating my video driver again to include mouse overlay, and I need to know if the video configuration register can be changed during run time right after a waitvid was used and the video generaor is spitting out data in the background.
When you use waitvid, does the video generator load up the value in the vcfg register and use it until the next waitvid or does the vcfg directly control the video generator?
This information will be very helpful going towards having·a mouse overlay with vga display·in one cog.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Comments
Vcfg is active during a waitvid. For example, you can change the pin mask, or set the register to zero, and it will impact the video output right away. I've not tinkered with changing the color bits per pixel settings and such. Don't know about those.
Vcsl is a bit different as it's only read and acted on during the actual waitvid command. Generally a good thing, as you need the time waitvid is churning out pixels to set the scale and prep the data for the next frame.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,