Difference between revisions of "83Plus:BCALLs:402D"

From WikiTI
Jump to: navigation, search
(New page: sysErrHandler sysErrHandler 402D - sysErrHandler == Synopsis == '''Officia...)
(No difference)

Revision as of 17:22, 23 September 2009

Synopsis

Official Name: sysErrHandler

BCALL Address: 402D

The main system error handler.

Inputs

Outputs

  • None

Destroys

  • Everything (this routine does not return)

Comments

This is the default system error handler, which will handle errors if no other error handler has been set. It simply resets the hardware stack, loads the "cxError" context, and jumps to Mon.

Programs should never call or jump to this routine; I have no idea why it's a B_CALL at all. If you want to raise a system error, use JError, JErrorNo, or one of the specialized error routines.