mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +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 @@
|
||||
/* pdp8_mt.c: PDP-8 magnetic tape simulator
|
||||
|
||||
Copyright (c) 1993-2011, Robert M Supnik
|
||||
Copyright (c) 1993-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 TM8E/TU10 magtape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
16-Feb-06 RMS Added tape capacity checking
|
||||
16-Aug-05 RMS Fixed C++ declaration and cast problems
|
||||
18-Mar-05 RMS Added attached test to detach routine
|
||||
@@ -558,6 +559,7 @@ switch (st) {
|
||||
|
||||
case MTSE_FMT: /* illegal fmt */
|
||||
case MTSE_UNATT: /* unattached */
|
||||
default: /* unknown error */
|
||||
mt_sta = mt_sta | STA_ILL | STA_ERR;
|
||||
case MTSE_OK: /* no error */
|
||||
return SCPE_IERR; /* never get here! */
|
||||
@@ -590,9 +592,6 @@ switch (st) {
|
||||
case MTSE_WRP: /* write protect */
|
||||
mt_sta = mt_sta | STA_ILL | STA_ERR; /* illegal operation */
|
||||
break;
|
||||
|
||||
default: /* shouldn't happen */
|
||||
return SCPE_IERR;
|
||||
}
|
||||
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user