Difference between revisions of "84PCSE:BCALLs:5596"

From WikiTI
Jump to: navigation, search
(SetLCDWindowAndPos)
 
(No difference)

Latest revision as of 10:42, 20 October 2013

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.