Commit graph

3133 commits

Author SHA1 Message Date
Mark Pizzolato
9df764a8ca Visual Studio Projects: Reference explicit URL when updating windows-build 2018-08-21 10:11:22 -07:00
Seth Morabito
71ee25be1a 3B2: Remove unused code, move static declarations
This change cleans up warnings issued when compiled with
-Wall.

- Removed unused functions and variables.
- Moved static declarations out of headers and into source files
- Added braces around initialization where suggested.
2018-08-19 12:37:31 -07:00
Seth Morabito
5ae2e4c49d 3b2: Fix for overwriting kernel memory 2018-08-19 12:37:18 -07:00
Mark Pizzolato
c833c933ed PDP11, all VAX: better manage VH input FIFO empty transition status (Ed Marr) 2018-08-16 15:30:39 -07:00
Mark Pizzolato
664a2d555c Visual Studio Projects: Dynamically provide up-to-date windows-build components 2018-08-16 08:05:23 -07:00
Mark Pizzolato
0e778da410 Visual Studio Projects: Upgrade SDL2 to v2.0.8 2018-08-15 14:58:53 -07:00
Mark Pizzolato
cdb731b0c3 Visual Studio Projects: Assure that updated library components are updated
When a new version of windows-build is available, make sure that the
compiler version specific library info is forcibly updated.
2018-08-15 13:14:10 -07:00
Mark Pizzolato
c0f79d8812 SCP: Fix Xcode static analysis identified issues (Peter Schorn) 2018-08-12 03:16:44 -07:00
Mark Pizzolato
7eda72931f Visual Studio Projects: Add Whole program optimization
Require updated windows-build which includes pthreads4w 2.11.1
2018-08-11 16:25:14 -07:00
Mark Pizzolato
6ffa4c8a41 IBM1130, PDP10, PDP11: Replaced assert() with ASSURE() for run time error checks 2018-08-11 14:44:15 -07:00
Peter Schorn
1b7d77e03b AltairZ80: Replaced assert() with ASSURE() for error checking at run time 2018-08-11 09:48:55 +02:00
Mark Pizzolato
f659574e11 Visual Studio Projects: Fix pthread build step disable WholeProgramOptimization 2018-08-09 09:06:24 -07:00
Mark Pizzolato
6070692581 SCP: Add unit to AIO_VALIDATE context message 2018-08-08 11:51:54 -07:00
Mark Pizzolato
44bc5116e7 SCP: Add file:line context reporting when abort() is invoked from macros 2018-08-08 10:00:53 -07: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
5a343cefbb Visual Studio Projects: Properly capture git commit time into .git-commit-id.h 2018-08-07 20:47:46 -07:00
Mark Pizzolato
0d9f195f1c TIMER: Timing updates
- Reliably align clock measurements on tick boundary before measuring.
- Use consistent timebase for time measurements in sim_idle_ms_sleep()

Windows:
- Properly restore system clock tick size on exit.
- Use highest resolution time for ms time measurements
2018-08-06 19:54:29 -07:00
Mark Pizzolato
482b6f1be4 SCP: Add ELSE command extension to the IF command processing. 2018-08-06 18:22:46 -07:00
Mark Pizzolato
2ddc0e61ad TIMER: Define HAVE_STRUCT_TIMESPEC consistently for compiler compatibility
As mentioned in #606
2018-08-06 13:15:09 -07:00
Mark Pizzolato
fee95b0527 Visual Studio Projects: Update to use pthreads4w 2.10.0 2018-08-06 07:44:35 -07:00
Mark Pizzolato
15885fdf6a TIMER: optimize time format conversion routine 2018-08-06 07:38:08 -07:00
Mark Pizzolato
a62789a505 SCP: Make repeated debug message summarization the default
The -F debug switch can now be used to avoid the repetitive message
summarization.  This will trade off debug log file size vs CPU cost to
summarize the output.
2018-08-06 07:37:04 -07:00
Mark Pizzolato
a36c298f2b PDP15, UC15: Extended compiler cleanup 2018-08-05 22:42:56 -07:00
Mark Pizzolato
b5a993cf93 makefile: temporarily remove i650 from make all while waiting for update 2018-08-05 21:36:30 -07:00
Richard Cornwell
124ca0ea0f I7000: Second release of IBM 7000 simulators.
1) Support for new sim_card interface which supports stacking
     of input decks.
  2) Changes to allow IBM 704 to properly run Fortran II and allow
     i7090 to be set to IBM 704 correctly.
  3) Changes to allow 9IOTA diagnostics to pass.
