Commit graph

479 commits

Author SHA1 Message Date
Mark Pizzolato
7cd9b89546 PDP11, VAX: Fix VH output rate throttling as buffer fills
As reported in #588
2018-06-14 00:31:01 -07:00
Mark Pizzolato
0a7c9de1e1 TMXR: Change rx and tx delta values to be usecs including the speed factor 2018-06-13 04:51:34 -07:00
Mark Pizzolato
6b361a9faf PDP11, PDP15, UC15: Merge simh v3.10 functionality from Supnik-Current branch 2018-06-04 10:43:00 -07:00
Mark Pizzolato
cc6140fd31 I1401, VAX, PDP11: Fix nested comments consistently with Supnik-Current branch 2018-06-03 20:59:36 -07:00
Mark Pizzolato
a3c40cd290 PDP11, Qbus VAX: Avoid incorrect packet length when multiple RBDLs are used
As discussed in #563
2018-05-15 22:03:12 -07:00
Mark Pizzolato
54f46651fe PDP11, VAX: Fix Coverity identified debug path null pointer dereference 2018-04-17 23:52:28 -07:00
Mark Pizzolato
1741ae29fa PDP11, VAX: Add MSCP Media ID encoding/decoding details (Johnny Billquist) 2018-04-12 14:02:27 -07:00
Mark Pizzolato
5a9263c0cf PDP11, VAX: Add settable unit numbers for TQ drives 2018-04-12 13:15:48 -07:00
Mark Pizzolato
5a18d31449 PDP11, VAX: Add settable unit numbers for RQ drives 2018-04-11 03:12:12 -07:00
Mark Pizzolato
d356274d38 PDP10: Fix build warning when compiling DZ module 2018-04-10 10:24:49 -07:00
Mark Pizzolato
cc7721b96e PDP11: Allow DZ devices Unibus and Qbus to have correct number of lines 2018-04-09 18:05:53 -07:00
Mark Pizzolato
e7e1a9cc2c VAX750: Avoid unit array overrun during TU58 init when only 1 unit exists.
As discussed in #546
2018-04-02 09:38:27 -07:00
Mark Pizzolato
f5ca960b82 TMXR: Disable ATTACH speed for devices which program port speed 2018-03-13 02:14:06 -07:00
Bob Supnik
e270da1530 GRI, PDP11, PDP8, VAX: Misc formatting and typo cleanups 2018-03-09 14:04:19 -08:00
Phil Budne
b11fbf6cd4 DISPLAY: Update display code to support DEC Type 340, and 36 switches
Only interface code to Type 340 is for Richard Cornwell's KA10
(but could be used on PDP-1/4/7/9 as well)
2018-02-17 14:37:10 -05:00
Mark Pizzolato
55e211dd3d PDP11, DZ: Properly set CSR bits character output processing.
Declare output unit to facilitate proper character output completion
scheduling.
Proper completion scheduling removes the need to sleeping waiting for
character I/O completion.
This should fix #521 and #504
2018-02-13 01:52:10 -08:00
Mark Pizzolato
17e72adb93 SCP: Display HELP <dev> SET help text for modifiers that require values 2018-02-02 05:12:22 -08:00
Bob Supnik
c6fb3285a5 PDP11, VAX780: Fix TM03 Read tape mark must set Massbus EXC 2017-12-28 16:14:24 -08:00
Mark Pizzolato
8e5025fdcf VAX, MicroVAX2: Fix compiler warning with GCC & clang 2017-12-18 15:29:15 -08:00
Mark Pizzolato
bdddcb4004 VAX, MicroVAX2: Add display of ROM and NVR address ranges 2017-12-18 05:10:27 -08:00
Bob Supnik
3b67a8658d PDP11, All VAX: Change ERROR in CR device translation tables to avoid conflicts 2017-06-04 09:56:22 -07:00
Mark Pizzolato
47c917a55d PDP11, VAX: Fix stray TABs which crept in over time 2017-04-26 15:42:36 -07:00
Matt Burke
4b41b3372f All VAX, PDP11, PDP10: Minor fixes to DZ device 2017-04-26 15:34:01 -07:00
Mark Pizzolato
1a8bc50130 PDP11, Qbus VAX: Add delay when starting XQ device in DELQA-T mode 2017-04-24 13:25:10 -07:00
Mark Pizzolato
c4931bbd30 PDP11: Fix error path check on disk I/O status 2017-04-13 21:55:40 -07:00
Mark Pizzolato
8c5305c857 PDP11: Fix rounding up sector count computation
Fix #412, #424
2017-04-13 20:42:47 -07:00
Mark Pizzolato
cd8e9eb5da PDP11: Properly handle reads of less than 1 sector
Fix #412, #424
2017-04-13 18:20:01 -07:00
Mark Pizzolato
c638950211 PDP11: Properly handle reads of less than 1 sector
Fix #412, #424
2017-03-26 06:52:21 -07:00
Bob Supnik
3eb4598456 SCP: Removed KBD_WAIT and friends 2017-03-20 22:33:38 -07:00
Bob Supnik
62879beb70 PDP1, PDP8, PDP18B, PDP11: Fixed dt_seterr to clear successor states
For the PDP11, this includes deferring the setting of DONE on an error, allowing RSTS V4 to work correctly.

