QDOS Internals

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

User Tools

Site Tools


Table of Contents


This trap restores a window area saved by IOP.WSAV.

Call ParametersReturn Parameters
D0.B$7ED0.LError return
D2.B<>0 to keep save areaD2.LPreserved
A0.LWindow channel IDA0.LPreserved
A1.LAddress of save area or 0A1.LPreserved


ERR_NOChannel not open


  • All registers not mentioned above are unused and preserved.
  • A1.L should be set to zero if the window area was saved internally. This is not recommended as the internal save area might have been used for other purposes since the window area was last saved by IOP.WSAV.
qdosmsq/pe/wrst.txt · Last modified: 2011/02/20 11:41 by george.gwilt