Commit graph

339 commits

Author SHA1 Message Date
Mark Pizzolato
2991ae067d BuildROMS: Cleanup potential buffer overrun and execution with MinGW
As discussed in  #717
2019-07-12 13:44:31 -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
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
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
c9b0e2b00f BuildROMs: Simplify makefile dependencies avoiding extra builds when possible 2019-05-14 01:03:30 -07:00
Matt Burke
7eee73770d makefile: Add missing SDL support for VAXstation simulators.
- Minor naming corrections to VAX simulators
2019-04-23 18:21:16 -07:00
Mark Pizzolato
b1766b6dcf VAX8200: Fix access to watch chip wtc_rd() and wtc_wr()
- Recent changes in vax_watch.c changed the input parameter from a
  physical address to a register address within the watch chip.
- vax630_sysdev.c called the older wtc_wr() with the new parameter,
  but the length argument has been removed.
- The watch chip never starts as valid.  Make it valid when the TODR is
  attached (i.e. reflecting a connected battery).
- 64 bytes of bus addresses for the watch chip can sometimes be dispatched
  to wtc_rd() and wtc_wr().  Make sure that reasonable memory is always
  referenced for all potential accesses.
- restore vax8200 to makefile which got lost in a prior merge.
2019-04-23 10:41:10 -07:00
Matt Burke
f028802bff VAX: Added many different model VAX simulators
- MicroVAX 2000 & VAXstation 2000
- MicroVAX 3100 M10/M20
- MicroVAX 3100 M10e/M20e
- InfoServer 100
- InfoServer 150 VXT
- VAXstation 3100 M30
- VAXstation 3100 M38
- VAXstation 3100 M76
- VAXstation 4000 VLC
- VAXstation 4000 M60
- MicroVAX 3100 M80
- InfoServer 1000
2019-04-21 16:29:45 -07:00
Matt Burke
1d15966191 VAX: New simulator for VAX 8200 2019-04-21 09:09:32 -07:00
Matt Burke
4babf7f529 MicroVAX2: Added new video device (VCB02) 2019-04-10 22:01:52 -07:00
Seth Morabito
b0a4fb443c 3b2: NI 10Base5 Ethernet Device
- Implements an Ethernet device ("NI", for "Network Interface")
    for the 3B2 simulator.
2019-03-09 14:32:21 -08:00
Tony Nicholson
9261a09158
makefile: Fix case-sensitive pathname for cygwin 3.0.x with Windows 10 WSL enabled
Windows 10 1803 or later NTFS filenames are set to be case-sensitive if the Windows  Subsystem for Linux (WSL) feature is turned-on. This was causing a build under cygwin 3.0.1 to fail detecting the libpcap header and library locations in the ../windows-build/libpcap directory.
2019-02-28 18:59:47 +11:00
Lars Brinkhoff
85beae1194 PDP11: Dazzle Dart input box. 2019-02-07 08:16:46 +01:00
Lars Brinkhoff
5aa8454ab5 PDP11: NG, Knight display. 2019-02-07 08:16:31 +01:00
Mark Pizzolato
02bd6f0666 makefile: Fix libSDL dependency when building with MinGW 2019-01-28 20:54:39 -08:00
Mark Pizzolato
52615e26ef makefile: remove remnant git hooks which interfere with build 2019-01-12 00:36:14 -08:00
Lars Brinkhoff
da256fcc28 PDP10, PDP11, Unibus VAXen: CH11 Chaosnet interface. 2018-11-22 07:50:57 +01:00
Mark Pizzolato
6a5b0c5bcc makefile: Add check for tests as part of each target build steps 2018-10-02 17:24:04 -07:00
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
a56e55b8ac All VAX: fix makefile invocation of VAX diagbistuc tests 2018-09-28 15:46:50 -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
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
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
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
Lars Brinkhoff
122a87e544 PDP11: ROM device. 2018-09-10 15:13:06 +02:00
Mark Pizzolato
6dad94c5e5 makefile: Disable optimization on OS X compiling with clang
The VAX simulator is counting on undefined C language behaviors
which allow the optimizer to correctly produce unexpected results.
Hopefully this will be sufficient until the VAX architecture verifier
(AXE) can be found to validate a rewritten simulator.

