demo kit and pinouts with respect to hydra for video driver
Bob Drury
Posts: 236
I am trying to get the hydra graphics demo to run on the parallax demo board pin definition seems
confusing in tv_drv %001_0101 for pins 8-15 in Hydra %011_0000 for pins maybe it's not possible
·
confusing in tv_drv %001_0101 for pins 8-15 in Hydra %011_0000 for pins maybe it's not possible
·
Comments
That's how the h/w is connected. So - everything else being equal - simply replace the pin definitions.
On demo {long %001_0101 'pins} which gives, mode %0000_0111 broadcast, pins %0111_0000 pins (12,13,14) at least outputs something but when following is used which I think would be the correct definition
{long %011_0101 'pins} which gives, mode %0000_1111 broadcast and aural, pins %0111_0000 pins (12,13,14) doesn't output anything.
Why did Hydra use %011 and TV_Terminal.spin use %011
Sorry I still don't understand why %0101 (5) would give the mask of %0111_0000 for pins 15/14/13/12/11/10/9/8
Using %011_0101 on the demo board doesn't get you anywhere. The demo board TV output is using pins 12/13/14 which is group 1 (%001_0101).
The Hydra must use group 3 because that's where the TV h/w is connected. As for TV_Terminal.spin, the one coming with the PropTool (1.2.6) is using %001_0101. There is a special version for the Hydra (unfortunately using the same name) which uses %011_0000.
That's the way the TV driver works. Effectively it picks the long at pins0 and shifts it right by 16 which is the result of taking the middle 2 mode bits, i.e. %0101 and shift them 3 to the left.
Which particular demo are you trying to run (name)? I have both boards here so I can have a look.
on the tv (unfortunately I am using a tft screen so there is no sync adjustment for horizontal and vertical)
the Hydra is crystal clear, I can see the objects running on the propeller demo board , but no color and objects appear to be double in size.
Seems the tv_drv_010.spin has some issues when I set the broadcast frequency to 0, with the original 60M from the demo file it works ...
Post Edited (kuroneko) : 5/22/2009 4:32:18 AM GMT