83Plus:BCALLs:452E

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: NewLine

BCALL Address: 452E

Move cursor to beginning of next line and scroll the display if necessary

Inputs

  • set appAutoScroll, (IY+appFlags) to scroll if needed

Outputs

  • textScrolled, (IY+textFlags) set if display scrolled
  • curRow is incremented if display does not scroll.
  • curCol = 0.

Destroys

  • All

Comments

This is the same as TI-Basic Disp command in the fact that it sets a new line up.

Reset the appAutoScroll (IY+appFlags) flag to avoid scrolling the screen if on the bottom line. But if doing so, curRow may be incremented to an invalid state (eg, row 8 or above), so be careful.