This Trap saves part of a window.

Call ParametersReturn Parameters
D0.B$6DD0.LError code
D1.Lx,y start of block in areaD1.LAddress of save area
D2.L0 or x,y size of save areaD2.LPreserved
A0.LWindow channel IDA0.LPreserved
A1.LPointer to window blockA1.LPreserved
A2.LAddress of save area (D2 = 0)A2.LPreserved
ERR_NOChannel not open
ERR_OROut of range
ERR_OMOut of memory (D2<>0 only)
  • All registers not listed above are unused and preserved.
  • The pixel position in D1.L defines the start of the save area to which the block defined by A1 is to be put.
  • If D2 is 0 there must be a save area already set up with an address given in A2, otherwise an area is set up of the size given in D2 and its address is returned in D1.L.
  • The window block to which A1.L points defines the area to be saved. Its form is given below. The origin is relative to the window whose ID is in A0.
  • qdosmsq/pe/svpw.txt
  • Last modified: 2009/02/16 16:17
  • by george.gwilt