QDOS Internals

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

User Tools

Site Tools


qdosmsq:vectors:werms

UT_ERR/UT_WERMS - Vector $CC

This vector prints an error message to a channel.

Call ParametersReturn Parameters
D0.LError codeD0.LPreserved.
A0.LChannel IDA0.LPreserved.

Errors

No errors are returned by this vector call.

Notes

  • All registers not shown above are not used on entry and are preserved on exit.
  • This must not be called in supervisor mode unless A0 is zero.
  • If D0.L is positive no action is taken.

Example

The example below shows the use of this trap call to print the error code in D0.L to the channel whose ID is in A0.L.

        movea.w UT_ERR,A2       ; Vector address $CC.
       	jsr	(a2)		; Make the call
qdosmsq/vectors/werms.txt · Last modified: 2010/10/26 15:04 by george.gwilt