QDOS Internals

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

User Tools

Site Tools


Table of Contents


This trap uses a thing. This Trap cannot be used in the QDOS and SMSQE operating systems. Look at the Notes here for a solution.

Call ParametersReturn Parameters
D0.B$28D0.LError code.
D1.LJob ID D1.LJob ID.
D2.LSee notes. D2.LSee notes.
A0.LName of thing to use .A0.LPreserved.
A1.l A1.LSee notes.
A2.LSee notes.A2.LPointer to thing linkage.


Returns from the Thing's USE code and

ERR_NFThing not found.
ERR_NIExtension not found.


  • All registers not shown above are not used on entry and are preserved on exit.
  • Some parameters, including those in registers D2 and A2, may be required by the Thing to be USEd.
  • The return in A1.L is the address of the Thing or Extension (if the Thing is an Extension Thing).
  • For an Extension Thing D2 should be 0 or the required Extension ID.


None yet

qdosmsq/traps/trap_1/uthg.txt · Last modified: 2009/07/07 07:40 by norman