Commit graph

3120 commits

Author SHA1 Message Date
Mark Pizzolato
2b512818e9 VS-BUILD: fix warning messages produced when converting VS2008 projects to VS2010 or VS2012 2014-02-13 05:21:12 -08:00
Mark Pizzolato
59d0602b0d PDP8: Add device buffer flush capability and keep track of data written state in the device buffer. Fixes #87
Finishing the last DECtape device which was missed when this functionality was added to pdp11_dt, pdp18b_dt and pdp8_dt
in commits: 2934112a70 and c9e8121c16

Cleaned up the pdp11, pdp18b and other pdp8 implementations to make backporting cleaner.
Made sure that buffer flushing happens correctly when simulation returns to the sim> prompt.
2014-02-12 21:08:18 -08:00
Mark Pizzolato
f1a10a7ff9 PDP11,VAX: Cleanup declared but undefined local routine. 2014-02-12 17:18:44 -08:00
Mark Pizzolato
e75e52d9a2 PDP10: Fixed display of Unibus and Vector for RY device. 2014-02-12 17:17:46 -08:00
Mark Pizzolato
22bce48689 PDP10: Change incorrect interrupt bits defined for DMC/DMR device which conflicted with KMC/KDP device. Fixes issue #107
Also removed unreferenced defines for shared Unibus devices which get address and vectors through autoconfiguration.
2014-02-12 13:47:01 -08:00
Mark Pizzolato
c8991a4084 SOCK: avoid calling strcpy with overlapping arguments when converting IPv4-mapped address strings. Fixes issue #111 2014-02-12 03:40:10 -08:00
Mark Pizzolato
519f7f2c03 PDP8: Revised fix for Binary loader can't read multiple section tapes (#74) to make reading all sections optional based on the -A switch (from Dave Gesswein) 2014-02-11 18:58:19 -08:00
Mark Pizzolato
9068ea0e8e SCP: Fleshing out more of the hierarchical help content. 2014-02-11 14:24:45 -08:00
Mark Pizzolato
3f9a125727 MAKEFILE: Added support to detect libSDL on host platforms which use /usr/pkg for OS supplied package installation location. Fix #110 2014-02-11 14:11:07 -08:00
Mark Pizzolato
07b64e3f72 Compiler suggested cleanups. 2014-02-11 13:33:48 -08:00
Mark Pizzolato
d7c63d61f2 PDP10,PDP11,VAX: Fix for DMC/DMR error which lost track of pending transmit buffers when timeouts happened during DDCMP protocol startup. Fixes #109 2014-02-11 13:32:37 -08:00
Mark Pizzolato
897491deea PDP10: Correct time interpolation when reading the timebase and the interval calculation when setting the clock tick interval. Fixes issue #108 (from Jordi Guillaumes) 2014-02-11 07:17:42 -08:00
Mark Pizzolato
545aa85677 SCP: Cleaned up the hierarchical help APIs to follow the same indentation style used in the rest of scp.c. Fixed the help prompt to avoid adding an extra level to the prompt when the current level has no children. 2014-02-10 17:25:07 -08:00
Mark Pizzolato
b1fb809210 PDP10, PDP11, VAX: Added the DDCMP corruption troll to the DDCMP layer and removed it from the KDP device.
Now all DDCMP capable devices KDP, DUP and DMC/DMR have access to packet corruption generation to simulate real world imperfect data lines for protocol testing.
2014-02-10 17:22:19 -08:00
Mark Pizzolato
d7690ce060 PDP8: Binary loader can now read multiple section tapes. Fix from Dave Gesswein to issue #74. 2014-02-08 05:39:03 -08:00
Mark Pizzolato
2934112a70 PDP11,PDP18B: Add device buffer flush capability and keep track of data written state in the device buffer. These are cousin bugs described in issue #87 2014-02-08 05:29:46 -08:00
Mark Pizzolato
b2133aede8 Compiler indicated cleanups 2014-02-07 14:49:55 -08:00
Mark Pizzolato
7ce7317f7c PDP8: Add new breakpoint command based on instruction value (Opcode) (from Dave Gesswein) as discussed in issue #75 2014-02-07 11:43:52 -08:00
Mark Pizzolato
1a7f8d4df0 VAX,PDP11,PDP10: Added explicit support to enable (or disable) DMR Micro Diagnostics which corresponds to the SW10 hardware switch.
Also, always process initialization commands without regard to whether the DMC/DMR line is attached and return diag error status if the line isn't attached.
2014-02-07 09:01:22 -08:00
Mark Pizzolato
afcbea251d SCP: Add SHOW -C BREAK to display the currently defined breakpoints as commands which can be used to redefine them later.
Note: This excludes the possibility of there being a -C breakpoint type.  Since there are potentially 26 different breakpoint types, this exclusion is not likely to have a significant impact.
2014-02-07 06:32:21 -08:00
Mark Pizzolato
cde0be5573 TMXR: Added support to reasonably set modem bits when a line has dedicated listen port defined or uses datagram transport. 2014-02-06 17:08:38 -08:00
Mark Pizzolato
ccabc026d5 PDP10: Added display support of PC value in debug messages. 2014-02-05 15:25:09 -08:00
Mark Pizzolato
8d09ebec8b Compiler indicated cleanups to Fix #105 2014-02-05 13:44:36 -08:00
Mark Pizzolato
c9e8121c16 PDP8: Add device buffer flush capability and keep track of data written state in the device buffer. Fixes #87 2014-02-05 10:30:22 -08:00
Mark Pizzolato
ffda4c1c41 VAX,PDP11: Fix behavior of simulator when multiple DMC devices are in use concurrently. Fix for issue #51.
The interrupt acknowledgment logic for the transmit interrupt inadvertently cleared the device interrupt pending flag even when other devices potentially had pending interrupts.

