83Plus:BCALLs:495A

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: DispHead

BCALL Address: 495A

Displays text starting at editCursor and going backwards to editTop. This entry point moves in reverse, both on the display and in memory.

Inputs

  • editCursor: points to location in edit buffer
  • editTop: points to top of edit buffer
  • curRow: screen row to print text
  • curCol: screen column to print text

Outputs

Registers Destroyed

  • AF, BC, DE, HL

Comments

This entry point is used to scroll all the way back to the beginning of the edit buffer. This is used, for example, when the clear button is pressed in TIOS: If you have a lot of text in the buffer you'll see it all whiz by as it scrolls back to the beginning.