Commit graph

3949 commits

Author SHA1 Message Date
Mark Pizzolato
31c512c6e7 makefile: Avoid using PCRE REGEX support on OS X
- OS X libpcreposix segfaults when a compiled regular expression is freed.
- Revise regular expression syntax used in VAX diagnostic scripts to avoid
  Perl oriented extensions.
2018-09-30 12:37:49 -07:00
Mark Pizzolato
4807fbbf67 SCP: Expose the REGEX type (PCREPOSIX, REGEX, none) in SIM_REGEX_TYPE env var 2018-09-30 12:35:07 -07:00
Mark Pizzolato
195cd439ae SCP: Avoid potential memory leak while cleaning up EXPECT regular expressions 2018-09-30 08:12:15 -07:00
Mark Pizzolato
f86a67310a SCP: Add missing aspects to sim_filepath_parts, move sim_dir_scan to sim_fio 2018-09-29 23:34:14 -07:00
Mark Pizzolato
a274a1f208 VAX: Fix test script for the VAX simulators that don't have available diags 2018-09-28 21:09:27 -07:00
Mark Pizzolato
b6b457a84d SCP: Fix Coverity identified issues 2018-09-28 20:47:54 -07:00
Mark Pizzolato
c640000b54 SCP: Fix DO command so that CALL will work after a CD has been processed 2018-09-28 20:33:32 -07:00
Mark Pizzolato
a40d23fd53 SCP: Avoid warning on OS X which shouldn't be necessary 2018-09-28 19:06:29 -07:00
Mark Pizzolato
0e544b71ff SCP: Fix various compiler warnings 2018-09-28 18:05:39 -07:00
Mark Pizzolato
3a9a15f3a9 TIMER: Allow short duration sim_instr() exits to avoid recalibrating timers
- sim_instr() returns to scp (during script execution) that start simulation
  again in less than 1 tick of the calibrated clock now leverage the previous
  calibration state when instruction execution resumes.
- Only generate catchup ticks for clocks that are still running.
- Revert windows sim_os_msec() implementation back to use the multi-media
  timer which is required on Windows XP and shouldn't be affected by dynamic
  OS time adjustments that do affect System Time.
2018-09-28 18:04:34 -07:00
Mark Pizzolato
a56e55b8ac All VAX: fix makefile invocation of VAX diagbistuc tests 2018-09-28 15:46:50 -07:00
Mark Pizzolato
568a80dfb8 SCP: Add parsing of file specs in environment variables and DO command args. 2018-09-28 15:43:01 -07:00
Mark Pizzolato
9a716a7689 SCP: On startup, only exit if initialization file explicitly returns SCPE_EXIT
Fix for problem reported in #625
2018-09-28 09:36:14 -07:00
Mark Pizzolato
f48c282dff SCP: Silence potential compiler warnings on Windows using GCC 2018-09-27 22:01:40 -07:00
Mark Pizzolato
6747c7fdc2 All VAX: Extend tests to include available DEC instruction diagnostics
- Diagnostic execution happens as a normal part of the makefile build.
- Diagnostic execution can be suppressed by invoking make with TESTS=0
  on the command line
- Diagnostic execution during build is produced in summary form.
2018-09-27 22:00:38 -07:00
Mark Pizzolato
be52190067 All VAX: extend REI debugging support
Identify reserved operand fault reason details.
2018-09-27 06:41:40 -07:00
Mark Pizzolato
0ca011cd46 VAX: Parse for switches in BOOT command implementations 2018-09-27 06:35:31 -07:00
Mark Pizzolato
928193d463 SCP: Fix EXPECT regular expression match environment variable names
- Use sim_messagef for consistency
2018-09-27 06:24:31 -07:00
Mark Pizzolato
9414b6b98e makefile: restore -O2 to clang non-debug builds
- clang's list of optimization options makes no mention of strict-overflow
   or no-strict-overflow, but it silently accepts -fno-strict-overflow and
   in fact honors it.
