TV_TERMINAL - questions
ALIBE
Posts: 299
Hello all,
sorry if this has already been asked and covered in past threads. I could not find by searching.
I have a couple ?s below that I was hoping to find some answers to here.
1. How to position cursor at a certain row,col to output text
2. Where can I find the different "codes" for the TV_Terminal.Out.
····· 2.1 For example tv.out(3) '--- sets the forground color to White.·
···········Where can I find this documentation?
······2.2 tv.out(ClearScreen) ' Where is this out command documented?
thanks in advance
ALIBE
sorry if this has already been asked and covered in past threads. I could not find by searching.
I have a couple ?s below that I was hoping to find some answers to here.
1. How to position cursor at a certain row,col to output text
2. Where can I find the different "codes" for the TV_Terminal.Out.
····· 2.1 For example tv.out(3) '--- sets the forground color to White.·
···········Where can I find this documentation?
······2.2 tv.out(ClearScreen) ' Where is this out command documented?
thanks in advance
ALIBE
Comments
I still need some help on #1 please
thanks
I assume ClearScreen is defined as zero (home) which moves the cursor to (0,0) and clears the screen. This driver (tv_terminal) doesn't have the ability as written to position the cursor. It looks like it could be easily added, but it's not there. The way the colors work in this driver is that the screen is made up of 16x16 pixel tiles. Each tile can have a set of 4 colors associated with it. The codes $01..$03 select which foreground color to use. The driver has 4 predefined color combinations that can be selected ($04..$07) as shown above and you can select which one you want to use. You'd have to change the color_schemes table to change the combinations available. There is a program called graphics_palette.spin in the Propeller Tool's library that will show you all the possible colors and, when you select a color with the mouse, will give you the 8 bit hexadecimal code for the color to go in the color_schemes table.
ALIBE
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I will give TV_Text a shot today and let you know. thanks for the pointer.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Are there any reasons why one would not or should not use this object for regular text displays?
Perfrmance, etc?
thanks
In the good 'ol DOS days, I used to write directly to the Video Memory for fast rendering. Is it possible to "poke" and "peek" into memory addresses via SPIN and what is the memory address space for video.
thanks, Nagi
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
You might want to look at my posting on the Propeller OS - TV version. I've taken the VGA text control codes and slightly modified them (and the routines that process them) for tv text use. The changes mostly have to do with handling color and are intended to be compatible with tv_text. I'd appreciate any comments.
Mike Green
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
After my ThinkPad got corrupted, I had to do a 'restore'.· Thought I'd backed up all the files I've been using, find it didn't get saved.·
And, for some reason I cannot download the latest released PropTool without some file being missing.· Don't know what's really happening.·
Had to re-download the FTDI driver for PropPlug (because of the restore).· Wow, are those LEDs on it bright; thought I'd blown couple of fuses.· But still blastingly working.
Is there a way to have both the serial i/f to my PropSTICK and USB for a second Prop usable at the same time?___· Seems one should.· (But maybe the PropTool wouldn't know which to work with.· If not, going to be a lot of plugging/unplugging of DB9 and USB connectors.)
Once this is resolved, I can get back to programming.· Rather than hand-holding a PC.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
in the "Object Exchange" url?
here it is:
http://ww1.parallax.com/Default.aspx?tabid=65
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Harley, did you use http://search.parallax.com to do your searching? If not, you should.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
No wonder I couldn't find it by itself; was part of that demo. I didn't really recognize it, as my monitor is only b/w.
Now that the ThinkPad PC is back working (clobbered OS) I can continue making progress with the two Prop programming. Had to use the F11/HPA route (hidden protected area) so time to download a number of apps. A time waster.
Paul, I was surprised when I tried 'http://search.parallax.com'; that took me to Google. Now why didn't I think of that; do use it a lot at times.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.