Commit graph

997 commits

Author SHA1 Message Date
Mark Pizzolato
a3b0dc38fd Change the semantics of sim_is_active to return a t_bool (which was 98% of how it was used), and added new sim_activate_time to return the time a unit will be activated (the value previously returned). This affected a handful of used of sim_is_active in device implementations which were adjusted to use the sim_activate_time API. 2012-12-12 11:01:00 -08:00
Mark Pizzolato
2b5ceae2be Added missing sim_cancel support for device simulation code using the sim_disk and sim_tape libraries and doing asynchronous I/O if asynchronous I/O is active 2012-12-12 10:58:19 -08:00
Mark Pizzolato
e541a3408f Fix compiler warning. 2012-12-11 17:24:40 -08:00
Mark Pizzolato
0290b4bee4 Fixed interrupt logic causing OS device timeouts when I/O was happening to multiple drives simultaneously (from Bob Supnik) 2012-12-11 10:16:48 -08:00
Mark Pizzolato
e0bb8fed91 Added support for changing rq controller type to one of RQDX3, UDA50, RUX50 or KLESI. (from Mike Burke) 2012-12-10 05:58:11 -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
f3bc30aa39 Extended command argument substitution to allow large environment variable substitutions. 2012-12-08 15:24:10 -08:00
Mark Pizzolato
72c65ad7a4 Changed UNLOAD to be an illegal operation if issued on an RM device and made UNLOAD on RP devices execute immediately (as suggested by Bob Supnik) 2012-12-08 15:22:27 -08:00
Mark Pizzolato
cb659d6c83 Fix to properly report device attention when a manual detach operation is performed (from Bob Supnik) 2012-12-08 14:30:00 -08:00
Mark Pizzolato
ac8bd2521b Added RC25, RCF25 and RA80 drive definitions (from Hans-Ulrich Hölscher) 2012-12-08 13:00:00 -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
13fd6e5cb7 Fixed a few minor issues:
1) a RELEASE is documented (in our limited case) to be equivalent to a CLEAR not a NOP.
   2) avoid setting Attention as a consequence of processing an UNLOAD command.
   3) extended debugging information needed while looking for an issue which turned out to be a bug in the vax 780 Massbus interrupt triggering logic.
2012-12-06 08:39:35 -08:00
Mark Pizzolato
f6af7f4583 vax_7x0_mba.c - Fix bug which didn't defer device interrupts while a transfer was in progress causing OS failure when using multiple RP and RM disks under load. 2012-12-06 08:19:39 -08:00
Mark Pizzolato
72ca9de180 Clang compiler cleanup for new sim_debug_bits 2012-12-06 08:15:14 -08:00
Mark Pizzolato
2c1d2b9a88 Fixed minor sim_debug_bits issues. 2012-12-05 20:47:34 -08:00
Mark Pizzolato
9575ac5c63 Added makefile message prompt describing available vde networking support when building on Linux and libvdeplug-dev isn't available. 2012-12-04 09:34:14 -08:00
Mark Pizzolato
bcf0e8b19c Generalized sim_debug_u16 into sim_debug_bits and added support to display bit fields of variable size as well as bit states. 2012-12-04 09:32:40 -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
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