83Plus:BCALLs:402D

From WikiTI
Revision as of 17:22, 23 September 2009 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.