Difference between revisions of "83Plus:BCALLs:5236"

From WikiTI
Jump to: navigation, search
(*shrug*)
 
m (inverting->invert)
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
 
'''BCALL Address:''' 5236
 
'''BCALL Address:''' 5236
 +
 +
'''Minimum OS Version: 2.30'''
  
 
Either draws, erases, or inverts a rectangular border on the screen.
 
Either draws, erases, or inverts a rectangular border on the screen.
Line 24: Line 26:
  
 
=== Destroys ===
 
=== Destroys ===
* [[83Plus:RAM:86EC|savesscreen]]
+
* [[83Plus:RAM:86EC|saveSScreen]]
  
 
=== Comments ===
 
=== Comments ===
This is the exact same thing as BCALLing [[83Plus:BCALLs:4D7D|DrawRectBorder]] or [[83Plus:BCALLs:4D86|EraseRectBorder]], though I suppose this has the advantage of being able to inverting it. I worry about TI sometimes.
+
This is the exact same thing as BCALLing [[83Plus:BCALLs:4D7D|DrawRectBorder]] or [[83Plus:BCALLs:4D86|EraseRectBorder]], though I suppose this has the advantage of being able to invert it.
 +
 
 +
It was added in OS 2.30. Do not attempt to BCALL it on an earlier version.

Latest revision as of 08:06, 2 March 2007



Synopsis

Unofficial Name: RectBorder

BCALL Address: 5236

Minimum OS Version: 2.30

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

Inputs

  • 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

Outputs

  • Rectangle is drawn

Destroys

Comments

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

It was added in OS 2.30. Do not attempt to BCALL it on an earlier version.