Commit graph

3978 commits

Author SHA1 Message Date
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
Mark Pizzolato
dcc635555c Add line number to line specific debug message output. 2013-05-14 17:11:50 -07:00
Mark Pizzolato
0b1fe53943 Use generic message routine for sim_accept_conn and sim_read_sock and don't emit a message if a read fails due to ECONNRESET (this is expected). 2013-05-14 17:10:51 -07:00
Mark Pizzolato
d01b070dcf More compiler suggested cleanups 2013-05-14 09:20:14 -07:00
Mark Pizzolato
6c42556d30 Added build support for the new SSEM simulator and fixed minor compiler suggested cleanups 2013-05-13 15:31:00 -07:00
Gerardo Ospina
3e25784b99 LF endings replaced with CR-LF endings
Source file LF endings replaced with CR-LF endings. GIT configuration
changed: git config --global core.autocrlf false
2013-05-13 15:40:23 -05:00
Gerardo Ospina
03d92e2fe6 Merge https://github.com/simh/simh 2013-05-13 14:35:55 -05:00
Gerardo Ospina
865ae4d091 Added CR-LF line endings. Tabs replaced with spaces
Text files stored with CR-LF line endings, all tabs replaced with 4
spaces.
2013-05-13 14:31:24 -05:00
Mark Pizzolato
f8a2f1253c makefile fix to produce consistent CC command for all targets 2013-05-13 09:22:51 -07:00
Gerardo Ospina
f118a724fe Merge https://github.com/simh/simh 2013-05-13 11:08:51 -05:00
Mark Pizzolato
3448edf608 enhanced the relatively new tmxr_linemsgf api to dynamically flush a completely full transmit buffer as needed. 2013-05-13 08:16:25 -07:00
Mark Pizzolato
d86680013b Enhanced remote console to display the simulator's prompt string in the remote console sessions and changed startup message to more clearly describe how to get into multiple command mode. 2013-05-13 08:13:27 -07:00
Gerardo Ospina
b8d037b08b SSEM documentation added
Documentation added. Copyright information addedd/corrected.
2013-05-13 03:39:17 -05:00
Mark Pizzolato
3d27f015c1 Fix to avoid remote console looping in Multi-Command mode (Fix to issue #50). 2013-05-12 12:11:18 -07:00
Mark Pizzolato
671644ff41 Avoid passing negative values (i.e. signed characters) to isprint() which is not happy with doing this on some platforms. 2013-05-12 11:58:34 -07:00
Mark Pizzolato
7eb02bfd2b Avoid noisy log messages in Remote Console activities. 2013-05-10 16:15:42 -07:00
Mark Pizzolato
80289e1e3b Enhanced Remote Console support to allow two separate command processing modes.
1) Single Command Mode:  commands are processed between simulated instructions once CR is received.
 2) Multiple Command Mode: commands are initiated with the WRU character (usually *E) which suspends simulation execution and commands are processed until a CONTINUE command is entered (or automatically provided if the SET REMOTE TIMEOUT=seconds interval has elapsed).
2013-05-10 16:10:07 -07:00
Mark Pizzolato
782bec605d Fix potential remote console memory leak 2013-05-10 05:02:07 -07:00
Mark Pizzolato
281c18142f Describe the proper build command for HP-UX 2013-05-09 17:33:47 -07:00
Mark Pizzolato
5fda4b628c Cleanup for build support on HP-UX for both 32bit and 64bit builds with gcc and the HP C compilers. 2013-05-09 17:18:05 -07:00
Mark Pizzolato
52ec325e68 Compiler suggested fix. 2013-05-09 16:43:29 -07:00
Mark Pizzolato
d964df4eea Compiler suggested cleanups 2013-05-09 14:02:48 -07:00
Mark Pizzolato
ddb10425e7 Reworked all asynch queues to always link using the unit a_next field instead of the next field. 2013-05-08 09:34:53 -07:00
Mark Pizzolato
141b6e834a Fixed formatting error 2013-05-08 04:17:55 -07:00
Mark Pizzolato
6c6d641034 Tolerate race condition which results in spurious timer thread wakeups which were causing the timer thread to exit. (SIM_ASYNCH_CLOCKS) 2013-05-07 11:40:07 -07:00
Mark Pizzolato
6cf54e8341 Fixes for stable operation with SIM_ASYNCH_CLOCKS defined 2013-05-07 11:22:29 -07:00