Commit graph

3505 commits

Author SHA1 Message Date
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
Mark Pizzolato
0daa80e03d SCP: Add support for library unit test routines 2018-08-26 18:15:30 -07:00
Mark Pizzolato
8ac1845b30 TMXR: Fix to drop DCD and CTS when a modem connection is dropped remotely
As reported  in #609
2018-08-26 15:45:12 -07:00
Mark Pizzolato
6a015d3ef9 PDP11, all VAX: VH device modem signal fixup
As reported in #609
2018-08-24 14:33:04 -07:00
Mark Pizzolato
af173b7b6e TMXR: Rework modem signaling support
- Fix ineffective setting of RNG modem bit when line with DTR isn't available
- Fix logic clearing modem signal bits
- Add API to set/clear modem control behavior fo a specific line.
- return -2 status from tmxr_poll_conn when RNG has been enabled
2018-08-24 11:54:42 -07:00
Mark Pizzolato
b2ff00ab87 SCP: Make debug duplicate message reduction properly the default behavior 2018-08-24 10:08:59 -07:00
Seth Morabito
3f7e473b79 3b2: Fix for erratic CONTTY behavior 2018-08-22 17:13:48 -07:00
Mark Pizzolato
cf57f0d638 Visual Studio Projects: Fix warning building release targets 2018-08-21 19:24:10 -07:00
Mark Pizzolato
03d80face2 Visual Studio Projects: Cleanup properly when build compiler version changes 2018-08-21 18:59:26 -07:00
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