QDOS Internals

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

User Tools

Site Tools



This vector writes an error message to channel 0.

Call ParameterReturn Parameter
D0.LError codeD0.LPreserved.


No errors are returned by this vector call.


  • All registers not shown above are not used on entry and are preserved on exit.
  • This vector can be used in supervisor mode.
  • If D0.L is positive no action is taken. Otherwise the error message corresponding to the value in D0.L is sent to channel 0 with timeout 0. If this fails an attempt is made to send the message to channel $00010001.


The example below shows how to use this vector. D0.L is assumed to contain the error code.

      movea.l    ut_err0,a2
      jsr        (a2)
qdosmsq/vectors/wersy.txt · Last modified: 2010/10/26 14:53 by george.gwilt