mirror of
https://github.com/simh/simh.git
synced 2026-02-28 17:20:20 +00:00
SCP: Allow device service routines to return simulator specific error codes
This commit is contained in:
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) &&
|
||||
|
||||
Reference in New Issue
Block a user