qdosmsq:pe:vectors:opw

Differences

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

Link to this comparison view

qdosmsq:pe:vectors:opw [2009/05/22 17:47] (current)
george.gwilt created
Line 1: Line 1:
 +====== WM.OPW - Vector $88 ======
 +This vector emulates three QDOS vectors allowing their use with WMAN colours.
 +
 +^Vector^Value in D0.L^Action^
 +|UT_WINDW/​OPW_WIND|$C4|Sets a window|
 +|UT_CON/​OPW_CON|$C6|Sets a console window|
 +|UT_SCR/​OPW_SCR|$C8|Sets a screen window|
 +
 +^Call Parameters^^Return Parameters^^
 +|D0.L|See above|D0.L|Error return.|
 +| | |D1.L|Corrupted.|
 +| | |D2.L|Corrupted.|
 +| | |D3.L|Corrupted.|
 +|A0.L|Pointer to name|A0.L|Channel ID|
 +|A1.L|Pointer to block|A1.L|Corrupted.|
 +| | |A2.L|Corrupted.|
 +| | |A3.L|Corrupted.|
 +===== Errors =====
 +As for the QDOS vectors
 +===== Notes =====
 +  *The block to which A1.L points contains colours. This applies to all three vectors. For UT_WINDW/​OPW_WIND the block contains in addition the window size and origin.
 +==== Block ====
 +
 +^Address^Item^
 +|$00|Border colour (word)|
 +|$02|Border width (word)|
 +|$04|Paper/​strip colour (word)|
 +|$06|Ink colour (word)|
 +In addition for UT_WINDW/​OPW_WIND
 +^Address^Item^
 +|$08|Window width (word)|
 +|$0A|Window height (word)|
 +|$0C|X-origin (word)|
 +|$0E|Y-origin (word)|
 +
 +
  
  • qdosmsq/pe/vectors/opw.txt
  • Last modified: 2009/05/22 17:47
  • by george.gwilt