As reported in #598
2018-08-07 23:24:49 -07:00
Mark Pizzolato
b5a993cf93 makefile: temporarily remove i650 from make all while waiting for update 2018-08-05 21:36:30 -07:00
Mark Pizzolato
e3894d7c6c makefile: Avoid deprecated warnings when compiling with clang++ 2018-08-02 13:02:21 -07:00
Mark Pizzolato
e4191c3750 makefile: Fix generation of commit time in .git-commit-id file 2018-08-02 11:21:37 -07:00
Mark Pizzolato
c5453ff6ed makefile: Require zip archive or git clone to acquire simh source code
As discussed in #596
2018-07-17 18:25:24 -07:00
Mark Pizzolato
699d28fb83 makefile, Visual Studio Projects: remove dependency on git hooks
the repository commit id will now be verified on each build directly.
2018-07-17 12:10:15 -07:00
Mark Pizzolato
097eb7b6fc makefile: Add proper dependence on BuildROMs to 3b2 build rules 2018-07-12 11:43:43 -07:00
Mark Pizzolato
eea30cb7a5 PDP15: Add UC15 connect support from simh v3.10 2018-06-04 12:33:51 -07:00
Mark Pizzolato
09781909a5 makefile: Fix broken rule for vax build 2018-06-04 11:39:07 -07:00
Mark Pizzolato
6b361a9faf PDP11, PDP15, UC15: Merge simh v3.10 functionality from Supnik-Current branch 2018-06-04 10:43:00 -07:00
Mark Pizzolato
83234f1e9d DISK: Add Linux host support for direct CDROM access 2018-05-26 12:33:50 -07:00
Seth Morabito
392b8f26a4 3b2: Fix makefile and 3B2.vcproj 2018-05-21 16:33:29 -07:00
Seth Morabito
ba9d8626e9 3b2: CIO PORTS and CTC devices
This change adds Common-IO implementations of the PORTS 4-port serial
line card and the CTC tape controller card.
2018-05-21 14:29:58 -07:00
Mark Pizzolato
b8978639e8 makefile: Add test for semaphore.h 2018-05-19 12:25:09 -07:00
Mark Pizzolato
e1d2204fc9 makefile: only provide GIT_COMMIT_TIME one time on compile commands 2018-05-11 16:45:51 -07:00
Mark Pizzolato
cb53ddbc12 makefile: Make compile time Android Version visible in SHOW VERSION output 2018-05-10 21:55:15 -07:00
Mark Pizzolato
c1894a7ddb makefile: Remove hard coded assumption about library path for Android build 2018-05-10 10:41:38 -07:00
Mark Pizzolato
a5a71edd30 makefile: Fix Linux library search when ldconfig isn't in the path
As reported in #560
2018-05-10 10:36:19 -07:00
Mark Pizzolato
39802c465a makefile: Support mode Android versions when termux is used 2018-05-09 10:39:10 -07:00
Mark Pizzolato
6a99ac81c6 makefile: Add support to build under Android termux 2018-05-08 21:40:37 -07:00
Mark Pizzolato
961f5e3285 makefile: query C compiler for its default include paths. 2018-05-08 02:37:36 -07:00
Mark Pizzolato
cc0e993978 makefile: Allow git-commit-id to be correctly set in more cases
cp and rm may not be in /bin on some environments.
2018-05-07 12:25:11 -07:00
Mark Pizzolato
114a29bc2f SCP: Add PCRE version to SHOW VERSION output 2018-04-08 17:13:54 -07:00
Roberto Sancho Villa
2eb49c13b7 i650: New IBM 650 Simulator 2018-03-25 10:17:35 -07:00