Well I guess I'm at a loss, the only thing that I see that Paul posted was his version of TV_Text.spin, on page one of this thread near the bottom of the page. If you'll post a copy of it (entire archive), I'll take a look at it.
You might try tinkering with the Broadcast frequency, that's how I cleaned mine up, some. I'm not done experimenting yet, will probably build Beau's LC circuit as posted here:
I don't know what to say guys other than it won't work with the TV you have, many TVs are very forgiving in the frequency it receives, clearly yours are not. Mike your use of 61.2625MHz demonstrates this, but because you are using a frequency that is not a nice multiple of your crystal the generated frequency with have jitter and that shows up as the noise you are seeing.
And there is an additional differnce in the file besides the header values tv_pins is now assigned differently to corectly set the mode for broadcast based on the base pin value (high or low nibble).
I have tried numerous(!) frequency settings and 4 different TVs from B&W portables to newish colour and the best I can get now are the strange cut-in-half lines described by newzed. See attached image. I tried adding multiple lines and they are all cut in half. Any other settings that need to be tweaked?
Thats not an issue with the broadcast mode, it's·the driver being used incorrectly. You are running it in 16x16 tile mode instead of 16x32 so only the top halves of the characters are being displayed.
Your right some TV's are pretty sloppy and will decode an display properly an 'off carrier' signal, found out that the 13" color TV in my office will display a pretty good picture when I set the broadcast frequency for 60_000_000.
One more thing, would it be as simple as using the BS2_Functions.spin:
PUB FREQOUT(Pin,Duration, Frequency)
or
PUB FREQOUT_SET(Pin, Frequency)
to make some simple sounds on P15 and have them also transmitted along with the video carrier? If not can you point me in the right direction.
The frequency must be generated on another cogs CTRA in mode 1 using FM modulation centered at 4.5 MHz and the AuralSub Field of the video Generator chosen to pick up that output. The extent of my knowledge on this subject is laid out on page 11 of the datasheet (ie neither I nor anyone that I'm aware of has·implemented this yet, but the hardware facilities exist).
So how do I set the driver to 16 X 32 tiles instead of 16 X 16?
I have tried changing the MODE setting in TV_Text_Paul and can't get it. Is there sometyhing else needed in conjuction with MODE change or just something else?
Tom
DAT & TV_Params from TV_Text_Paul below:
DAT
tv_params long 0 'status
long 1 'enable
long 0 'pins
long %10110 'mode
long 0 'screen
long 0 'colors
long cols 'hc
long rows 'vc
long 4 'hx
long 1 'vx
long 0 'ho
long 0 'vo
long 61_250_500 'broadcast
long 0 'auralcog
I ran the code you provided, it shows up perfectly. The only thing I can think of is that you are running code other than which you posted, try downloading your own code into a new folder and compile onto the EEPROM and test it again.
I created a new folder "TVCast', copied the top file and the two objects into it, but I still get the top half of the text.
In the DAT block, under tv_params, if I change the mode from %10010 to %10000 and SetXY(0,0) the display shows up in the same place as in your picture, but still only the top half.· If I change mode back to %10010, the program still responds to the SetXY command, except that (0,0) starts at about what would be (0,4) with the mode set at %10000.
My aural subcarrier resistor is a 1 percent 562 ohm.· My TV is a Sanyo 13".
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Yesterday is history, tomorrow is a mystery, and today is a gift.
Somehow, somewhere bit 4 of the mode is being set to 0, this needs to be set to 1 to display the bottom half. Since TV_Text.spin·is dependant on TV.spin and that is the only file in the object hierarchy which we haven't been passing back and forth, this must be where the issue lies. You·changing the file is the only thing I can think of which could cause the discrepancy. I have attached the original TV.spin
Same here. I had ver 1.0 too. Now with ver 1.1 it works great!!
Thanks to everyone for helping me solve this problem
I'm really impressed with both the prop chip and level of expertise that went into all the helpful replies.
Now, I can change the display colors by manipulating the values in DAT/pallette in TV_Text_Paul.· Is there any way I can change the colors in the top file so I can have different colored lines of text?
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Yesterday is history, tomorrow is a mystery, and today is a gift.
Comments
PUB start(basepin) : okay··
So where do I set basepin = 0?
I have my own version of the TV program that works just fine, and has the statement you referenced:
PUB start' | i
· 'start the tv terminal - TV must be switched to "Game".
· term.start(0)
I would like to get Paul's program running but I can't set the Start key.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid,
Well I guess I'm at a loss, the only thing that I see that Paul posted was his version of TV_Text.spin, on page one of this thread near the bottom of the page. If you'll post a copy of it (entire archive), I'll take a look at it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Sod
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Try the attached archive, you will need to adjust:
If you using a crystal different than 5 MHz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
You might try tinkering with the Broadcast frequency, that's how I cleaned mine up, some. I'm not done experimenting yet, will probably build Beau's LC circuit as posted here:
http://forums.parallax.com/showthread.php?p=593861
And try a 6 Mhz crystal.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Tom
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 6/7/2007 9:51:03 PM GMT
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Your right some TV's are pretty sloppy and will decode an display properly an 'off carrier' signal, found out that the 13" color TV in my office will display a pretty good picture when I set the broadcast frequency for 60_000_000.
One more thing, would it be as simple as using the BS2_Functions.spin:
PUB FREQOUT(Pin,Duration, Frequency)
or
PUB FREQOUT_SET(Pin, Frequency)
to make some simple sounds on P15 and have them also transmitted along with the video carrier? If not can you point me in the right direction.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I have tried changing the MODE setting in TV_Text_Paul and can't get it. Is there sometyhing else needed in conjuction with MODE change or just something else?
Tom
DAT & TV_Params from TV_Text_Paul below:
DAT
tv_params long 0 'status
long 1 'enable
long 0 'pins
long %10110 'mode
long 0 'screen
long 0 'colors
long cols 'hc
long rows 'vc
long 4 'hx
long 1 'vx
long 0 'ho
long 0 'vo
long 61_250_500 'broadcast
long 0 'auralcog
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Tom, please post your code both the modified driver and your top level object.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 6/8/2007 5:17:02 PM GMT
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I created a new folder "TVCast', copied the top file and the two objects into it, but I still get the top half of the text.
In the DAT block, under tv_params, if I change the mode from %10010 to %10000 and SetXY(0,0) the display shows up in the same place as in your picture, but still only the top half.· If I change mode back to %10010, the program still responds to the SetXY command, except that (0,0) starts at about what would be (0,4) with the mode set at %10000.
My aural subcarrier resistor is a 1 percent 562 ohm.· My TV is a Sanyo 13".
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Thanks to everyone for helping me solve this problem
I'm really impressed with both the prop chip and level of expertise that went into all the helpful replies.
Tom
Now, I can change the display colors by manipulating the values in DAT/pallette in TV_Text_Paul.· Is there any way I can change the colors in the top file so I can have different colored lines of text?
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·