Showing changes from revision #1 to #2:
Added | Removed | Changed
Please ensure that Ticket #201 is referred to and its contents incorporated in this page. That ticket can then be closed, although IMO it should always be linked to from this page to explain the discrepancy from the PRMs. Thanks.
Entry | |
---|---|
R0 | Workspace pointer |
+0 PC at which the error occurred | |
+4 Error number | |
+8 Error message text |
Called by the default claimant of ErrorV when an error occurs.
This handler is entered in user mode with the workspace pointer in R0, as opposed to the conventional R12.
The block should allow for up to 260 bytes, 4 for the erroring program counter plus 256 for a standard RISC OS error block. Note that the printed PRM is vague in specifying a “256 byte error buffer”, so currently the kernel truncates the error message text to 252 bytes, however this should not be relied upon.