mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
All Tape DEVICES: Added extra case points for new MTSE definitions
Merge changes from v3.12-2
This commit is contained in:
committed by
Mark Pizzolato
parent
12e51eafaf
commit
1182157a4d
@@ -1,6 +1,6 @@
|
||||
/* id_mt.c: Interdata magnetic tape simulator
|
||||
|
||||
Copyright (c) 2001-2008, Robert M Supnik
|
||||
Copyright (c) 2001-2022, Robert M Supnik
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
mt M46-494 dual density 9-track magtape controller
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
16-Feb-06 RMS Added tape capacity checking
|
||||
18-Mar-05 RMS Added attached test to detach routine
|
||||
07-Dec-04 RMS Added read-only file support
|
||||
@@ -425,6 +426,7 @@ switch (st) {
|
||||
|
||||
case MTSE_FMT: /* illegal fmt */
|
||||
case MTSE_UNATT: /* not attached */
|
||||
default: /* unknown error */
|
||||
mt_sta = mt_sta | STA_ERR;
|
||||
case MTSE_OK: /* no error */
|
||||
return SCPE_IERR;
|
||||
@@ -454,9 +456,6 @@ switch (st) {
|
||||
case MTSE_BOT: /* reverse into BOT */
|
||||
uptr->UST = uptr->UST | STA_EOT; /* set err */
|
||||
break;
|
||||
|
||||
default: /* shouldn't happen */
|
||||
return SCPE_IERR;
|
||||
} /* end switch */
|
||||
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user