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 @@
|
||||
/* nova_mta.c: NOVA magnetic tape simulator
|
||||
|
||||
Copyright (c) 1993-2017, 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 @@
|
||||
|
||||
mta magnetic tape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
13-Mar-17 RMS Annotated fall through in switch
|
||||
04-Jul-07 BKR fixed boot code to properly boot self-boot tapes;
|
||||
boot routine now uses standard DG APL boot code;
|
||||
@@ -514,6 +515,7 @@ switch (st) {
|
||||
case MTSE_FMT: /* illegal fmt */
|
||||
mta_upddsta (uptr, uptr->USTAT | STA_WLK | STA_RDY);
|
||||
/* fall through */
|
||||
default:
|
||||
case MTSE_UNATT: /* unattached */
|
||||
mta_sta = mta_sta | STA_ILL;
|
||||
/* fall through */
|
||||
@@ -552,9 +554,6 @@ switch (st) {
|
||||
mta_upddsta (uptr, uptr->USTAT | STA_WLK | STA_RDY);
|
||||
mta_sta = mta_sta | STA_ILL; /* illegal operation */
|
||||
break;
|
||||
|
||||
default: /* shouldn't happen */
|
||||
return SCPE_IERR;
|
||||
}
|
||||
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user