mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
SCP: Allow device service routines to return simulator specific error codes
This commit is contained in:
parent
86114729de
commit
fa10e1de49
1
scp.c
1
scp.c
@ -10654,6 +10654,7 @@ do {
|
||||
AIO_EVENT_COMPLETE(uptr, reason);
|
||||
bare_reason = SCPE_BARE_STATUS (reason);
|
||||
if ((bare_reason != SCPE_OK) && /* Provide context for unexpected errors */
|
||||
(bare_reason >= SCPE_BASE) &&
|
||||
(bare_reason != SCPE_STOP) &&
|
||||
(bare_reason != SCPE_STEP) &&
|
||||
(bare_reason != SCPE_EXPECT) &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user