Z88 Developers' Notes
Contents   Contents of System Calls

OS_Erc, get error context

RST 20H, DEFB $72

IN:

     -
OUT:
     A = last error code
     B = resumption cycle
     C = dynamic id
     IX = reserved
     Fc = 0, always
Registers changed after return:
     ....DEHL/..IY same
     AFBC..../IX.. different
Notes:
Internal operating system usage.
BC, IX are reserved for future use.

Bugs:
 

Related calls:

GN_Err, display an interactive error box
GN_Esp, return an extended pointer to a system error message
OS_Erh, set error handler
OS_Esc, examine special condition