Shop OBEX P1 Docs P2 Docs Learn Events
TV Text - Printing last character on screen (without scrolling) — Parallax Forums

TV Text - Printing last character on screen (without scrolling)

RobotWorkshopRobotWorkshop Posts: 2,307
edited 2011-12-18 20:38 in Propeller 1
This is probably a very simple question and I am sure I am overlooking something. I am using the TV text object and I want to be able to print the last line of text on the screen (including the last character on the line) without having the whole screen scroll up when the last character is printed. I am drawing a character based form that I fill in later when the program is running. When it gets to the last character the whole screen moves up a line. Normally that would be good but in this case it won't work for me. To make the display look right I need to put a character in last spot. I also tried to print everything but that and then manually set the X,Y position to the lower right corner and then do an out with the character value. Didn't seem to help.

Any suggestions?

Robert

Comments

  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2011-12-18 20:13
    I found a way around it. I'm using a copy of TX Text so I could change the color palette. Since it is a new version that I'm using specifically with my project I just commented out the two lines that scrolled up the whole screen and blanked out the bottom line.

    Problem solved....

    Robert
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-12-18 20:38
    FYI This is the correct way a terminal program should act. Some terminals had a protect mode or scroll lock mode where scrolling was disabled and in that mode, the cursor would move to the home position (top left character of the screen).
Sign In or Register to comment.