PDA

View Full Version : TV_Text.spin



codeking
02-09-2007, 07:27 AM
How do you use TV_text.spin that comes with the Propeller Tool? I looked through the code and got the basic stuff such as creating a new line and printing text and so on, but the colors remain a mystery. Can somebody explain how you set the colors and what the hex code for each color is?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Theron Luhn

"There are two things that are infinate: Human Stupidity and the universe. I'm not sure about the latter." - Mark Twain

codeking
02-10-2007, 07:11 AM
I think I figured most of it out, but I can't figure out the color code. $07 is white and $04 is gray. I can't figure out how it works.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Theron Luhn

"There are two things that are infinate: Human Stupidity and the universe. I'm not sure about the latter." - Mark Twain

Paul Baker
02-10-2007, 08:01 AM
Use Graphics_Palette.spin in your Examples/Library directory to give you the color codes for TV based drivers.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)