Commit graph

3562 commits

Author SHA1 Message Date
Mark Pizzolato
9662d7f4d1 S3: Avoid potential buffer overruns 2019-07-30 22:17:41 -07:00
Mark Pizzolato
c117698c1d PDP11: Fix SET XQ/XQB VECTOR=nnn command (Geoff Conway) 2019-07-30 22:14:42 -07:00
Mark Pizzolato
35a5389940 PDP11, Unibus VAX: Fix typo in XUB device register declaration (Dave Hittner) 2019-07-30 22:12:57 -07:00
Lars Brinkhoff
2f707ffc6e travis: Travis CI matrix build. Each job builds 15 simulators. 2019-07-22 13:32:57 -07:00
Seth Morabito
6554e0a4ab 3b2: Fix Windows build warnings
Fixed several possible loss of precision warnings when implicitly
casting t_uint64 to uint32.
2019-07-20 20:05:32 -07:00
Mark Pizzolato
3e71c301ba Visual Studio Projects: Add support for compiling under Visual Studio 2019 2019-07-20 15:40:12 -07:00
Seth Morabito
292898e9f4 3b2: Fix critical MAU issues
- A bug in the Square Root implementation could lead to
  an infinite loop.

- Incorrect rounding was used when MAU destination register
  was single or double word.

- Fix Coverity-discovered issues.
2019-07-19 16:34:32 -07:00
Peter Schorn
c1d9db8be7 AltairZ80: Remove old documentation and replace with current 2019-07-18 20:45:59 +02:00
Mark Pizzolato
7b5dc834fd MicroVAX2: Add IDLE support for Console ROM and Diagnostic Monitor 2019-07-17 09:00:24 -07:00
Mark Pizzolato
0b9cfa9b4d AltairZ80: Fix potential buffer overrun compiler warnings 2019-07-16 05:08:37 -07:00
Mark Pizzolato
d3228e85b0 IBM1130: Cleanup potential buffer overruns in SCA device 2019-07-16 04:33:34 -07:00
Mark Pizzolato
437e5a4bb5 H316: Use snprintf() to avoid potential buffer overflow 2019-07-16 04:12:42 -07:00
Mark Pizzolato
6041cd627b PDP11, PDP10, Unibus VAX: Fix potential buffer overflow warning 2019-07-16 03:46:04 -07:00
Mark Pizzolato
89d51032e2 PDP11, Unibus VAX: Fix Coverity identified warning 2019-07-16 03:15:25 -07:00
Mark Pizzolato
40731f0433 SCP: Fix help topic matching to properly return wildcard and ambiguous status
As reported in #723
2019-07-16 03:12:31 -07:00
Mark Pizzolato
2840e3b67f SCP: Fix Coverity identified issues/noise 2019-07-15 00:04:40 -07:00
Mark Pizzolato
716df3c297 SCP: Support MKDIR and RMDIR commands when building with MinGW 2019-07-12 13:45:34 -07:00
Mark Pizzolato
2991ae067d BuildROMS: Cleanup potential buffer overrun and execution with MinGW
As discussed in  #717
2019-07-12 13:44:31 -07:00
Lars Brinkhoff
5e8f48034d display: Fix unbalanced comment and line ending.
The use of the DAC (program counter) isn't fully implemented yet, so
is put inside NOTYET.
2019-07-10 08:12:39 +02:00
Mark Pizzolato
2f04109f0d descrip.mms: use consistent indentation and reasonable comment 2019-07-09 22:21:12 -07:00
Mark Pizzolato
7c8ad477c8 display: Fix mode variable used in type340 display to be enum. 2019-07-09 22:09:06 -07:00
Mark Pizzolato
ef00a62e66 Visual Studio Projects: Add PDP6, PDP10-KA and PDP10-KI to the solution 2019-07-09 21:03:56 -07:00
Richard Cornwell
2d50b3af25 SCP: Updated top level files for PDP10 KA/KI and PDP6 simulators. 2019-07-09 21:02:00 -04:00
Richard Cornwell
90b7d2beac KA10: Initial release of PDP10 KA/KI and PDP6 simulators. 2019-07-09 20:59:01 -04:00
Mark Pizzolato
461f2ea513 SCP: Add MKDIR and RMDIR commands 2019-07-08 00:38:08 -07:00
Mark Pizzolato
85770281fb H316: Remove Coverity indicated warnings rather than declaring them intentional 2019-07-07 19:29:30 -07:00
Mark Pizzolato
526e03bbe1 DISK: Remove dangling semicolon compiler warning. 2019-07-07 19:27:28 -07:00
Mark Pizzolato
6f5d8d3ed0 SCP: Honor -Q switch when enabling and disabling logging, suppress log date 2019-07-07 01:12:35 -07:00
Mark Pizzolato
24ed486222 VIDEO: Fix coverity identified memory allocation failure error check 2019-07-05 09:59:08 -07:00
Mark Pizzolato
9e71982249 SCP: Avoid potential buffer overflow using sprintf
- avoid warnings about snprintf truncation

