simh-testsetgenerator/H316
Mark Pizzolato 8c325db1ab Various Magtape Devices: Handle Coverity report of tape error status cases
Coverity flagged one magtape simulator for having fewer case breakouts
than the range of MTSE_x errors, after they were expanded for
MTSE_LEOT (listed as "V4 compatibility") and MTSE_RUNAWAY (for
Dave Bryan's implementation of erase and erase gap).

According to Dave, it turns out that MTSE_RUNAWAY can only be
returned if the magtape simulator supports and implements a density
specification and the ERASE function. The simulators Bob Supnik wrote
don't meet that criteria, so the expanded errors can't be returned.

Simply add a "default" case to the map logic returning SCPE_IERR for
unexpected cases.
2022-03-13 11:23:11 -07:00
..
tests H316: Add Bob Armstrong's Readme documentation for the IMP tests 2020-02-16 17:25:54 -08:00
h316_cpu.c H316: Compiler warning cleanup 2020-10-19 12:28:25 -07:00
h316_defs.h H316: Avoid name space collision for the global variable PC 2018-12-31 09:56:10 -08:00
h316_dp.c ALL: Correct help text in "SET <unit> LOCKED" MTAB entries 2021-04-19 15:22:15 -07:00
h316_fhd.c H316: Compiler warning cleanup 2020-10-19 12:28:25 -07:00
h316_hi.c H316: Call the host interface TX service routine. 2021-10-21 14:16:23 +02:00
h316_imp.c ALL: Massive 'const' cleanup 2016-05-15 15:25:33 -07:00
h316_imp.h H316: Call the host interface TX service routine. 2021-10-21 14:16:23 +02:00
h316_lp.c H316: Open LPT, PTP devices for append 2020-04-30 05:18:47 -07:00
h316_mi.c H316: Update error and warning messages to properly use SCP APIs 2020-02-16 17:30:20 -08:00
h316_mt.c Various Magtape Devices: Handle Coverity report of tape error status cases 2022-03-13 11:23:11 -07:00
h316_rtc.c H316: Call the host interface TX service routine. 2021-10-21 14:16:23 +02:00
h316_stddev.c H316, NOVA, PDP11, PDP8, PDP18B, KX10: Record Sequential updates consistently 2021-06-08 14:25:23 -07:00
h316_sys.c All: Declare sim_stop_messages as an array SCPE_BASE long 2020-09-02 15:56:07 -07:00
h316_udp.c H316: The UDP code doesn't need anything from h316_defs.h. 2021-11-01 18:17:46 +01:00