Added line specific indications in the debug output for packet trace debugging.
2014-02-05 08:20:43 -08:00
Mark Pizzolato
da134ebb2a SCP: Added detailed help (including switches) for SET DEBUG command and an auto flush of the debug output when instruction execution stops. 2014-02-04 15:45:26 -08:00
Mark Pizzolato
8cc3791e2a PDP11/VAX: Improved debug information to identify the distinct DMC line when multiple lines are in use and added detailed debug output for DDCMP state machine changes. 2014-02-04 14:45:05 -08:00
Mark Pizzolato
0e11dfea98 PDP11/VAX: Fix VH device to properly be displayed when the number of lines changes and to avoid problems in debug mode. 2014-02-04 11:29:25 -08:00
Mark Pizzolato
d0cee0f6b6 SWTP: Fixes to segfault issue described in #103 (from Gene Irwin)
The simulated memory address block from 0x8000 thru 0x8FFF is defined to have address 0x8000 - 0x801F mapped to I/O ports and 0x8020 - 0x8FFF as NO RAM ALLOWED.  Code has been added to behave reasonably when references are made to 0x8020 - 0x8FFF.
2014-02-01 08:12:19 -08:00
Mark Pizzolato
eaae19463c SCP: Initial merge of old style single line help with hierarchical help 2014-02-01 07:04:44 -08:00
Mark Pizzolato
235ffdb6f0 PDP10: Change default bus address and vector for DMR device to be what the TOPS-10 expects (address 764000 and vector 610) 2014-01-30 16:29:40 -08:00
Mark Pizzolato
8c2de7c5a9 SWTP: Added missing SWTP documentation files 2014-01-28 15:21:25 -08:00
Mark Pizzolato
4ec1f7ed2b PDP11: Fix to allow allow Q18 devices to be enabled on Qbus systems with memory <= 256KB. Reported by Christian Gauger-Cosgrove.
The devices which are affected by this are: RK, HK, RM and VT.
2014-01-26 18:09:06 -08:00
Mark Pizzolato
9ab6c4d1c1 SOCKET: Extended TMXR packet capabilities to disable the Nagle algorithm when TCP packets transports are used. 2014-01-23 09:31:05 -08:00
Mark Pizzolato
bebb787325 SCP: Fix problem on Windows which inhibited the ability to enter console input (^E) when bells characters were being output too often. Fixes #102 2014-01-23 09:21:07 -08:00
Mark Pizzolato
18451806b7 SCP: Added default simulator specific initialization file to be in the current working directory if one isn't found where the simulator binary is located (suggested by Jordi Guillaumes Pons in #101). 2014-01-23 05:15:54 -08:00
Mark Pizzolato
fcaced5393 GIT: Added ignore of OS/X DS_Store files and made line endings consistent (from Jordi Guillaumes Pons) 2014-01-23 05:11:18 -08:00
Mark Pizzolato
c64aabf51f SCP: Fix for %DATE_WW% and %DATE_WYYYY% computation on the first days of a year after a leap year. 2014-01-16 07:40:35 -08:00
Mark Pizzolato
8b9e33c3a3 MAKEFILE: Fix Linux build when pcap.h isn't available but SDL is. Fix for Issue #97 2014-01-16 06:17:45 -08:00
Mark Pizzolato
e1b0a416a9 SCP: Generalized DATE and TIME variable insertion adding support for ISO 8601 date values. Inspired by Christian Gauger-Cosgrove.
ISO 8601 support without requiring C99 strftime functionality.

          %DATE%                yyyy-mm-dd
          %TIME%                 hh:mm:ss
          %DATETIME%       yyyy-mm-ddThh:mm:ss
          %LDATE%               mm/dd/yy (Locale Formatted)
          %LTIME%               hh:mm:ss am/pm (Locale Formatted)
          %CTIME%               Www Mmm dd hh:mm:ss yyyy (Locale Formatted)
          %DATE_YYYY%     yyyy              (0000-9999)
          %DATE_YY%          yy                  (00-99)
          %DATE_MM%       mm               (01-12)
          %DATE_DD%         dd                  (01-31)
          %DATE_WW%       ww                 (01-53)     ISO 8601 week number
          %DATE_WYYYY%  yyyy              (0000-9999) ISO 8601 week year number
          %DATE_D%            d                    (1-7)       ISO 8601 day of week
          %DATE_JJJ%           jjj                   (001-366) day of year
          %TIME_HH%         hh                  (00-23)
          %TIME_MM%        mm               (00-59)
          %TIME_SS%            ss                  (00-59)