As reported in #717
2019-07-02 09:53:56 -07:00
Mark Pizzolato
eadfeffdf3 PDP10: Recompute tmxr delay factor regularly
This will not change much, but it may be useful for sane idling depending
on the way the running OS actually uses the interval timer for clock ticks.

Some discussion about this in #713
2019-07-01 19:24:25 -07:00
Seth Morabito
61bdbd5d93 3b2: Provide precalibration program
This change adds a small infinite loop program that will be used by
the simulator to establish a reasonable guess at the host's
performance in order to precalibrate the system timer.
2019-07-01 13:21:56 -07:00
Mark Pizzolato
81472b5807 TAPE: Add an explicit ANSI-VAR format to generically present text files 2019-07-01 08:11:46 -07:00
Mark Pizzolato
6908c1e46c TAPE: Add support for FIXED record size unlabeled tape of binary and text files 2019-07-01 08:11:20 -07:00
Mark Pizzolato
e49617cd0c TAPE: Add ability to copy a tape to a SIMH format tape image
This is an implicit tape conversion tool from any supported format to
SIMH format.
2019-07-01 08:10:36 -07:00
Seth Morabito
dd715e609e 3b2: unsigned addition overflow
- Integer addition of unsigned types could fail to set the
  overflow flag, leading to errors in the SVR3 floating point
  emulation library that rely on the overflow flag to detect
  carry out of high bit on unsigned addition. This change
  will correctly set the V flag if the high bit should be
  carried out on an add.
2019-06-29 19:40:57 -07:00
Seth Morabito
571c8f96a5 3b2: WE32106 Math Acceleration Unit (MAU)
This change adds support for the WE32106 Math Acceleration Unit (MAU).
The WE32106 is an IEEE-754 1985 compatible floating point math
acceleration unit that was an optional component on the 3B2/310 and
3B2/400.

The MAU is implemented using software floating point routines.  As
always, there may be bugs, but the MAU currently passes extensive
floating point tests with exactly the same results as a real 3B2/400
equipped with a physical MAU, so I hope these are few.
2019-06-29 08:45:27 -07:00
Mark Pizzolato
47bac1f665 TAPE: Fix edge cases for AWS format tapes and default TAR block size
- Add more AWS test cases
- Add better position validation when scanning a tape image
- Properly clear SIGINT flag for interrupt during a tape attach
2019-06-29 07:39:23 -07:00
Mark Pizzolato
1e214afec3 PDP11, VAX: Fix RQ initialization of extra units
As reported in #711
2019-06-25 00:31:29 -07:00
Mark Pizzolato
2bee79b5e7 PDP11, VAX: Properly initialize extended unit structures
- Extra queue and timer units on RQB, RQC, and RQD are now properly
  initialized.
- PDP11 unit numbers are numbered:
	device RQ      0-3
	device RQB    4-7
	device RQC   8-11
	device RQD  12-15
2019-06-24 11:08:09 -07:00
Mark Pizzolato
0b67c26875 PDP11, VAX: Fix XQ device help text with NAT examples. 2019-06-23 23:49:58 -07:00
Mark Pizzolato
9c2c621278 PDP11, VAX: Add RQ device option for variable number of drives 2019-06-23 23:47:12 -07:00
Mark Pizzolato
b3fa1f9fe8 TIMER: Stabilize timer behaviors
- Fix incomplete migration to RTC structures indicated by Coverity
  warnings.  Some Coverity were minor warnings and not real issues.
- Add calibration recovery parameters for idle and catchup ticks
- Aggressively perform catchup ticks when in simulated idle paths
  even when idling is disabled.
- All non internal clocks can have catch-up ticks triggered if they
  register a tick unit.
- Catch-up ticks will be delivered to non tick acking simulators when
  idling if regstered tick unit has been specified.
- Hosts with slow ticks can idle and keep sloppy OK time when
  simulators have faster ticks
- Default to active calibration (ALWAYS) while idling (no skipping)
2019-06-18 08:01:45 -07:00
Mark Pizzolato
5d747cc992 SCP: Activate internal unit tests at appropriate time
before processing default and command line scripts
2019-06-18 07:58:32 -07:00
Mark Pizzolato
8c4f8b0bff TIMER: Accelerate catchup ticks while idling
- Avoid default idle stability wait when pre-calibrate has succeeded
- Display time at sim> prompt in SHOW CLOCK output
2019-06-10 14:55:05 -07:00
Mark Pizzolato
b1fd80da64 SCP: Add filename to the message displayed when ATTACH -N is used 2019-06-10 14:15:46 -07:00
Seth Morabito
efea3f86a7 3b2: Fix for compilation warning
Fixes a compilation warning in 3b2_sysdev.c caused by a lack of an
explicit cast from 'void *' to 'struct timer_ctr *'
2019-06-09 14:12:02 -07:00
Richard Cornwell
f70875d8b2 B5500: Added save restore support. Updated for new sim_tape. 2019-06-09 15:23:04 -04:00
Richard Cornwell
97ea1cf463 I7000: Fixed tape handling errors and coverity errors. 2019-06-09 15:22:11 -04:00
Mark Pizzolato
9ab8d0e91e TIMER: Add debug of all calibration decision variables default no idle skip 2019-06-08 16:38:15 -07:00