2018-08-05 22:45:06 -04:00
Richard Cornwell
b4d185f3af B5500: Second release of Burroughs B5500 simulator.
1) Minor cleanup of some instruction execution to better match
     flowcharts.
  2) Changes to allow proper reboot if OS crashed.
  3) Changes to terminal muliplexer to allow for simH expect/send
     to work.
  4) Some corrections to translation table.
  5) Support for new sim_card interface. This includes support for
     stacking of multiple decks on the input stream.
2018-08-05 22:43:59 -04:00
Richard Cornwell
8b1d058a63 SIM_CARD: New interface to support stacking cards and save/restore. 2018-08-05 22:43:07 -04:00
Mark Pizzolato
a8d4fe8846 SCP: Fix potential NULL pointer dereference - Coverity 2018-08-04 08:28:12 -07:00
Mark Pizzolato
9316978403 VAX, PDP11: Silence Coverity identified VH warning 2018-08-04 08:25:32 -07:00
Mark Pizzolato
e3894d7c6c makefile: Avoid deprecated warnings when compiling with clang++ 2018-08-02 13:02:21 -07:00
Mark Pizzolato
c7abd314d9 VAX780, PDP11 (all Unibus systems): Fix VH DHU11 device output activity
- Implement a per line transmit FIFO to properly reflect the DHU real hardware
- Output is rate limited based on the programmed port speeds
- Properly abort programmed output

As reported and discussed in #600 and #588
2018-08-02 12:53:26 -07:00
Mark Pizzolato
dc13df7b7b VAX: Set CPU model correctly on each boot
Previously the CPU model was only being set when the CPU ROM was
implicitly loaded from the internal ROM image at boot time.  Other
loading of ROM code never set the configured model correctly.
2018-08-02 11:26:43 -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
b18fa8c045 SCP: Prepare for new sim_card interfaces 2018-07-29 19:51:09 -07:00
Lars Brinkhoff
d01cd826b3 PDP11: Allow setting core size to 8K, 24K, 40K, and 56K. 2018-07-28 20:47:09 -07:00
Mark Pizzolato
7a08f2368e SCP: Add debug duplicate line output summary support 2018-07-27 13:56:18 -07:00
Mark Pizzolato
9cc726790e SCP: Avoid "Unexpected internal error" for expected conditions 2018-07-27 08:39:23 -07:00
Mark Pizzolato
52e8c7f6f8 UC15: Fix shared memory segment size parameter 2018-07-21 02:22:26 -07:00
Mark Pizzolato
a541aa2c46 PDP11, VAX: Add proper pointer in XQ Help info for Throttling 2018-07-21 02:21:43 -07:00
Mark Pizzolato
91e4efbd59 SHMEM: Fix various Linux and Windows problems
- Windows did not validate that the a segment size was correct.
- Add shared memory object name to the management structure
- Linux shared memory object names must start with a /
- Linux umask setting to assign permissions
- Add textual explanations for failure cases
2018-07-21 02:20:47 -07:00
Mark Pizzolato
4487646946 DISK: Fix auto sizing and non auto sizing logic checks
As reported in #581 and #565
2018-07-19 23:33:09 -07:00
Mark Pizzolato
15fd71b97c SCP: Fix Coverity identified issues 2018-07-17 22:05:05 -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
b25a19769e TIMER: Tolerate negative usec activation delays and pass thru as instructions 2018-07-17 15:34:08 -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
65e931c1ff SCP: Provide context for unexpected event processing errors 2018-07-17 08:48:11 -07:00
Mark Pizzolato
bd347e6807 Visual Studio Projects: Update windows-build version dependency 2018-07-16 10:23:57 -07:00
Mark Pizzolato
e537e4d8fe TIMER: Fix additional timespec overflow cases in diff and compares 2018-07-15 10:18:30 -07:00
Mark Pizzolato
97bee79faa TIMER: Fix overflow error in sim_idle_ms_sleep() timespec tv_nsec field
Backed out commit 484889ea5a since the overflow of the timespec tv_nsec
field was the real cause of the problem.  No need for an extra mutex.

As reported in #595
2018-07-15 10:11:14 -07:00
Mark Pizzolato
9e60a8e783 slirp: Accommodate building under newer C++ compilers 2018-07-15 07:37:54 -07:00