QDOS Internals

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

User Tools

Site Tools


Table of Contents


This trap sets printer translates.

Call ParametersReturn Parameters
D0.B$24D0.LError code.
D1.LPrinter translate code.D1.LCorrupted.
D2.LMessage table address/0D2.LPreserved.


ERR_BPD2 odd or not a translate table.


  • All registers not shown above are not used on entry and are preserved on exit.
  • If D2 is non zero and points to an address containing $4AFB this is set as the user translate table. Translate is enabled or disabled according as D1 is 1 or 0.
  • If D2 is zero, MT_TRA and SMS_TRNS behave slightly differently. For MT_TRA the value in D1 enables or disables translate as described above. SMS_TRNS behaves as SMS_PSET.
qdosmsq/traps/trap_1/trns.txt · Last modified: 2010/11/05 16:30 by george.gwilt