1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

247 Commits

Author SHA1 Message Date
Timothe Litt
1926e9d6a9 Correct IOLN for DMP, DMV
Sigh.
2013-07-11 18:10:54 -04:00
Timothe Litt
e3b885505f Merge branch 'KDP' of http://github.com/tlhackque/simh into KDP
Conflicts:
	PDP11/pdp11_dmc.c
2013-07-11 16:04:40 -04:00
Timothe Litt
52389b7a88 DMC, DUP: IOLN in DIB 2013-07-11 15:50:23 -04:00
Timothe Litt
fd3eb2e952 Merge branch 'master' into KDP 2013-07-11 15:45:20 -04:00
Timothe Litt
91c7d26095 SHOW IOSPACE, again
Show IOSPACE doesn't always get the number of devices right due to device creativity.

o The distinction between UNIT and DEVICE has blurred
o MUX devices merge several physical devices into one device/unit
o Dynamic device sizing has made things more volatile.

This edit solves the problem for SHOW IOSPACE by adding an (optional) word to the DIBs.
The word contains the amount of IO space consumed by each instance of the physical device that's being emulated.
E.G., if it's a DZ11, the device is the DZ11 module, or 8 lines, even though the MUX device may support 32.

This enables SHOW IOSPACE to determine the number of physical devices being emulated, which is what folks need when configuring software.  The word may have other uses - in a generic dynamic device sizing routine - which is why the amount of IOSPACE per device was chosen rather than the 'number of physical devices.'

The edit should not make any existing device regress.  If the new word (ulnt) is zero (not initialized), SHOW IOSPACE will default to the number of units in the device, or if there's no device (CPUs), 1 as before.  If it is present, the number of devices is the calculated as total allocation/allocation-per-device.

The edit updates all the devices that seem to require this treatment, and all the processors that define the UNIBUS/QBUS DIBs.
2013-07-11 15:39:15 -04:00
Timothe Litt
a5ef1ba2e6 PDP10/11: Include DUPs and KMCs
For the 11, include 2 KMCs, 0 initially enabled

For the 10, include 1 KMC and 4 DUPs.  The KMC is not initially enabled.

The -10 only supports 2 DUPs, but I have a small patch that will allow it to run 4.
2013-07-11 12:10:53 -04:00
Mark Pizzolato
95e54dc60e Merge remote-tracking branch 'origin/master' 2013-07-10 12:04:23 -10:00
Mark Pizzolato
1852f74bba DMC11 Rework
- Reworked the pdp11_dmc implementation to use the TMXR library for network I/O.
- Removed the need for a Primary or Secondary mode describing a DMC line setup/operation.
- Added additional unit to perform I/O polling activities to the DMC and DMP/DMV devices.
- Added Modem status information describing the link state to the register information provided.
- Added a command out queue to pass status information to the host.
2013-07-10 11:59:45 -10:00
Timothe Litt
07432b7272 DUP: Remove redundant transmit packet trace
The XMT trace is done in ddcmp_tmxr_put_lacket_ln, and is redundant in dup_put_msg_bytes.
2013-07-10 13:01:53 -04:00
Timothe Litt
06ec621754 DUP: Modem change bits
The modem change bits are specified to:
  o Reset when RXCSR is read, on bus init and device reset.
  o Set when modem signals change

This corrects the implementation.  Previously, the change bits were both set and cleared whenever modem status was polled, which happens every dup_svc poll.
2013-07-10 12:58:46 -04:00
Timothe Litt
6998276aec DUP: Add show dup connections
It's useful to know DUP connection state.
2013-07-10 12:46:33 -04:00
Timothe Litt
e9f4c2e037 Merge branch 'master' into KDP 2013-07-10 06:20:53 -04:00
Timothe Litt
7d4481659e DDCMP Trace enhancements
o Decode Link as Q & S flags
o Decode NAK reasons as text
o Make decode strings/pointers const
2013-07-09 06:49:29 -04:00
Timothe Litt
066e192db2 KDP infrastructure
Add # units/devices to show iospace.  For the devices that use units to represent multiple CSR allocations, that helps make sense of the table.

Correct the KDP and DMC autoconfigure table for the 11/VAX.

Correct the DMC device entries in pdp11_sys to match Mark's versions.
2013-07-08 18:46:52 -04:00
Mark Pizzolato
071b8e5cd0 Fix attach help for pdp11_dl (reported by Reindert Voorhorst) 2013-07-08 06:17:08 -10:00
Timothe Litt
317efadcdc DUP: Fix byte writes to odd addresses
Typo.
2013-07-08 09:38:59 -04:00
Timothe Litt
6a9c60c7e7 Fix CR builds
On platforms where the translation code default is dynamic, the default table pointer can't be const.

