Commit graph

698 commits

Author SHA1 Message Date
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
732ef8307e vax610_sysdev.c - Generalized the boot parsing.
The supported boot options now are:
	B XQ			; Network boot
	B XQA			; equivalent
	B XQA0			; equivalent
	B RQ			; Boot RQ0
	B RQ0			; equivalent
	B DUA			; equivalent
	B DUA0			; equivalent
	B RQn			; Boot RQn
	B DUAn			; equivalent
	B DUn			; equivalent
	B 			; Boot using boot ROM device search

Also the R5 boot options can be specified either before or after the device name and with or without the R5:

For example:
	B /R5:1 XQ
	B /1 XQ
	B XQ /R5:1
	B XQ/1
are all equivalent
2012-11-05 16:12:41 -08:00
Mark Pizzolato
03bbd66cef vax610_defs.h, vax610_stddev.c - Added SHOW CPU LEDS and SHOW CPU MODEL to the cpu_mod array using the CPU_MODEL_MODIFIERS #define.
- Added dynamic display of the LED values to the console port as the LEDs change during a boot.
2012-11-05 15:56:56 -08:00
Mark Pizzolato
2481a8e148 vax_cpu.c, vax_cpu.h Added optional per CPU #define of CPU_MODEL_MODIFIERS which would be defined in vaxXXX_defs.h and be added to the cpu_mod array. 2012-11-05 15:54:13 -08:00
Mark Pizzolato
0b1b5f1ede scp.c - Added a 'set prompt "XXX"' command to change the prompt which is used while scp collects command input. 2012-11-05 15:14:00 -08:00
Mark Pizzolato
f1e3216d99 Added MicroVAX I network boot support
pdp11_xq.c, pdp11_xq.h
	- Added emulation and visibility to the LEDs which were on the physical DEQNA/DELQA network boards.  "show xq: will now display the LED state in addition to the other useful things.
	- Added debugging of loopback packet data
	- Avoided padding on short loopback packets
	- Added support for extended length loopback packets (up to 1600 bytes) which is described in the DEQNA manual and used by the MicroVAX I boot ROM.  Recieve such packets with the LONG error indicator.
	- Returned 'reserved' status bits as 1's in received packet status word 1.
	- Added debug display of transmit and receive Buffer Descriptor List contents.

sim_ether.c, sim_ether.h
	- Added support for extended/oversized packets.
2012-11-05 15:12:36 -08:00
Mark Pizzolato
69666f1480 Fixed message reporting after command completion:
scp.c,scp.h - Gave priority to a command message handler to determine what values result in displayed messages and exported run_cmd_message for use by simulators which add simulator specific BOOT commands which leverage the run_cmd logic and should also leverage the run_cmd_message for message display

VAX/vax610_sysdev.c, vax730_sys.c, vax750_cmi.c, vax780_sbi.c - Added BOOT command message dispatch to run_cmd_message for simulators which perform preprocessing on BOOT activities but otherwise then dispatch to run_cmd.
2012-10-31 10:09:04 -07: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
22eda8f959 descrip.mms - Fixed VMS build of VAX610 2012-10-26 15:31:57 -07:00
Mark Pizzolato
7a09222d51 vax610_sysdev.c, vax750_cmi.c - Added missing register definition to store the cpu_boot_cmd during a SAVE/RESTORE. 2012-10-26 07:55:23 -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
1d0c0fc07d makefile - added OSX build support for VDE2 when the MacPorts vde2 package is installed 2012-10-25 15:59:42 -07:00
Mark Pizzolato
f2fdee9a8e makefile - Fixed reporting of GCC version when compiling with MinGW 2012-10-25 12:16:49 -07:00
Mark Pizzolato
d6f3d328e4 vax750_uba.c - Minor compiler warning cleanup 2012-10-25 11:59:45 -07:00
Mark Pizzolato
76612265ca Addition of MicroVAX I (VAX610) processor simulator from Matt Burke 2012-10-25 11:58:10 -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
cc7049cc39 Updated vax780_doc.doc and vax_doc.doc to describe current TODR operation and use 2012-10-22 06:57:30 -07:00
Mark Pizzolato
9cd3a07ff6 Merge remote-tracking branch 'origin/master' into Extra-VAXen
Merged related functionality into new VAX 750 modules

Cleaned up compiler complaints from the clang compiler
2012-10-22 06:32:38 -07:00
Mark Pizzolato
f8e34b103b Added new VAX750 simulator from Matt Burke 2012-10-22 05:09:10 -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
Mark Pizzolato
0453a87f18 Revised pdp11_dmc device to leverage the update sim_sock interfaces 2012-09-28 15:41:03 -07:00
Mark Pizzolato
30ce7fdbaa Revised the socket library sim_sock(.c & .h) to support both IPv4 and IPv6 leveraging the RFC3493 APIs.
All dependent code has been updated to use the revised interfaces.
2012-09-28 15:34:55 -07:00
Mark Pizzolato
6692832785 Initial import of pdp11_dmc.c and .h from Rob Jarratt 2012-09-28 15:27:21 -07:00
Mark Pizzolato
be1e1326b3 Merge pull request #11 from andreax79/master
show default & set default command added
2012-08-28 07:24:00 -07:00
Andrea Bonomi
405c70bccd set default/show default commands fix 2012-08-28 07:40:42 +02:00
Andrea Bonomi
a1a6a8a40d show_default fix 2012-08-23 17:18:31 +02:00
Andrea Bonomi
715bc12d3b show default & set default command added
Hello,
I fixed the show/set default commands and tested on the following host
platform: OSX(x64), Linux(arm), FreeBSD(x86), Windows(x64),
OpenVMS(VAX).
The commands are very simple and the code is the same for all the  *nix
and VMS, and it is a little different for Windows.
Andrea
2012-08-21 12:50:27 +02:00
Mark Pizzolato
0f2ed31b33 Fix UDATA macro to reflect prior changes in the unit data structure. This fixes any reference to the macro which may supply an initial wait time to the unit structure after using the UDATA macro. 2012-07-19 13:30:31 -07:00
Mark Pizzolato
66edd72ecb Merge branch 'nj7p/swtp6800-v2.1'
Conflicts:
	makefile
	swtp6800/common/bootrom.c
	swtp6800/common/dc-4.c
	swtp6800/common/i2716.c
	swtp6800/common/m6800.c
	swtp6800/common/m6810.c
	swtp6800/common/mp-8m.c
	swtp6800/common/mp-a.c
	swtp6800/common/mp-a2.c
	swtp6800/common/mp-b2.c
	swtp6800/common/mp-s.c
	swtp6800/swtp6800/mp-a2_sys.c
	swtp6800/swtp6800/mp-a_sys.c
	swtp6800/swtp6800/swtp_defs.h
2012-07-13 15:21:30 -07:00
Bill Beech
908ad1308e Corrected copyright dates on all files 2012-07-11 12:23:03 -07:00
Bill Beech
fc3c1812bf Fixed nested sim_defs.h problem 2012-07-11 12:00:57 -07:00
Bill Beech
5fcd6a7960 Updated several file to remove "egregious" errors 2012-07-11 11:59:15 -07:00