There was a minor (possibly only theoretical) bug in dt_seterr as well.
dt_seterr is supposed to stop the drive. If the drive is accelerating, at
speed, or stopped, it works fine. But if the drive is decelerating, it did
not clear out the "successor" states. In theory, the drive could be in the
middle of reversing - that is, there are successor states of accelerating
(in reverse) and at speed. So the successor states need to be cleared,
or the drive won't actually stop.

The fifth DECtape controller (the PDP8's TD8E) is much simpler and
doesn't have the problem.
2017-03-15 10:04:52 -07:00
Bob Supnik
e7a38cc56f PDP11: Fixed spurious interrupt when setting GO
The code wasn't handling interrupts correctly when TCCM was written. In
particular, if the GO bit clears DONE, the code looked for the "SET IE" case
too soon and didn't clear the interrupt that was incorrectly generated.
The new code factors "GO" into the calculation.
2017-03-14 09:59:14 -07:00
Bob Supnik
d1768d2771 PDP10, PDP11, PDP18B, PDP8: Annotate switch case fall through (COVERITY) 2017-03-13 10:59:06 -07:00
Mark Pizzolato
4da04e06ce PDP11, VAX: Fix RQ device potential memory reference errors (COVERITY) 2017-03-12 19:41:23 -07:00
Mark Pizzolato
14b9265af3 PDP11, VAX: Cleaned MSCP/TMSCP packet queues to be uint16 2017-03-12 19:06:46 -07:00
Mark Pizzolato
aa0924816a PDP11, VAX: Fix RQ device Endian compatibility problem (COVERITY) 2017-03-11 22:24:41 -08:00
Mark Pizzolato
c4e963921b PDP11, VAX: Fix TQ device Endian compatibility problem (COVERITY) 2017-03-11 22:23:38 -08:00
Mark Pizzolato
c6ed19aec3 PDP11, VAX780: XU device fixes (COVERITY)
- Fix potential beyond array bounds memory references
- Fix layout of Read System Id Parameter block (diagnostics)
2017-03-11 16:04:56 -08:00
Mark Pizzolato
235a39714c PDP11, VAX: XQ device fixes (COVERITY)
- Fix potential beyond array bounds memory references
- Fix MOP protocol packet parsing
2017-03-11 16:00:00 -08:00
Mark Pizzolato
009e5061e2 PDP11, PDP10: Fix DUP Modem signal change logic (COVERITY) 2017-03-10 11:55:30 -08:00
Mark Pizzolato
7af3e357f0 PDP11, VAX: Fix debug output state reference (COVERITY) 2017-03-10 11:55:30 -08:00
Sergey Svishchev
2bf538f59c PDP11, All VAX: fix CID: 1415573, 1415452 "Operands don't affect result"
Character length of 5 is stored as 0.
2017-03-09 18:33:40 -08:00
Sergey Svishchev
2e2df8fc2d PDP11, All VAX: fix CID: 1415818 "Uninitialized scalar variable" 2017-03-09 17:20:00 -08:00
Sergey Svishchev
4bee16578a PDP11, All VAX: fix CID: 1415538, 1415766 ("Dereference before null check") 2017-03-09 17:19:09 -08:00
Bob Supnik
b41d10f189 PDP11, PDP10, VAX780: CR11 is BR6, CD11 is BR4 2017-03-07 09:42:37 -08:00
Mike Hill
4c746682f1 PDP11: Correct the address of MMR3 in a comment 2017-03-03 05:01:03 +01:00
Mark Pizzolato
1e981e0d64 PDP11: Reworked RH to device mapping for proper static address assignment
Operating systems and boot driver code presume that each Massbus
device will always be at a specific fixed address and use a specific fixed vector.
The prior implementation assigned the first active Massbus device to RHA
and followed in order for subsequent devices.  This could leave devices at
addresses and vectors that software or boot drivers wouldn't expect.

The problem which was originally reported in #301 should now be properly
solved.  As a consequence of the need to have fixed addresses and vectors,
some combinations of devices can not coexist in a system without causing
conflicts with each other.  TM and TU have conflicting interrupts.  TM and
TS have conflicting addresses and interrupts.
2017-02-23 12:26:39 -08:00
Mike Hill
f9cfae0c00 PDP11: Fix RH address range disappearing after disable/enable of RP/TU/RS
As discussed in #396
2017-02-20 14:21:24 +01:00
Mike Hill
7f2c7480ef PDP11: Fix PDP-11 boot code for TDCn where n>0 (TU58)
As discussed in #401
2017-02-14 10:57:29 -08:00
Bob Supnik
5233af7c89 PDP11: Fixed RF device CSR address comments in boot code 2017-02-13 08:29:42 -08:00
Paul Koning
d112c22f5e PDP11: Fix setting of CSR address in RF11 boot command. 2017-02-12 15:08:26 -05:00