mirror of
https://github.com/simh/simh.git
synced 2026-02-03 07:11:22 +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 @@
|
||||
/* sigma_mt.c: Sigma 732X 9-track magnetic tape
|
||||
|
||||
Copyright (c) 2007-2017, Robert M. Supnik
|
||||
Copyright (c) 2007-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 7320 and 7322/7323 magnetic tape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
13-Mar-17 RMS Annotated fall through in switch
|
||||
|
||||
Magnetic tapes are represented as a series of variable records
|
||||
@@ -477,6 +478,7 @@ switch (st) {
|
||||
case MTSE_FMT: /* illegal fmt */
|
||||
case MTSE_UNATT: /* not attached */
|
||||
case MTSE_WRP: /* write protect */
|
||||
default: /* unknown error*/
|
||||
chan_set_chf (mt_dib.dva, CHF_XMME); /* set err, fall through */
|
||||
case MTSE_OK: /* no error */
|
||||
chan_uen (mt_dib.dva); /* uend */
|
||||
@@ -508,9 +510,6 @@ switch (st) {
|
||||
uptr->UST |= MTDV_BOT; /* set BOT */
|
||||
chan_uen (mt_dib.dva); /* uend */
|
||||
return CHS_INACTV;
|
||||
|
||||
default: /* shouldn't happen */
|
||||
return SCPE_IERR;
|
||||
} /* end switch */
|
||||
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user