qdosmsq:vectors:werms

Differences

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

Link to this comparison view

qdosmsq:vectors:werms [2010/10/26 16:04] (current)
george.gwilt created
Line 1: Line 1:
 +====== UT_ERR/​UT_WERMS - Vector $CC======
 +This vector prints an error message to a channel.
 +
 +^Call Parameters^^Return Parameters^^
 +|D0.L|Error code|D0.L|Preserved.|
 +|A0.L|Channel ID|A0.L|Preserved.|
 +
 +
 +===== Errors =====
 +No errors are returned by this vector call.
 +
 +
 +===== Notes =====
 +  * All registers not shown above are not used on entry and are preserved on exit.
 +  * This must not be called in supervisor mode unless A0 is zero.
 +  * If D0.L is positive no action is taken.
 +
 +===== Example =====
 +The example below shows the use of this trap call to print the error code in D0.L to the channel whose ID is in A0.L.
 +<​code>​
 +        movea.w UT_ERR,​A2 ​      ; Vector address $CC.
 +       ​ jsr (a2) ;​ Make the call
 +</​code>​
 +
  
  • qdosmsq/vectors/werms.txt
  • Last modified: 2010/10/26 16:04
  • by george.gwilt