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
Mark Pizzolato
8bd73b3243
SCP: Fix ELSE command implementation
...
Reject nested IF & ELSE commands.
2018-08-29 20:39:05 -07:00
Mark Pizzolato
2d35feb973
PDP11, VAX: Cause all VH lines to drop DTR on a master or bus reset
...
As mentioned in #609
2018-08-28 17:51:31 -07:00
Mark Pizzolato
949662a7b9
Visual Studio Projects: Auto migrate zip expanded windows-build to git
...
When git is available, remove manual steps to maintain and update the
windows-build support even for cases where windows-build may have
previously extracted from a downloaded zip file.
2018-08-28 14:31:08 -07:00
Mark Pizzolato
4ae55f57da
SCP: Explicitly put fd 0 into non blocking mode when running simulation on Linux
...
This change is not actually necessary on Linux, but a bug in Windows
Subsystem for Linux (WSL) doesn't honor tcsetattr() with ICANON disabled
and VMIN and VTIME set to 0 should return immediately when no input data
is available, but it doesn't. Setting the fd to non blocking produces
equivalent behavior.
2018-08-27 19:34:08 -07:00
Bill Beech
eea6eceaa9
SWTP: Improve error messages
2018-08-27 15:33:05 -07:00
Mark Pizzolato
2008f3f6ec
PDP11, VAX: Avoid potential operator precedence confusion
2018-08-27 12:11:27 -07:00
Mark Pizzolato
05f682115c
H316: Avoid potential buffer overflow for UDP connect string
2018-08-27 12:09:25 -07:00
Mark Pizzolato
0786e1fc60
CARD: Add missing function return type declaration for sim_card_test
2018-08-27 11:31:33 -07:00