NTSC versus PAL
Goran (Sweden)
Posts: 68
I'm just started with the prop. demo kit.
Checked out some samples.
Question:
In the full duplexSerial the PUB says:
PUB start(rxpin, txpin, mode, baudrate) : okay
'' Start serial driver - starts a cog
'' returns false if no cog available
''
'' mode bit 0 = invert rx
'' mode bit 1 = invert tx
'' mode bit 2 = open-drain/source tx
'' mode bit 3 = ignore tx echo on rx
'· stop
· longfill(@rx_head, 0, 4)
· longmove(@rx_pin, @rxpin, 3)
· bit_ticks := clkfreq / baudrate
· buffer_ptr := @rx_buffer
· okay := cog := cognew(@entry, @rx_head) + 1
***************
Now, there is a stop instruction.
Does it mean the cog first start ande then stop, which as I understand will make it unavailible?
Next:
How to change the TVdriver from NTSC to PAL.
I tried to change the _mode,#%0001 to _mode,#%0000 in the entire file, seems not working.
Hope anyone has an answer for me.
Regards Goran from Sweden
Checked out some samples.
Question:
In the full duplexSerial the PUB says:
PUB start(rxpin, txpin, mode, baudrate) : okay
'' Start serial driver - starts a cog
'' returns false if no cog available
''
'' mode bit 0 = invert rx
'' mode bit 1 = invert tx
'' mode bit 2 = open-drain/source tx
'' mode bit 3 = ignore tx echo on rx
'· stop
· longfill(@rx_head, 0, 4)
· longmove(@rx_pin, @rxpin, 3)
· bit_ticks := clkfreq / baudrate
· buffer_ptr := @rx_buffer
· okay := cog := cognew(@entry, @rx_head) + 1
***************
Now, there is a stop instruction.
Does it mean the cog first start ande then stop, which as I understand will make it unavailible?
Next:
How to change the TVdriver from NTSC to PAL.
I tried to change the _mode,#%0001 to _mode,#%0000 in the entire file, seems not working.
Hope anyone has an answer for me.
Regards Goran from Sweden
Comments
2) The change in the mode value is the only thing needed. When the TV driver is started, all of these parameters including the mode value are passed to the start routine of the TV driver. You need to change the mode value in the caller of the start routine.
The start routine, is it the PUB calling the start of the cog?
What is the caller, is it a PUB/Var/Con/Dat.
Sorry, but I tried
Regards Goran
Which mode is clearer, NTSC or PAL?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Now it works with PAL
I'm happy again.
Regards, Goran