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
Notes
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) |