2014-01-11 11:13:25 -08:00
Mark Pizzolato
fd4a3acbad Avoid NULL pointer dereference when examining a device with no units. #95 2014-01-09 12:03:51 -08:00
Mark Pizzolato
b61e5ae176 Compiler indicated cleanups 2014-01-08 13:06:42 -08:00
Mark Pizzolato
2ea8a0a30f SCP: Changed command processing variable insertion to format %DATE% as yyyy-mm-dd instead of yyyy/mm/dd and added %STIME% to produce hh_mm_ss. 2014-01-08 12:47:33 -08:00
Mark Pizzolato
5800e5b403 Compiler indicated cleanup 2014-01-06 14:13:30 -08:00
Mark Pizzolato
0e753b7c45 Compiler indicated cleanups 2014-01-06 13:14:16 -08:00
Mark Pizzolato
76fc90f405 VMS: Update descrip.mms for recently added video and network device support 2014-01-06 13:13:18 -08:00
Mark Pizzolato
ae8bcecd29 I1620 : Changes from Bob Supnik re: Bob Armstrong has been running diagnostics and software, and these changes reflect fixes to bugs that were found.
We're not absolutely sure that all of the changes are correct - in particular the treatment of record marks in add/compare - but they do make the diagnostics pass, which they didn't before.

Bob asked for variable tab stops on the typewriter, and those are implemented as well. The routines were general enough that I put the SET/SHOW processors in sim_console.c, so I'm enclosing that and its header file.

Conflicts:
	I1620/i1620_cpu.c
	sim_console.c
	sim_console.h
2014-01-05 14:45:08 -08:00
Mark Pizzolato
c6eef85850 MAKE: Changed minimum version of gmake required before warning is issued from 3.81 to 3.80. 2014-01-02 16:06:12 -08:00
Mark Pizzolato
fdcbef3954 ETHER: Added support to build with more older versions of libpcap on some platforms. Removed support to use tcpdump.org's libpcap on Linux platforms. 2014-01-02 13:30:49 -08:00
Mark Pizzolato
028f152f6f SWTP: Fixed overflown bit logic for addition and subtraction (from Bill Beech) 2014-01-01 10:33:29 -08:00