QDOS Internals

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

User Tools

Site Tools


Table of Contents


This trap sets a window's outline

Call ParametersReturn Parameters
D0.B$7AD0.LError returns
D1.Lx,y shadow widthsD1.LCorrupted
D2.LContents codeD2.LPreserved
A0.LWindow channel IDA0.LPreserved
A1.LPointer to window definition blockA1.LPreserved


ERR_NOChannel not open
ERR_ORWindow not within screen


  • All registers not mentioned above are unused and preserved.
  • The contents code in D2.L is 1 to keep the contents and 0 otherwise.
  • The window definition block to which A1 points has the same meaning as in IOP.SVPW.
  • This trap makes the window a genuine managed window defining its outline, its hit area and shadow. The hit area is that defined by the window block to which A1 points. The shadow widths are added to that area to make the outline and are drawn by the trap.
  • Further calls to IOP.OUTL can be used to move the window together with its contents. In this case the size of the window as defined in the window block must be the same as before and D2.L should be 1.
  • For secondary windows the trap saves the area beneath thew window obviating the need for IOP.WSAV and IOP.WRST.
qdosmsq/pe/outl.txt · Last modified: 2011/02/19 12:11 by george.gwilt