Commit graph

344 commits

Author SHA1 Message Date
Mark Pizzolato
beeb5ae09e Cleaned up the formatting of SHOW MULTIPLEXER output based on input from Dave Bryan 2012-12-16 06:23:18 -08:00
Mark Pizzolato
6cabdb9f9f Fixed duplicate logging output when output buffers are full and potential pauses in console output (reported by Mark Benson) 2012-12-15 11:40:20 -08:00
Mark Pizzolato
d955c383e9 Fixed compiler warnings and errors when compiling with MinGW 2012-12-15 09:41:13 -08:00
Mark Pizzolato
06b80cf53c Fixed makefile to not always include network components when compiling with MinGW and added ability to pass arbitrary arguments when invoking gcc with the batch files 2012-12-15 09:40:30 -08:00
Mark Pizzolato
60a0881c71 Fixes after Dave Bryan's testing. 2012-12-15 07:58:11 -08:00
Mark Pizzolato
0450a9b430 Compiler suggested cleanup 2012-12-15 07:56:42 -08:00
Mark Pizzolato
c046a29cba Fix reference to sim_deb 2012-12-14 15:53:59 -08:00
Mark Pizzolato
4b163b9d1d Cleaned up compiler warnings 2012-12-14 04:19:10 -08:00
Mark Pizzolato
883ad6bf5c Fixed sim_write_serial to return 0 when the non blocking write fails with the expected errno of EAGAIN 2012-12-14 03:27:18 -08:00
Mark Pizzolato
c71e0c39dc Compiler warning cleanup 2012-12-13 15:21:07 -08:00
Mark Pizzolato
59afee3128 Serial Multiplexer cleanup after review by Dave Bryan
- Added functionality to return the lines with attached serial ports by calling tmxr_poll_conn one time after a serial port is attached.
- Added the ability to close a serial port from the sim> prompt if a device implements a SET dev DISCONNECT=line command.  A serial port is closed if the -C switch is specified on the DISCONNECT command line.
- Cleaned up the multiplexer status display based on Dave's recommendations.
2012-12-13 13:46:43 -08:00
Mark Pizzolato
b466bdc9c6 Compiler warning cleanup 2012-12-13 13:41:57 -08:00
Mark Pizzolato
7f6a1af5bf Added an optional validation argument to sim_parse_addr for callers which need to confirm incoming connections come from expected sources 2012-12-09 12:12:09 -08:00
Mark Pizzolato
822fedf8ce Fixed polling to start on receiving a master clear and stop on Detach (Rob Jarratt) 2012-12-08 11:13:03 -08:00
Mark Pizzolato
2f3782a896 Update fixing dangling connections after detach and trying to adjust some polling behaviors (from Rob Jarratt) 2012-12-08 07:21:28 -08:00
Mark Pizzolato
badde9b852 Fixed bug in pdp11_xu which inhibited it from being disabled after it was ever enabled (reported by Rob Jarratt) 2012-12-08 07:13:05 -08:00
Mark Pizzolato
42b7bed6f5 pdp11_dmc.c - Removed DMP “support” through conditional compilation, including removal of SET TYPE command.
- Removed SET POLL command.
	- Changed SET TRANSMIT command to SET PEER
	- Fixed problem with detached device causing socket errors
2012-12-03 16:56:15 -08:00
Mark Pizzolato
e91ee504ca Updated VAX and VAX780 documentation to include DMC11 2012-12-01 08:43:20 -08:00
Mark Pizzolato
b6dd86983f Fixed the loopback setup when the receive port was specified with a specific interface (i.e. localhost:port) 2012-12-01 08:07:49 -08:00
Mark Pizzolato
c6c66487ac Compiler suggested cleanups 2012-11-30 13:22:15 -08:00
Mark Pizzolato
223e3e0254 sim_disk.c - Added a VHD merge option when attaching a vhd differencing disk
- Cross platform VHD differencing disk fixes (dealing with file names).
	- Optimization of VHD differencing disk meta data alignment
	- General cleanup and casting of pointer function arguments and assignments
2012-11-16 15:35:13 -08:00
Mark Pizzolato
a74c2d22dd sim_disk.c - Optimized read operations from unallocated VHD blocks 2012-11-12 14:36:35 -08:00
Mark Pizzolato
ed463a94fc sim_disk.c - Fixed differencing disk expansion and end of drive access bugs
- Added an attach option to merge a differencing disk into its parent when an attach is done with an -M flag
2012-11-12 13:46:05 -08:00
Mark Pizzolato
e7032c6bd5 Fixed regression recently introduced in string compare macro MATCH_CMD 2012-11-10 06:38:48 -08:00
Mark Pizzolato
3eb373a71e makefile fix to build VAX simulator with new pdp11_dmc device 2012-11-08 15:46:18 -08:00
Mark Pizzolato
fbb74de9b7 TMXR fixes to support Virtual Null Modem Connections
sim_tmxr.c
sim_defs.h
	- Fixed parsing issues with NOTELNET option.
	- Fixed line closing logic to drop buffered contents when line errors occur before closing link.
	- Fixed logic to allow bidirectional line connections (i.e. listen=1234;connect=ip:2345 on both sides of a a virtual null modem).
