QDOS Internals

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

User Tools

Site Tools


Table of Contents

WM.MDRAW - $20

Standard Menu Drawing

Call ParametersReturn Parameters
D3.B 0 (all) or -1 (selective) D3 preserved
A0 channel ID A0 preserved
A3 pointer to sub window definition A3 preserved
A4 pointer to working definition A4 preserved


Any I/O sub system errors


  • No other registers are used.
  • If D3 is zero all menu items are redrawn. If D3 is -1 only those items with the change bit set are redrawn. When the routine is finished the change bits will have to be cleared.
qdosmsq/pe/vectors/mdraw.txt · Last modified: 2009/01/30 10:58 by norman