QDOS Internals

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

User Tools

Site Tools


qdosmsq:traps:trap_1:reres

Table of Contents

MT_RERES (QDOS Only)

This trap deallocates the entire resident procedures area.

Call ParametersReturn Parameters
D0.B$0FD0.LCorrupted?
D1.LUnused. D1.L Corrupted.
D2.LUnused. D2.L Corrupted.
D3.LUnused. D3.L Corrupted.
A0.LUnused. A0.L Corrupted.
A1.LUnused. A1.L Corrupted.
A2.LUnused. A2.L Corrupted.
A3.LUnused. A3.L Corrupted.

Errors

ERR_NCNot complete (usually means some jobs have been EXEC'd.)

Notes

  • All registers not shown above are not used on entry and are preserved

on exit.

  • This trap has no equivalent under SMS, probably due to the serious danger of crashing the system.
  • The RESPR area is completely removed by this trap - if there are no jobs running - but, as some device drivers allocate RESPR memory, this can cause subsequent system crashes.
  • Some versions of QDOS actually allocate more space in the resident procedures area rather than releasing all of it!
  • Some things in life are simply best avoided!
qdosmsq/traps/trap_1/reres.txt · Last modified: 2009/01/30 12:00 by norman