Commit graph

866 commits

Author SHA1 Message Date
Mark Pizzolato
18b6ab89d0 Fixing compiler complaints with MinGW and adding support for RAW disk access when compiling with MinGW on windows. 2012-12-16 20:18:54 -08:00
Mark Pizzolato
cd0ef35bbf Added command alias SHOW MUX for SHOW MULTIPLEXOR. To avoid collision with simulators which may have devices named MUX, the device names/units are examined prior to the standard SHOW arguments. Simulators which have a device named MUX can't use the SHOW MUX alias. 2012-12-16 07:03:19 -08:00
Mark Pizzolato
4a3bf9ee17 Compiler warning cleanup 2012-12-16 06:42:51 -08:00
Mark Pizzolato
c87c747ed7 Compiler warning cleanup 2012-12-16 06:24:36 -08:00
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
84af193474 Correct spelling in comment 2012-12-15 14:53:58 -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
954cb3405f Added generic ability to have up to 32 DZ Multiplexers enabled in a system. The default is 4 which provides 16 lines on a Qbus system and 32 lines on a UNIBUS system. 2012-12-14 13:31:51 -08:00
Mark Pizzolato
417102c5c4 Added full DHU11 (16 line) functionality for UNIBUS environments (PDP11 and VAX), while also supporting DHV11 (8 line) for Qbus systems 2012-12-14 12:37:00 -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
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