Commit graph

3353 commits

Author SHA1 Message Date
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
f386776a96 Compiler warning fixes from Brian Knittel 2013-06-03 11:54:49 -07:00
Mark Pizzolato
651780c481 Remove stray tab characters which crept in over time 2013-06-03 06:29:01 -07:00
Mark Pizzolato
f7330bc09d remote compiler warning 2013-06-02 17:07:21 -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
e5ee32d411 Fix network build on OSX when libvdeplug is available. 2013-05-31 17:18:46 -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
e2b796273a Merge branch 'master' of github.com:simh/simh 2013-05-31 09:41:36 -07:00
Mark Pizzolato
881f53e457 Added support to the Remote Console facility to close a remote console session on EOF 2013-05-31 09:33:05 -07:00
Mark Pizzolato
bc49f6b78a Fix for Unibus word DMA from Rob Jarratt 2013-05-31 04:16:42 -07:00
Mark Pizzolato
9149b813f0 Merge remote-tracking branch 'github/master' 2013-05-29 12:52:06 -07:00
Mark Pizzolato
39c794292d Changed some spaces and indentations 2013-05-29 12:48:19 -07:00
Mark Pizzolato
1c7bf98610 Cleaned up readme documentation to avoid potential confusion when initially setting up a windows build environment. 2013-05-29 12:39:20 -07:00
Mark Pizzolato
a61dec6544 Add initial sharable DDCMP support 2013-05-29 12:37:51 -07:00
Timothe Litt
3e25042017 Change some tabs to spaces 2013-05-29 14:48:43 -04:00
Timothe Litt
5f26e6011a Add set cpu serial for KS
Allow CPU serial number to be set for KS cpus.

With multiple instances running about, this prevents a lot of confusion,
especially in the error logs.
2013-05-29 13:59:42 -04:00
Timothe Litt
b80fa0ae50 Revert "Add set serial to KS cpu"
This reverts commit 611b7632c9.
2013-05-29 13:52:29 -04:00
Timothe Litt
611b7632c9 Add set serial to KS cpu
With multiple instances, error logging gets confusing when every CPU has
the same serial number.

This makes the CPU serial number settable.  If not set, the old defaults
apply.
2013-05-29 13:50:56 -04:00
Timothe Litt
f5de2f4d22 LP20 emulation was overwriting existing files
When an LP20 is attached to an existing file, the file is opened in
update mode.  Since the initial file position is zero, any existing
output is over-written.  This is not intuitive.

This edit makes the LP20 seek to EOF on attach.

N.B. Other devices may have cousin issues.
2013-05-29 13:43:12 -04: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
3b8784b2c3 Added makefile support for the DUP11 device 2013-05-27 16:55:12 -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
f30d43209e Fixes to:
1) retain the buffered/unbuffered line specific details across save/restore
 2) retain modem control outgoing bits (CTS and DTR) accross line resets which may occur due to carrier/connection loss.
 3) change the behavior which sends  the prior contents of the transmit buffer on a line reconnect to only happen for buffered telnet lines.
 4) avoid crash in SHOW MULTIPLEXER output when only specific lines have been attached instead of
2013-05-27 15:14:54 -07:00
Mark Pizzolato
1eb15fc917 Fix to support multiplexer devices which call tmxr_open_master directly instead of tmxr_attach so that the resulting TMXR will be in the open multiplexer list 2013-05-24 17:53:12 -07:00
Mark Pizzolato
44886f919b Add asynch I/O support for AIX platform 2013-05-23 15:24:04 -07:00
Mark Pizzolato
00a5ccac29 Fixed broken Linux build 2013-05-23 14:30:47 -07:00
Mark Pizzolato
2bfaf46781 AIX Platform support 2013-05-23 11:33:36 -07:00
Mark Pizzolato
6401a371ba Compiler suggested cleanup 2013-05-23 11:27:53 -07:00
Mark Pizzolato
b755a71a60 Added sim_ether dynamic libpcap load support for platforms which need to use pcap_setnonblock. 2013-05-23 08:17:29 -07:00
Mark Pizzolato
c3479492a1 Added documentation for bitfields 2013-05-23 06:34:46 -07:00
Mark Pizzolato
ed186dadce Fix asynch I/O race condition. 2013-05-22 09:52:54 -07:00
Mark Pizzolato
44d6651f99 Added hex debug output for tcp session data on non-telnet line debug 2013-05-19 06:50:12 -07:00
Mark Pizzolato
784bc5daa2 Added new tmxr_line_attach_string API to return the attach string specific to a a particular multiplexer line.
Added parsing logic to allow tcp port and connect strings to end in either ";notelnet" or ";telnet" as desired to specifically describe a port setup.
Fixed bug in single line multiplexer attach which returned failed status when it should not have if a tcp connect destination was specified.
Relaxed parsing rules to allow a single line multiplexer to have a listen port specified at either the line level or the mux level.
2013-05-17 08:07:00 -07:00
Mark Pizzolato
cf59910128 Added a -E switch to the SHOW DEVICE/SHOW CONFIG/SHOW FEATURES command to only display Enabled devices 2013-05-17 02:54:19 -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
e8e751c2fd Added randomization to the checking for success of outgoing connections and the arrival of incoming connections 2013-05-15 15:34:45 -07:00
Mark Pizzolato
7edcf5f36e Added stability to virtual null modem connections by consuming all incoming per line connections until a good one (or none) is found.
Extended debugging to describe the socket endpoints when connections are established.
Extended XMT and RCV debugging to include the line number in debug messages.
2013-05-15 13:53:32 -07:00
Mark Pizzolato
8d1a1344f0 Added sim_getnames_sock to get a printable form of the endpoints of a socket 2013-05-15 13:47:40 -07:00
Mark Pizzolato
c097ae5e57 Added help info to asynchronous timer device 2013-05-15 05:43:14 -07:00
Mark Pizzolato
145b5c6a00 Added per line Modem Control capabilities to TMXR 2013-05-15 05:42:36 -07:00
Mark Pizzolato
f2ccc5b307 Change 8-bit characters to printable form. 2013-05-15 05:39:24 -07:00