2012-11-08 15:45:43 -08:00
Mark Pizzolato
05707907a4 Fixed autogen table for DMC11 and DMP11 devices. 2012-11-07 15:34:45 -08:00
Mark Pizzolato
ecbbcc7228 Added DMC11 Device to the VAX simulator 2012-11-07 14:50:32 -08:00
Mark Pizzolato
f8ae8d2741 Periodically flush buffered console mux data. This is necessary to cover the situation when data was buffered and sending data out the connection stalled due to OS/network buffering and no more output traffic happens to be generated. 2012-11-07 14:26:07 -08:00
Mark Pizzolato
faa5c61fe4 Added validation of an incoming connection's IP address when a mux line is configured both with a listening port and an outbound connection destination. In this case, connections will only be accepted from the IP address of the target destination. 2012-11-07 05:18:14 -08:00
Mark Pizzolato
d51df0eba5 Merge of working DMC-11 device from Rob Jarratt.
pdp11_dmc.c
	- Fixed DMA bug which wrote data into the wrong simulated memory address.
	- Fixed incoming IP address checking.

pdp11_io_lib.c
	- Added the DMC device to the autoconfigure device table

vax780_defs.h
	- Added comment for DMC11
2012-11-06 17:00:54 -08:00
Mark Pizzolato
c9b31427b4 sim_defs.h - Make MATCH_CMD match at least one character instead of having an empty string match everything 2012-11-06 16:40:06 -08:00
Mark Pizzolato
3e78dc6732 sim_sock.c - preferred a bare textual IPv4 address be returned over an IPv4-mapped format address when returning the connecting IP address string in sim_accept_conn. 2012-11-06 16:38:43 -08:00
Mark Pizzolato
8b59f2a12a sim_tmxr.c - Fixed behavior when I/O errors happen on serial port connections. Now a message is displayed and the serial port is closed as opposed to the prior behavior where messages would be spewed incessantly with no benefit. 2012-10-27 12:50:50 -07:00
Mark Pizzolato
b356a98ea9 hp2100_ipl.c - Removed DEV_NET to allow restoration of listening ports 2012-10-26 05:02:44 -07:00
Mark Pizzolato
ef147d2058 HP2100 fixes to avoid potential namespace clashes with names defined in unistd.h. (Dave Bryan) 2012-10-24 12:57:37 -07:00
Mark Pizzolato
99f042f7dc scp.c - Fixed RESTORE command to detach all attached devices before actually restoring. The goal here is to make restore behavior consistent without regard to the current VM state prior to the restore. 2012-10-24 12:56:03 -07:00
Mark Pizzolato
9411f3f4bd Added missing comments for HP2100 multiplexer source modules (Dave Bryan) 2012-10-24 12:53:55 -07:00
Mark Pizzolato
5cd9449b29 sim_defs.h fixed compile on VMS 2012-10-23 14:41:26 -07:00
Mark Pizzolato
15e648f560 sim_tmxr.c Fixed console behaviors the console is directed to a serial port. 2012-10-23 14:40:56 -07:00
Mark Pizzolato
1fda1b1708 scp.h, sim_console.h, sim_console.c - Changed SET CONSOLE DEBUG= and SET CONSOLE NODEBUG to enable/disable debugging for the console device 2012-10-23 14:37:19 -07:00
Mark Pizzolato
c2f03a7541 scp.c - Finished merge from master branch - addition of SET DEFAULT and SHOW DEFAULT command.
- Added CD and PWD commands as aliases of SET DEFAULT and SHOW DEFAULT
2012-10-23 14:23:45 -07:00
Mark Pizzolato
388e13eb3a sim_serial.c Fixed VMS serial code after testing. 2012-10-22 14:58:56 -07:00
Mark Pizzolato
3311f4d581 sim_serial.c Added initial serial support for VMS hosts 2012-10-22 09:07:45 -07:00
Mark Pizzolato
9421d3cc75 Added missing documentation files from Bob Supnik.
simh.doc                         Writing a Simulator for the SIMH System
sim_breakpoints.doc     The SIMH Breakpoint Subsystem
sim_vmio.doc                 Adding An I/O Device To A SIMH Virtual Machine
2012-10-20 07:47:03 -07:00
Mark Pizzolato
757969ef40 Fixed bugs found during testing by Mark Benson
sim_serial.c

    - Fixed error message printing when retry is merely needed

sim_tmxr.c
     - Fixed parsing to properly recognize a listen port argument of "nnn;notelnet".
     - Fixed buffer wrap output condition.
2012-10-20 07:46:29 -07:00
Mark Pizzolato
0a46da5aa0 Changed pdp11_dz to leverage the tmxr library's pass thru modem control capabilities.
Fixed reporting of DCD for dz lines beyond the first 4.
2012-10-17 14:17:14 -07:00
Mark Pizzolato
02cb620c9b Change to support serial ports on multiplexer devices without any changes to existing multiplexer device emulation code.
Added support for per line tcp listen ports.
Added support for per line outgoing tcp/telnet connections.

Removed DEV_NET from pdp11_dz and pdp11_vh emulators to allow proper restore of
2012-10-17 08:40:01 -07:00
Mark Pizzolato
24696892fd Merge branch 'DMC11' into SerialMux
Conflicts:
	scp.c
	sim_ether.c
	sim_ether.h
	sim_tmxr.c
2012-10-16 15:50:38 -07:00
Mark Pizzolato
35b8a40559 Revised the VAX780 to include the pdp11_dmc device 2012-09-28 15:41:49 -07:00