From WikiTI
Revision as of 11:04, 1 March 2007 by Brandonw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Unofficial Name: RectBorder

BCALL Address: 5236

Either draws, erases, or inverts a rectangular border on the screen.


  • B: type of drawing (0 to erase, 1 to draw, 2 to invert)
  • H: upper left corner pixel row
  • L: upper left corner pixel column
  • D: lower right corner pixel row
  • E: lower right corner pixel column
  • plotLoc,(iy+plotFlags) set to update display only, reset for both display and graph buffer


  • Rectangle is drawn



This is the exact same thing as BCALLing DrawRectBorder or EraseRectBorder, though I suppose this has the advantage of being able to inverting it. I worry about TI sometimes.