This shows you the differences between two versions of the page.

Link to this comparison view

qdosmsq:pe:wsav [2011/02/19 17:03] (current)
george.gwilt created
Line 1: Line 1:
 +====== IOP.WSAV ====== 
 +This trap saves a window area. 
 +^Call Parameters^^Return Parameters^^ 
 +|D0.B|$7E|D0.L|Error return| 
 +|D1.L|Length of save area or 0|D1.L|Preserved| 
 +|A0.L|Window channel ID|A0.L|Preserved| 
 +|A1.L|Address of save area (D1 > 0|A1.L|Preserved| 
 +==== Errors ==== 
 +|ERR_NO|Channel not open| 
 +|ERR_OM|Out of memory| 
 +==== Notes ==== 
 +  * All registers not listed above are unused and preserved. 
 +  * The hit area of the window is saved by this trap. It can be either saved to an area supplied by the user, in which case the length of the area is given in D1.L and its address in A1.L, or saved internally. The second option is not recommended, but if it is chosen, both D1 and A1 must be set zero. 
 +  * The space required to save the area depends on the mode. If the hit area is x-size wide and y-size deep and the mode is 32 or 33 the number of bytes needed is 4 plus the product of x-size rounded up to an even number and y-size.
  • qdosmsq/pe/wsav.txt
  • Last modified: 2011/02/19 17:03
  • by george.gwilt