This shows you the differences between two versions of the page.

Link to this comparison view

qdosmsq:traps:trap_1:trns [2010/11/05 16:30] (current)
george.gwilt created
Line 1: Line 1:
 +====== MT_TRA/SMS_TRNS ======
 +This trap sets printer translates.
 +^Call Parameters^^Return Parameters^^
 +|D0.B|$24|D0.L|Error code.|
 +|D1.L|Printer translate code.|D1.L|Corrupted.|
 +|D2.L|Message table address/0|D2.L|Preserved.|
 +===== Error =====
 +|ERR_BP|D2 odd or not a translate table.|
 +===== Notes =====
 +  * 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 [[pset|SMS_PSET]].
  • qdosmsq/traps/trap_1/trns.txt
  • Last modified: 2010/11/05 16:30
  • by george.gwilt