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

InvertRect

Inverts the colors of a rectangular area on the screen.

Address: $02121C

Inputs:

  • hl: Top-left X coordinate of the rectangle.
  • de: Bottom-right X coordinate of the rectangle.
  • b: Top-left Y coordinate of the rectangle.
  • c: Bottom-right Y coordinate of the rectangle.

Outputs:

  • Draws to the screen.

Destroys:

  • af