QDOS Internals

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

User Tools

Site Tools


Table of Contents

WM.SWAPP - Vector $60

This sets the window to cover an application window.

Call ParametersReturn Parameters
D1.W = application window numberD1 is preserved
D2.L = ink colour or -1D2 is preserved
A0 = channel ID
A1 = pointer to the application window
A4 = pointer to working definitionA4 is preserved


ORNGWindow number out of range


  • No other registers are used
  • If D2 is -1, no change is made to the window except its size and position. Otherwise the "over" state is set to 0 and the ink colour is set.
  • The window number in D1.W is 0 for the first, 1 for the second and so on.
qdosmsq/pe/vectors/swapp.txt · Last modified: 2009/01/30 11:07 by norman