GN_Esp, Return an extended pointer to a system error message
Register parameters
RST 20H, DEFW $4C09
N:
A = system error code requesting a pointer to a string
OUT:
Fc = 0
Fz = 1, error is fatal
Fz = 0, useful error message
BHL = pointer to error message string
Registers changed after return:
A..CDE../IXIY same
.FB...HL/.... different Notes
The following is a list of messages produced by GN_Esp. All other values of A(in), and hence any error codes not in the list below, will give the message "Internal Error" and these errors are all fatal.
Return Code | Value | Message | Fatality | OZ release |
|---|---|---|---|---|
RC_ESC | $01 |
|
| V2.2 - V4.0 |
RC_TIM | $02 |
|
| V2.2 - V4.0 |
RC_UNK | $03 |
| Error is fatal | V2.2 - V4.0 |
RC_BAD | $04 |
| Error is fatal | V2.2 - V4.0 |
RC_MS | $05 |
| Error is fatal | V2.2 - V4.0 |
RC_NA | $06 |
| Error is fatal | V2.2 - V4.0 |
RC_ROOM | $07 |
|
| V2.2 - V4.0 |
RC_HAND | $08 |
| Error is fatal | V2.2 - V4.0 |
RC_EOF | $09 |
|
| V2.2 - V4.0 |
RC_FLF | $0A |
|
| V2.2 - V4.0 |
RC_OVF | $0B |
|
| V2.2 - V4.0 |
RC_SNTX | $0C |
|
| V2.2 - V4.0 |
RC_WRAP | $0D |
|
| V2.2 - V4.0 |
RC_PUSH | $0E |
|
| V2.2 - V4.0 |
RC_ERR | $0F |
| Error is fatal | V2.2 - V4.0 |
RC_TYPE | $10 |
| Error is fatal | V2.2 - V4.0 |
RC_PRE | $11 |
|
| V2.2 - V4.0 |
RC_ONF | $12 |
|
| V2.2 - V4.0 |
RC_RP | $13 |
|
| V2.2 - V4.0 |
RC_WP | $14 |
|
| V2.2 - V4.0 |
RC_USE | $15 |
|
| V2.2 - V4.0 |
RC_FAIL | $16 |
|
| V2.2 - V4.0 |
RC_IVF | $17 |
|
| V2.2 - V4.0 |
RC_FTM | $18 |
|
| V2.2 - V4.0 |
RC_EXIS | $19 |
|
| V2.2 - V4.0 |
RC_ADDR | $32 |
| Error is fatal | V2.2 - V4.0 |
RC_SIZE | $33 |
| Error is fatal | V2.2 - V4.0 |
RC_BANK | $34 |
| Error is fatal | V2.2 - V4.0 |
RC_FRM | $35 |
| Error is fatal | V2.2 - V4.0 |
RC_PAR | $36 |
|
| V2.2 - V4.0 |
RC_BTL | $37 |
|
| V4.7 |
RC_VOZ | $38 |
| Error is fatal | V5.0 |
RC_DVZ | $46 |
|
| V2.2 - V4.0 |
RC_TBG | $47 |
|
| V2.2 - V4.0 |
RC_NVR | $48 |
|
| V2.2 - V4.0 |
RC_LGR | $49 |
|
| V2.2 - V4.0 |
RC_ACL | $4A |
|
| V2.2 - V4.0 |
RC_EXR | $4B |
|
| V2.2 - V4.0 |
RC_BDN | $4C |
|
| V2.2 - V4.0 |
RC_DRAW | $66 |
|
| V2.2 - V4.0 |
RC_QUIT | $67 |
| Error is fatal | V2.2 - V4.0 |
RC_SUSP | $69 |
|
| V2.2 - V4.0 |
RC_VPL | $70 |
|
| V4.2 |
RC_BWR | $71 |
|
| V4.2 |
RC_BER | $72 |
|
| V4.2 |
RC_EPNE | $73 |
|
| V4.5 |
RC_NFE | $80 |
|
| V4.2 |
RC_NOZ | $81 |
|
| V4.2 |
Related calls
GN_Err, display an interactive error box
OS_Erc, get error context
OS_Erh, set error handler
OS_Esc, examine special condition