2018-09-27 06:22:04 -07:00
Mark Pizzolato
3f2d76eee5 doc: Clarify use of sim_rtcn_init_unit vs sim_rtcn_init. 2018-09-27 06:21:39 -07:00
Mark Pizzolato
0fe4bf3281 VAX tests: Fix spelling error in success/fail messages 2018-09-19 22:36:48 -07:00
Mark Pizzolato
49cfac9019 VAX: Add EHKAA (aka HCORE) Harware Core Instruction test for MicroVAX 3900 2018-09-19 21:51:28 -07:00
Mark Pizzolato
1adc76a5dd All Unibus VAX: Simplify output produced by Hardware Core Instruction test 2018-09-19 19:57:55 -07:00
Mark Pizzolato
c49eea7a50 SCP: Use sim_messagef in console command output for consistency 2018-09-19 17:58:28 -07:00
Mark Pizzolato
2d586fb72b makefile: Fix test script search function to only return existing files 2018-09-19 16:01:59 -07:00
Mark Pizzolato
22ad3706bc All Unibus VAX: Add execution of CPU hardcore instruction test EVKAA to build 2018-09-19 14:53:35 -07:00
Mark Pizzolato
3c7f79f251 SCP: Fix and document optional [count] parameter for EXPECT commands
- Avoid "Goodbye" message when optional status is specified on EXIT command.
- Properly range check [count] specified on EXPECT commands
2018-09-19 14:46:40 -07:00
Mark Pizzolato
d35b8725a3 SCP: Add optional status value to EXIT command 2018-09-18 14:24:14 -07:00
Mark Pizzolato
812b97cdfd makefile: Make sure that -O0 is only forced for clang/LLVM compiler
As discussed in #598
2018-09-17 06:24:39 -07:00
Mark Pizzolato
371e5fe5cc SCP: Remove duplicate SET CONSOLE SPEED help text.
Fix #618
2018-09-13 08:20:22 -07:00
Mark Pizzolato
e1db7dec41 PDP11: Add ROM device build support for VMS and Visual Studio 2018-09-11 05:59:14 -07:00
Lars Brinkhoff
122a87e544 PDP11: ROM device. 2018-09-10 15:13:06 +02:00
Mark Pizzolato
0051082dc9 PDP11, VAX: Support explicit deregistering of I/O space addresses 2018-09-10 06:04:50 -07:00
Mark Pizzolato
ac40e513cb PDP11: Change all boot routines to use WrMemW() to access memory 2018-09-09 19:08:33 -07:00
Mark Pizzolato
488b91a62c TMXR: Avoid potential divide by 0 when setting speed without a speed factor 2018-09-08 13:58:20 -07:00
Lars Brinkhoff
77ff9e44f0 PDP11: Fix building pdp11_vt.c when USE_DISPLAY is undefined. 2018-09-07 08:06:17 -07:00
Mark Pizzolato
ee2ea26c24 PDP11: Add VT device Terminal Boot mode and help routine 2018-09-06 16:29:51 -07:00
Mark Pizzolato
e7a250937a PDP11: Fix I/O Page DMA to reflect hardware that only worked on Unibus 2018-09-06 13:41:43 -07:00
Lars Brinkhoff
6dfb0111e8 TMXR: Add Morton box line speeds: 25k, 40k, 50k, and 80k BPS. 2018-09-06 11:06:36 -07:00
Mark Pizzolato
7677dad67d PDP11: Properly range check DMA access to the I/O page
Make sure that DMA access to the I/O page can only see addresses on the
Qbus/Unibus and not internal CPU registers
2018-09-06 11:03:45 -07:00
Mark Pizzolato
5f0370749e PDP11: Allow a device to have a linked list of DIB structures
This allows a single device to have multiple disjoint parts of the I/O page
2018-09-06 02:35:23 -07:00
Mark Pizzolato
2ed1ed9049 PDP11: Add console port input from graphics or normal stdin or telnet 2018-09-06 02:22:23 -07:00
Mark Pizzolato
362eb4afaf display: Make each keyboard input character available from the graphics window 2018-09-06 02:19:12 -07:00
Mark Pizzolato
99cabebbf0 TMXR: Make sure to send the telnet mantra on outgoing telnet connects 2018-09-06 02:07:37 -07:00
Mark Pizzolato
6f1a01d6fa PDP11, VAX: Fix vh_rd debug register decode (Ed Marr) 2018-09-04 01:15:41 -07:00
Mark Pizzolato
f5488239d2 PDP11: Fix ability to hard set DLI device ADDRESS and VECTOR 2018-09-03 07:36:45 -07:00
Mark Pizzolato
6f2538380a SCP: Change use of O_NDELAY to O_NONBLOCK for Posix compatibility 2018-09-02 20:07:53 -07:00
Mark Pizzolato
7f9e60de58 SCP: Use O_NDELAY when putting fd 0 into non blocking mode on Linux 2018-09-02 07:30:02 -07:00
Mark Pizzolato
ed081894f8 Visual Studio Projects: Avoid temporary file validating current git commit it 2018-09-01 01:59:10 -07:00
Mark Pizzolato
3e2cba7cbd Visual Studio Projects: Update windows-build dependence for VS2017 support 2018-08-30 22:17:01 -07:00