eZ80 docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

HighlightRect

Highlights a rectangular area of the screen by changing non-black pixels to a specified color. The light cyan color used by TI-OS when highlighting memory entries is $7FFE. See also UnhighlightRect.

Address: $0219D0

Inputs:

  • hl: Top-left X coordinate of the area to highlight.
  • de: Bottom-right X coordinate of the area to highlight.
  • b: Top-left Y coordinate of the area to highlight.
  • c: Bottom-right Y coordinate of the area to highlight.
  • Value at fillRectColor contains 16-bit color to highlight with.

Outputs:

  • Draws to the screen.

Destroys:

  • af