Remove const from the table pointer.
2013-07-08 07:22:29 -04:00
Timothe Litt
cd86bc5448 Restore Mark's DMC work from previous repo 2013-07-06 11:16:12 -04:00
Timothe Litt
fb80131c2e Merge branch 'master' into KDP
Bring all master changes, including KDP infrastructure, into KDP
2013-07-05 07:04:59 -04:00
Timothe Litt
faf77b008a Merge Mark's new pdp11_dup from previous repository 2013-07-05 01:00:10 -04:00
Timothe Litt
edf467ad0a KMC11-A/DUP (KDP) baseline 2013-07-05 00:54:05 -04:00
Timothe Litt
c2b8523394 PDP-11/VAX NPR to IOSPACE 2013-07-05 00:50:31 -04:00
Timothe Litt
0cc3783711 PDP-11/VAX Update: NPR to/from IO Space
Matches PDP-10 change.  Necessary for KDP, harmless otherwise.
2013-07-05 00:48:10 -04:00
Timothe Litt
4497bba48f PDP-11/VAX update: SHOW IOSPACE
Teach SHOW IOSPACE to output vector and BR addresses as well as CSR addresses.
2013-07-05 00:23:33 -04:00
Timothe Litt
1bfc2bc57e PDP-10 update: CD20
Make the card reader work on TOPS-10 and TOPS-20.
Augmented Image ECO was not implemented.
Simplify UI by defining commands for the various options/models emulated based on the simulator being built.
Document, and make the help conditional on model where that reduces clutter.
Deal with <CR><LF> reading ASCII files (file is opened 'rb' in scp's attach ; it shouldn't be.
Add translation support for DEC 026/029 full 7-bit ASCII, an ANSI standard & used by TOPS-10/20.
Deliver EOF at the correct time(s).
Preliminary support for update to card image spec being negotiated with the author.
2013-07-05 00:16:11 -04:00
Mark Pizzolato
fa0086ab74 change QVSS device to autoconfigure its vector so other autoconfigured devices get correct vector assignments when the QVSS device is enabled 2013-07-01 09:47:54 -10:00
Mark Pizzolato
b3a9a0d79c Add sim_video and VAX QVSS (VCB01) Monochrome Video Board from Matt Burke 2013-06-12 17:10:23 -07:00
Mark Pizzolato
feeea1e9d2 Remove unused definitions 2013-06-12 16:01:44 -07:00
Mark Pizzolato
43e5647e96 Fix short block writes on RK06/RK07 devices to write zero filled buffer data. (Oleg Safiullin) 2013-06-10 05:09:45 -07:00
Mark Pizzolato
2656ae5a56 Made a pretty print pass across the code to standardize braces indentation to normal simh conventions 2013-06-08 08:20:09 -07:00
Mark Pizzolato
266447ae63 Added logic to detect DCD/DSR transitions and a placeholder where this detail should be reported to the OS. 2013-06-08 07:54:51 -07:00
Mark Pizzolato
eb921d2ea4 Fix bug in PDP11 SET CPU <model> which inadvertently disabled some devices improperly. - Bob Supnik 2013-06-07 18:20:59 -07:00
Mark Pizzolato
a145d5362b CAPS11 now runs on SimH. The key bug was in the reset routine. Change by Bob Supnik.
Thanks to Ian Hammond, Lou Ernst, Malcolm Macloud, and Jack Rubin,

In addition, I've added the CAPS11 bootstrap into the emulator module, so no more toggle-in required.

Lou Ernst reported that RT11 V5 does not work with the TA11, even on real hardware. The simulated TA11 does work under RT11 V4; it's included in the stock FB monitor.

One anomaly with RT11 V4 - after writing files to CT0: and then doing a DIRECTORY, all the files lengths are 0. The files are there. I can type them and DIFF them against their source.
2013-06-07 16:02:17 -07:00
Mark Pizzolato
c06c47e2e0 Fix to properly insert CRC16's in transmitted DDCMP packets and remove the CRC16's from received DDCMP packets. 2013-06-05 00:50:52 -07:00
Mark Pizzolato
d502af4468 Let the OS turn DTR on and off by properly interpreting the bits provided in the Control In command 2013-06-03 16:07:21 -07:00
Mark Pizzolato
531cdd42f7 Refactored (and renamed) pdp11_kdp to leverage the pdp11_dup dup implementation. 2013-06-03 10:03:46 -07:00
Mark Pizzolato
651780c481 Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
Mark Pizzolato
02fcc2ced6 Merge remote-tracking branch 'github-simh/master' into KDP 2013-06-02 17:34:30 -07:00
Mark Pizzolato
9df6c651cc Merge remote-tracking branch 'github-simh/master' into KDP 2013-06-02 16:50:03 -07:00
Mark Pizzolato
780adc3ca9 Added missing STRSYN from DDCMP dup setup 2013-06-02 16:08:06 -07:00
Rob Jarratt
afc156ee90 Merge branch 'KDP' of https://github.com/simh/simh into KDP 2013-06-02 23:36:16 +01:00
Mark Pizzolato
596cb3f580 Added needed DUP interfaces to allow use by KMC11/KDP. 2013-06-02 13:19:23 -07:00
Rob Jarratt
240d3ad1a7 Fixed problem where transmit buffers are never sent if the first attempt to send them happens when there is no connection to the peer. 2013-06-02 20:58:35 +01:00
Mark Pizzolato
4064cc079a This fixes the problem that MMR1 is recording changes to R7 (PC), which it should not. (issue #44)
It does not fix the problem that MMR1 is not used for floating point instructions.

I don't know if I will fix the FP MMR1 problem. It does not seem to impact running software. It is consistent with the architecture spec - just not with the actual J11 implementation. The J11 microcode has a variety of exception exits for FP conditions, and I have to trace which ones invoke fix-up, and which do not.
2013-06-02 06:52:32 -07:00
Mark Pizzolato
486ef58595 Compiler warning cleanup 2013-06-01 23:04:45 -07:00
Mark Pizzolato
e8da772de6 Added KDP to PDP11 simulator 2013-06-01 06:37:05 -07:00
Mark Pizzolato
4d34547b05 Cleanup DUP11 implementation and refactor for shared use by another device (KMC11). 2013-05-31 11:58:09 -07:00
Mark Pizzolato
a61dec6544 Add initial sharable DDCMP support 2013-05-29 12:37:51 -07:00
Mark Pizzolato
27dac1ade2 Added rate limit support (SET DUPn SPEED=bps). 2013-05-29 05:33:51 -07:00
Mark Pizzolato
4ba152db79 Fix packet transmit overrun behaviors which caused DECnet circuit failures. 2013-05-28 17:35:49 -07:00