/
OS_Erh, Set error handler
OS_Erh, Set error handler
Register parameters
RST 20H, DEFB $75
IN: A = 0, always (call level, other values reserved for system use) HL = address of new error handler HL = 0, use default system error handler (in lower 8K of segment 0) OUT: Fc = 0, always A = old call level HL = address of old error handler Registers changed after return: ..BCDE../IXIY same AF....HL/.... different
Notes
Make sure that the error handler is not paged out of the corresponding segment, when calling OZ. If an error occurs random information will be executed, since the original code of the particular bank has been paged out.
Related system calls
GN_Err, display an interactive error box
GN_Esp, return an extended pointer to a system error message
OS_Erc, get error context
OS_Esc, examine special condition
, multiple selections available,
Related content
OS_Erc, Get error context
OS_Erc, Get error context
More like this
GN_Esp, Return an extended pointer to a system error message
GN_Esp, Return an extended pointer to a system error message
More like this
GN_Nln, Send newline (CR/LF) to standard output
GN_Nln, Send newline (CR/LF) to standard output
More like this
OS_Axp, Allocate explicit page
OS_Axp, Allocate explicit page
More like this
GN_Err, Display an interactive error box
GN_Err, Display an interactive error box
More like this
OS_Mop, Open memory (allocate memory pool)
OS_Mop, Open memory (allocate memory pool)
More like this