Commit graph

3026 commits

Author SHA1 Message Date
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
78793ac355 tx0_doc.doc - Added more precise description of how mouse clicking works with the tic-tac-toe game. 2012-11-21 09:17:14 -08:00
Mark Pizzolato
c90bdf935a pdp11_rp.c - Fixed operation with asynch disabled.
- Added new style detailed debugging using sim_debug.
2012-11-21 08:27:32 -08:00
Howard M. Harte
8bdc206fea Replace getw/putw with sim_read/sim_write
For endian-neutral behavior use sim_read/sim_write instead of getwand
putw.
2012-11-20 16:33:26 -08:00
Howard M. Harte
2f72d3efb0 Update simulator configuration files. 2012-11-20 15:50:56 -08:00
Howard M. Harte
958cb92b31 Update documentation in souce code. 2012-11-20 15:49:26 -08:00
Howard M. Harte
dafb61a585 Add TBR register to CPU. 2012-11-20 15:49:05 -08:00
Howard M. Harte
10e58e1074 Add documentation for TX-0. 2012-11-20 15:45:26 -08:00
Mark Pizzolato
97d4f18377 Fix to properly format the CPU boot code load string on ARM platforms (Jordi Guillaumes i Pons) 2012-11-20 04:59:29 -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
8a6d90cf57 vax610_defs,h, vax630_defs.h - Corrected device IPL levels for all qbus devices for the VAX610, VAX620 and VAX630 simulators 2012-11-12 21:29:27 -08:00
Mark Pizzolato
7c7df669ad Asynchronous Support
scp.c, scp.h
	- added sim_uname (Unit Name) API to simplify places which might want to display it (mostly debug messages).
	- added support for clock co-scheduling
	- added debugging to trace event queue activities

    sim_defs.h
	- added support for clock co-scheduling
	- added support for sim_uname (Thread local storage macro)
	- added support for debugging to trace event queue activities
	- simplified debug code by using sim_uname
	- fixed support macro for sim_is_active when asynch timers are in use

   sim_rev.h
	- fixed nested comments

    sim_tmxr.c, sim_tmxr.h
	- added support for clock co-scheduling
	- simplified debug code by using sim_uname
	- added support for devices which poll for output on different units

    sim_timer.c, sim_timer.h
	- added support for clock co-scheduling
	- fixed asynchronous clock calibration to smooth out calibration adjustments
	- simplified debug code by using sim_uname
	- added ability (when running with asynchronous support) to explicitly disable or enable asynchronous timer support.
	- changed sim_timer_inst_per_sec to return a double value since the result is always used in a double expression and integer overflow could occur under strange timing conditions

    vax/vax_stddev.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    vax/vax_cpu.c
	- added EVENT and ACTIVATE debug flag (SET CPU DEBUG=EVENT;ACTIVATE) support

    pdp11/pdp11_dz.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    pdp11/pdp11_vh.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.

    pdp11/pdp11_xq.c
	- converted from simulator specific clock co-scheduling to generic clock co-scheduling.
2012-11-12 15:33:35 -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
b01fa8fbb0 Addition of MicroVAX II (VAX630) and rtVAX 1000 (or Industrial VAX 620) processor simulators from Matt Burke
Generalized the Boot Code loading support to use common code which has been added to vax_cpu.c
2012-11-09 12:18:15 -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
81ea8e139e Added build of TX-0 simulator to the makefile 2012-11-08 06:24:31 -08:00
Mark Pizzolato
6cda56650d Fixed compiler identified bugs and warnings. 2012-11-08 06:23:52 -08:00
Mark Pizzolato
df0fbcd047 Generated unique GUID for the TX-0.vcproj project file. (prior guid was a duplicate of another project's guid).
Incorporated TX-0 into the simh.sln file
2012-11-08 06:20:40 -08:00
Howard M. Harte
31bc758610 Fix .vcproj warnings when upgrading to VS2012. 2012-11-07 21:53:29 -08:00
Howard M. Harte
fe4f1b570f Delete unneeded files. 2012-11-07 21:39:10 -08:00
Howard M. Harte
44409de10f Add Visual Studio project file for TX-0. 2012-11-07 21:34:11 -08:00
Howard M. Harte
c10aa0a8be Add mouse maze game and tic tac toe tapes.
Tape images and startup scripts for:
Mouse maze game
Tic Tac Toe
2012-11-07 20:57:41 -08:00
Howard M. Harte
35ef1c8d24 Initial public version of TX-0 for SIMH
Integrate TX-0 simulation into SIMH.
2012-11-07 20:47:26 -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
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