UT_ERR0/UT_WERSY - Vector $CA
This vector writes an error message to channel 0.
Call Parameter | Return Parameter | ||
---|---|---|---|
D0.L | Error code | D0.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 vector can be used in supervisor mode.
- If D0.L is positive no action is taken. Otherwise the error message corresponding to the value in D0.L is sent to channel 0 with timeout 0. If this fails an attempt is made to send the message to channel $00010001.
Example
The example below shows how to use this vector. D0.L is assumed to contain the error code.
movea.l ut_err0,a2 jsr (a2)