Generate a PDP11 emulation test-set using simh.
Find a file
Mark Pizzolato bc36e9dde5 Adds serial port support to the multiplexer library.
It also modifies the HP 2100 and PDP11 multiplexers to add serial support as demonstrations of the capability that, one day, might be extended to all simulators.  I have tested the HP support, but I relied on Holger Veit to test the DEC stuff, so I can't guarantee that it works.  I also relied on Holger to test under Linux, so the same caveat applies.

    The changes needed in the device simulators are relatively small.  For example, if you look at the patches for "hp2100_baci.c", you'll note that most of them are documentation changes.  The only things of note are:

 - an expansion of the TMXR initializer

 - additional code in the "attach" routine to try attaching a serial port
   if attaching a socket fails

 - additional code in the "detach" routine for the same reasons

The HP MPX device (hp2100_mpx.c) needs a tiny bit of additional support from the ATTACH and DETACH commands.  Specifically, SCP was modified to set a flag ("sim_unit_ref") to indicate whether ATTACH MPX or ATTACH MPX0 was done, i.e., to differentiate between a device and a unit attach (recall that SCP treats these as both referring to unit 0).  This is needed because the socket attaches (logically) to the device, whereas a serial port attaches to a line.  Without this flag, the attach routine cannot differentiate between ATTACH MPX and ATTACH MPX0, as the distinction is lost by the time the VM's attach routine is called.  This support isn't needed for the HP MUX device because the socket attaches to a different device than the lines do.

    MPX also requires a bit more work due to the capability to mix serial and Telnet lines on the same multiplexer (BACI is a single-line terminal device).

    The attached PDF contains revisions to the "Writing a Simulator for the SIMH System" publication that documents the additions and changes to the multiplexer library for serial port support.  User documentation for serial port support currently exists only in the initial comments in "sim_tmxr.c"; I will add the appropriate text to the "SIMH User's Guide" if we decide to add this to the release version.
2012-04-19 19:18:15 -07:00
alpha Merge changes from v3.9-0 rc1 2012-03-19 16:05:24 -07:00
ALTAIR Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
AltairZ80 Completing merge of v3.9-0-rc1 compile cleanups 2012-03-20 18:55:45 -07:00
doc Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
GRI Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
H316 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
HP2100 Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
I1401 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
I1620 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
I7094 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
Ibm1130 Compiler detected unsigned bug 2012-03-21 14:46:34 -07:00
Interdata Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
LGP Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
NOVA Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
PDP1 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
PDP8 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
PDP10 Merge changes from v3.9-0 rc1 2012-03-19 16:05:24 -07:00
PDP11 Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
PDP18B Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
S3 Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
SDS Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
sigma Merge changes from v3.9-0 rc1 2012-03-19 16:05:24 -07:00
swtp Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
VAX Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
Visual Studio Projects Added VH to VAX780 Visual Studio Project 2012-03-26 12:17:30 -07:00
.gitattributes simh v2.5 2011-04-15 08:33:23 -07:00
.gitignore Make sure that VAX/vmb.exe is included in the git repository 2011-06-01 09:10:13 -07:00
0readme_39.txt HP2100 update from Dave Bryan 2012-04-04 12:31:43 -07:00
0readme_ethernet.txt Fixed cygwin build and execution issue, mostly from Tony Nicholson 2012-03-02 13:27:20 -08:00
0readmeAsynchIO.txt Fixed bug under Asynch I/O where I/O completion did not delay the appropriate time before passing back device status to a simulator. Found by Sergey Oboguev. 2012-04-02 14:05:12 -07:00
build_mingw.bat Updated Windows Network build (in makefile and Visual Studio Projects) to reference WinPcap and pthreads in a consistent parallel directory to the simulator source (i.e. ../windows-build/...). 2012-01-27 05:00:46 -08:00
build_mingw_ether.bat Updated Windows Network build (in makefile and Visual Studio Projects) to reference WinPcap and pthreads in a consistent parallel directory to the simulator source (i.e. ../windows-build/...). 2012-01-27 05:00:46 -08:00
build_mingw_noasync.bat makefile: Cleaned up MinGw build and provided an option to build without Asynch I/O support using MinGw. 2011-04-20 15:18:37 -07:00
descrip.mms Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
makefile Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
scp.c Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
scp.h Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
sim_BuildROMs.c Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_console.c Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
sim_console.h Added sim_ttisatty to support reasonable behaviour (i.e. avoid in infinite loop) in the main command input loop when EOF is detected and input is coming from a file (or a null device: /dev/null or NUL:) This may happen when a simulator is running in a background process. 2011-12-07 10:01:07 -08:00
sim_defs.h Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_disk.c Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_disk.h Fixed Asynch I/O issues which may leave pending asynch I/O in limbo when device resets happen (found by Sergey Oboguev) 2012-04-10 05:43:59 -07:00
sim_ether.c Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_ether.h Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_fio.c Fixed concurrent write issue (discovered by Sergey Oboguev) which may happen if SIM_ASYNC_IO is enabled 2012-02-01 19:58:55 -08:00
sim_fio.h Added Asynch I/O and Disk Support for various Disk formats 2011-04-15 08:49:18 -07:00
sim_rev.h Merge with v3.9-0-rc2 first pass 2012-03-24 19:46:37 -07:00
sim_serial.c Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
sim_serial.h Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
sim_sock.c Compiler cleanup for issues noticed during x64 compiles 2012-01-17 04:09:34 -08:00
sim_sock.h Compiler cleanup for issues noticed during x64 compiles 2012-01-17 04:09:34 -08:00
sim_tape.c Fixed Asynch I/O issues which may leave pending asynch I/O in limbo when device resets happen (found by Sergey Oboguev) 2012-04-10 05:43:59 -07:00
sim_tape.h Fixed bug under Asynch I/O where I/O completion did not delay the appropriate time before passing back device status to a simulator. Found by Sergey Oboguev. 2012-04-02 14:05:12 -07:00
sim_timer.c Fixing many compiler identified nits. 2012-04-18 09:48:04 -07:00
sim_timer.h Make sure that the correct struct timespec definition (which the pthreads APIs will need) is known before we define our own. 2012-01-13 15:32:51 -08:00
sim_tmxr.c Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00
sim_tmxr.h Adds serial port support to the multiplexer library. 2012-04-19 19:18:15 -07:00