84PCSE:BCALLs:5596

From WikiTI
Revision as of 09:42, 20 October 2013 by FloppusMaximus (Talk | contribs)

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

Synopsis

Unofficial Name: SetLCDWindowAndPos

BCALL Address: 5596h

Set up the LCD window registers for a block drawing operation.

Inputs

  • HL = left edge of window (starting X coordinate)
  • DE = right edge of window
  • B = starting Y coordinate

Outputs

  • R20h (starting row) = B
  • R21h (starting column) = HL
  • R52h (minimum column) = HL
  • R53h (maximum column) = DE

Destroys

  • AF

Comments

Interrupts should be disabled before calling this routine.