Commit graph

226 commits

Author SHA1 Message Date
Mark Pizzolato
b1fc298ff3 PDP11/VAX: Add register descriptions and bitfields to register declarations 2013-09-06 09:38:12 -07:00
Mark Pizzolato
d61409889b PDP11: Added formatted register display for HK and RK devices 2013-09-06 08:31:33 -07:00
Mark Pizzolato
ddc9398f90 PDP11: fix RK device unit detection when some units are disabled. 2013-09-05 19:03:06 -07:00
Mark Pizzolato
59232fed53 PDP11: fixed auto configure for RL and HK devices 2013-09-05 18:56:08 -07:00
Mark Pizzolato
b1b9aa3510 PDP11: Added help to RK device 2013-09-05 12:10:09 -07:00
Mark Pizzolato
1141339e5b PDP11: Addition of the RS03/RS04 disk devices from Bob Supnik
Note that this is not the fully general Massbus implementation people were dreaming of. MB#1 is for RP/RM, MB#2 is for TU, and MB#3 is for RS.
I know that there were requests for four Massbus channels and multiple RP/RP subcontrollers, but if people want more disks, they can use the RQ.
2013-09-05 07:59:11 -07:00
Mark Pizzolato
4e5f910fed Compiler nits for void * assignments from Bob Supnik 2013-09-04 19:50:47 -07:00
Mark Pizzolato
89024724d4 PDP11/VAX: pdp11_hk Fix by Bob Supnik for issue #47
Revised error handling to command-response model
Revised interrupt logic to follow the hardware
2013-09-03 05:15:23 -07: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
Mark Pizzolato
95e54dc60e Merge remote-tracking branch 'origin/master' 2013-07-10 12:04:23 -10:00
Mark Pizzolato
071b8e5cd0 Fix attach help for pdp11_dl (reported by Reindert Voorhorst) 2013-07-08 06:17:08 -10: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
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
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
651780c481 Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
Mark Pizzolato
780adc3ca9 Added missing STRSYN from DDCMP dup setup 2013-06-02 16:08:06 -07:00
Mark Pizzolato
596cb3f580 Added needed DUP interfaces to allow use by KMC11/KDP. 2013-06-02 13:19:23 -07: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
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
Mark Pizzolato
4019e670e0 Fixed CRC implementation, CRC state bit presentation and added register declarations 2013-05-28 12:18:32 -07:00
Mark Pizzolato
c3750e6444 Added logic to act on the state and transitions of the RCVEN bit of the receiver CSR. 2013-05-28 01:03:58 -07:00
Mark Pizzolato
89bd58a6fa Addition of DUP11 simulation to all Unibus simulators (PDP11, PDP10, and all Unibus VAXen) 2013-05-27 16:24:18 -07:00
Mark Pizzolato
76fccce27d Fix for Issue #53 for DC, DL, and VH multiplexer devices 2013-05-16 11:04:43 -07:00
Mark Pizzolato
e82507d9c8 Fixed DZ bug which referenced the wrong dz device when the number of DZ multiplexers configured was not a power of 2 (i.e.3, 5, 7, etc.) 2013-05-16 10:18:07 -07:00
Mark Pizzolato
d964df4eea Compiler suggested cleanups 2013-05-09 14:02:48 -07:00
Mark Pizzolato
9faef6ea89 Added separate debugging ability to trace line connect/disconnect activities to better debug virtual null modem cable activities. 2013-05-06 07:50:09 -07:00
Mark Pizzolato
ba87329baa Fix to properly manage modem DCD and RNG state. 2013-04-17 09:32:48 -07:00
Mark Pizzolato
0f078e9168 Added register field decoding to the debug register trace output 2013-04-17 06:17:55 -07:00
Mark Pizzolato
8e858341f6 Complete returning the DZ modem status information as identified in issue #22 and return RI if DTR is not set, and DCD if it is. This solves the modem behavior issue #24 as well. 2013-04-16 11:03:16 -07:00
Mark Pizzolato
814960e253 Properly restore DZ Modem Control state during a simulator RESTORE. 2013-04-16 09:11:24 -07:00
Mark Pizzolato
93c9f35948 Restore DZ modem control state to default on device detach. Properly clear modem bits when modem control enabled. Better display of modem control status. 2013-04-16 05:33:29 -07:00
Mark Pizzolato
3dd4121c78 Added Large File Support which was missing for NetBSD (and OpenBSD) hosts - reported by Felix Deichmann 2013-04-12 08:17:01 -07:00
Mark Pizzolato
471ea3efce Added SHOW CPU MEMORY to the MicroVAX I simulator 2013-04-05 14:52:27 -07:00
Mark Pizzolato
732718e5a7 Fixed bug in pdp11_xu loopback processing. Now consistent with pdp11_xq. Found by Paul Koning 2013-03-29 13:44:35 -07:00
Mark Pizzolato
be270bb9c1 Fix of Big Endian DELQA-T issue 2013-03-22 17:39:53 -07:00
Mark Pizzolato
a28d5d7737 Cleaned up the formatting of the pdp11_dmc help output as suggested by Jacob Goense 2013-03-21 09:49:50 -07:00
Mark Pizzolato
c6691b6ff3 Fixed size limit on RQ devices for PDP11 simulator 2013-03-19 10:55:15 -07:00
Mark Pizzolato
960c5b5873 Fix issues observed by Sun C compiler 2013-03-18 12:52:43 -07:00
Mark Pizzolato
2e5b0d54c6 Generalized the sim_disk layer to support large file disk devices (simh, VHD and RAW formats) with out requiring USE_ADDR64, and enhanced the pdp11_rq device to use this capability. 2013-03-17 12:02:43 -07:00