QDOS Internals

Anything you never knew you wanted to know about the Sinclair QL.

User Tools

Site Tools


Table of Contents

WM.SWLIT - Vector $5C

This vector sets a window to a loose item.

Call ParametersReturn Parameters
D1.WLoose item numberD1.LPreserved.
D2.LItem statusD2.LPreserved.
A4.LPointer to working definitionA4.LPreserved.


Any IO sub system errors and:

ERR_OROut of range.


  • Any register not shown above is not used and is preserved.
  • If D2.L is negative, only the window area is set. Otherwise the item will be set to the status requested (available, selected or unavailable) and the "over" state set to 0. The codes for available, selected and unavailable are the bytes $00, $80 and $10.
qdosmsq/pe/vectors/swlit.txt · Last modified: 2012/10/02 09:56 by george.gwilt