QDOS Internals

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

User Tools

Site Tools


qdosmsq:pe:vectors:opw

WM.OPW - Vector $88

This vector emulates three QDOS vectors allowing their use with WMAN colours.

VectorValue in D0.LAction
UT_WINDW/OPW_WIND$C4Sets a window
UT_CON/OPW_CON$C6Sets a console window
UT_SCR/OPW_SCR$C8Sets a screen window
Call ParametersReturn Parameters
D0.LSee aboveD0.LError return.
D1.LCorrupted.
D2.LCorrupted.
D3.LCorrupted.
A0.LPointer to nameA0.LChannel ID
A1.LPointer to blockA1.LCorrupted.
A2.LCorrupted.
A3.LCorrupted.

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

AddressItem
$00Border colour (word)
$02Border width (word)
$04Paper/strip colour (word)
$06Ink colour (word)

In addition for UT_WINDW/OPW_WIND

AddressItem
$08Window width (word)
$0AWindow height (word)
$0CX-origin (word)
$0EY-origin (word)
qdosmsq/pe/vectors/opw.txt · Last modified: 2009/05/22 16:47 by george.gwilt