mirror of
https://github.com/simh/simh.git
synced 2026-04-29 05:05:14 +00:00
All Tape DEVICES: Added extra case points for new MTSE definitions
This commit is contained in:
committed by
Mark Pizzolato
parent
9b2899cfef
commit
5d04198757
@@ -1,6 +1,6 @@
|
||||
/* pdp11_ta.c: PDP-11 cassette tape simulator
|
||||
|
||||
Copyright (c) 2007-2016, 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 @@
|
||||
|
||||
ta TA11/TU60 cassette tape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
10-Oct-16 RMS Fixed bad register definitions (Mark Pizzolato)
|
||||
23-Oct-13 RMS Revised for new boot setup routine
|
||||
06-Jun-13 RMS Reset must set RDY (Ian Hammond)
|
||||
@@ -527,6 +528,7 @@ switch (st) {
|
||||
case MTSE_UNATT: /* unattached */
|
||||
ta_cs |= TACS_ERR|TACS_CRC;
|
||||
case MTSE_OK: /* no error */
|
||||
default: /* unknown error*/
|
||||
return SCPE_IERR; /* never get here! */
|
||||
|
||||
case MTSE_TMK: /* end of file */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_tm.c: PDP-11 magnetic tape simulator
|
||||
|
||||
Copyright (c) 1993-2020, 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 @@
|
||||
|
||||
tm TM11/TU10 magtape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
23-Mar-20 RMS Unload should call sim_tape_detach (Mark Pizzolato)
|
||||
23-Oct-13 RMS Revised for new boot setup routine
|
||||
16-Feb-06 RMS Added tape capacity checking
|
||||
@@ -537,6 +538,7 @@ switch (st) {
|
||||
case MTSE_UNATT: /* not attached */
|
||||
tm_sta = tm_sta | STA_ILL;
|
||||
case MTSE_OK: /* no error */
|
||||
default: /* unknown error */
|
||||
return SCPE_IERR;
|
||||
|
||||
case MTSE_TMK: /* tape mark */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_tq.c: TMSCP tape controller simulator
|
||||
|
||||
Copyright (c) 2002-2018, Robert M Supnik
|
||||
Copyright (c) 2002-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,8 @@
|
||||
|
||||
tq TQK50 tape controller
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
31-Jan-21 RMS Revised for new register macros
|
||||
28-May-18 RMS Changed to avoid nested comment warnings (Mark Pizzolato)
|
||||
23-Oct-13 RMS Revised for new boot setup routine
|
||||
17-Mar-13 RMS Fixed bug in ABORT link walk loop (Dave Bryan)
|
||||
@@ -459,7 +461,7 @@ REG tq_reg[] = {
|
||||
{ DRDATA (QTIME, tq_qtime, 24), PV_LEFT + REG_NZ },
|
||||
{ DRDATA (XTIME, tq_xtime, 24), PV_LEFT + REG_NZ },
|
||||
{ DRDATA (RWTIME, tq_rwtime, 32), PV_LEFT + REG_NZ },
|
||||
{ BRDATA (PKTS, tq_pkt, DEV_RDX, 16, TQ_NPKTS * (TQ_PKT_SIZE_W + 1)) },
|
||||
{ XRDATA (PKTS, tq_pkt, DEV_RDX, 16, 0, TQ_NPKTS * (TQ_PKT_SIZE_W + 1), sizeof (int16), sizeof (int16)) },
|
||||
{ DRDATA (DEVTYPE, tq_typ, 2), REG_HRO },
|
||||
{ DRDATA (DEVCAP, drv_tab[TQU_TYPE].cap, T_ADDR_W), PV_LEFT | REG_HRO },
|
||||
{ GRDATA (DEVADDR, tq_dib.ba, DEV_RDX, 32, 0), REG_HRO },
|
||||
@@ -1447,6 +1449,10 @@ switch (st) {
|
||||
case MTSE_WRP:
|
||||
uptr->flags = uptr->flags | UNIT_SXC;
|
||||
return ST_WPR;
|
||||
|
||||
default:
|
||||
uptr->flags = uptr->flags | UNIT_SXC;
|
||||
return SCPE_IERR;
|
||||
}
|
||||
|
||||
return ST_SUC;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp11_ts.c: TS11/TSV05 magnetic tape simulator
|
||||
|
||||
Copyright (c) 1993-2014, 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 @@
|
||||
|
||||
ts TS11/TSV05 magtape
|
||||
|
||||
26-Mar-22 RMS Added extra case points for new MTSE definitions
|
||||
27-Oct-14 RMS Fixed bug in read forward with byte swap
|
||||
23-Oct-13 RMS Revised for new boot setup routine
|
||||
19-Mar-12 RMS Fixed declaration of cpu_opt (Mark Pizzolato)
|
||||
@@ -460,6 +461,7 @@ switch (st) {
|
||||
msgxs0 = msgxs0 | XS0_MOT; /* tape has moved */
|
||||
case MTSE_INVRL: /* invalid rec lnt */
|
||||
case MTSE_IOERR: /* IO error */
|
||||
default: /* unknown error */
|
||||
msgxs1 = msgxs1 | XS1_UCOR; /* uncorrectable */
|
||||
return (XTC (XS0_RLS, TC6)); /* pos lost */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user