QDOS Internals

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

User Tools

Site Tools


Table of Contents


This trap frees a Thing. This Trap cannot be used in the QDOS and SMSQ/E operating systems. Look at the Notes here for a solution.

Call ParametersReturn Parameters
D0.B$29D0.LError code.
D1.LUser Job ID.D1.LPreserved.
D2.LParameter.D2.LReturned result.
A0.LPointer to Thing name.A0.LPreserved.
A2.LParameterA2.LReturned result.


ERR_NFThing not found.

There may be other errors returned by the Thing's FREE code.


  • All registers not shown above are not used on entry and are preserved on exit.
  • If the Thing is freed on behalf of a job other than calling job, then the user job is removed.
  • The Thing may require parameters in any or all of D2, D3, A1 and A2.
qdosmsq/traps/trap_1/fthg.txt · Last modified: 2010/11/06 13:40 by george.gwilt