83Plus:BCALLs:452E

From WikiTI
Revision as of 18:20, 14 April 2008 by Luby (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.