Commit graph

3875 commits

Author SHA1 Message Date
Mark Pizzolato
74a80c34bd Visual Studio Projects: Fix typo in library version check (Roberto Sancho Villa) 2017-12-18 13:52:23 -08:00
Mark Pizzolato
bdddcb4004 VAX, MicroVAX2: Add display of ROM and NVR address ranges 2017-12-18 05:10:27 -08:00
Mark Pizzolato
51700bc139 FRONTPANEL: Add BREAK and NOBREAK commands to test program 2017-12-17 11:57:34 -08:00
Seth Morabito
e7eaaa8550 3b2: Fix warnings generated by older GCC
GCC 4.1.2 produced several warnings about inline functions.
This commit fixes those warnings.
2017-12-17 11:32:31 -08:00
Mark Pizzolato
65066b13bf FRONTPANEL: Silence Coverity warnings 2017-12-17 03:07:49 -08:00
Mark Pizzolato
649ddc63da FRONTPANEL: Fix logic detecting sim_panel_exec_... API command completion
Command initiating response can be coalesced with subsequent data by TCP.
Gracefully handle when that happens.
2017-12-17 00:35:28 -08:00
Seth Morabito
7bb02e7530 3b2: CONTTY line configuration
Adds modem control line speed configuration to prevent FIFO overflow.
2017-12-16 16:07:08 -08:00
Mark Pizzolato
52990b3bc2 FRONTPANEL: Fix bug that disabled repeat processing 2017-12-15 16:08:10 -08:00
Mark Pizzolato
2de2b9bd80 FRONTPANEL: sim_frontpanel API release 10
- Reworked STEP, HALT, BOOT, and RUN API's to properly interlock with
   the receive thread.
- Shorten destroy delay while debugging to 1 second.
- Allow execution and text breakpoints to be set and/or cleared while
   simulator is running.
2017-12-15 13:57:20 -08:00
Seth Morabito
634a92f8bf 3b2: Fix for critical MMU caching bugs
Two critical issues are fixed with this commit:

1. The MMU cache was being corrupted by writing the 'Last Used'
   bit into the wrong half of the PD cache (low word vs. high word)

2. The MMU cache was being too aggressively flushed on SRAMA
   write, because the wrong length was being used. In addition,
   the code was walking off the end of the cache array when
   flushing any section other than section 0, potentially causing
   memory corruption.
2017-12-15 13:32:17 -08:00
Seth Morabito
6b8d8b048e 3b2: Support software power-off 2017-12-15 13:32:11 -08:00
Mark Pizzolato
2260eee423 CDC1700: Cleanup minor compiler warnings.
- Avoid macro name conflic REG_NONE changed to REG_NOREG
- Avoid a t_offset truncation assigning to a uint16 in drm_attach.
2017-12-15 04:30:03 -08:00
John Forecast
a5feaf2815 CDC1700: Release 3
- Add 1752 Drum support. Allow shared subroutines across interrupt levels.
- Document and add sample scripts for customizing MSOS5.
2017-12-14 16:44:01 -08:00
Seth Morabito
ecf7af59d5 3b2: Remove unused local variable 2017-12-13 16:44:33 -08:00
Seth Morabito
2fdf6bd1d7 3b2: Support for additional hard disk geometries
This commit adds support for the following emulated hard disks:

   HD30       30 MB CDC Wren 94155-36
   HD72       73 MB CDC Wren II 94156-86
   HD72C      72 MB Fujitsu M2243AS
   HD135     161 MB Maxtor XT1190
2017-12-13 16:30:37 -08:00
Seth Morabito
5a19a6b12c 3b2: Support for multiple integrated disks
This commit improves the integrated disk (ID) controller's behavior,
enabling full support for up to two 72MB (emulated WREN II)
integrated winchester disks.
2017-12-13 14:15:56 -08:00
Mark Pizzolato
d99b12b412 FRONTPANEL: Revised test program to more rigorously exercise various cases 2017-12-13 05:47:13 -08:00
Mark Pizzolato
8cc11faf00 FRONTPANEL: FRONTPANEL: sim_frontpanel API release 9
- Add sim_panel_mem_deposit_instruction API
- Properly shutdown debug activities when more than one panel is active
- Properly unwind socket facilities when more than one panel is active
- More rigorously unwind things when a panel is destroyed while its
   simulator is running.
- Give explicit session request traffic priority over potentially pending
   repeat command processing.
2017-12-13 05:44:43 -08:00
Mark Pizzolato
27f9fc3c3e FRONTPANEL: Add test/demo of sim_panel_debug() to test program 2017-12-11 19:45:55 -08:00
Mark Pizzolato
e083a93ea2 FRONTPANEL: Add format buffer bounds checking 2017-12-10 20:04:11 -08:00
Seth Morabito
06e7851d83 3b2: Fix overflow of mask bits in INSFW/EXTFW
- An overflow bug was causing INSFW and EXTFW to fail
  on Windows hosts compiled with Microsoft Visual Studio.
  This commit fixes the issue and causes 3B2 diagnostics
  to pass under win32.
2017-12-10 12:01:08 -08:00
Mark Pizzolato
2292f2cf3e FRONTPANEL: sim_frontpanel API release 8
- Add sim_panel_debug() API to allow the front panel application to write
  directly to the API's debug file.
- Made transitions to panel Error state properly done with the mutex
   properly serializing accesss to the panel State variable.
2017-12-10 04:14:36 -08:00
Seth Morabito
d5f8a84493 3b2: Initial CONTTY support 2017-12-09 21:30:25 -08:00
Mark Pizzolato
7cd1b27b08 BESM6: Fix error message generation to use sim_error_text
As reported in #500
2017-12-09 20:54:10 -08:00
Mark Pizzolato
1d360efe15 ibm1130: Fix build on FreeBSD as discussed in #499 2017-12-09 17:16:35 -08:00
Mark Pizzolato
6487d319cd VMS Build: Restore VAX/VMS host build support
The C RTL on the latest VAX/VMS does not provide a snprintf function.
We provide a 'basic' one which meets the needs of simh as suggested
by Jordi Guillaumes Pons.
2017-12-09 11:21:38 -08:00
Mark Pizzolato
9b1f44f787 SCP: Remove optional write_callback in the REGister structure
The REG structure exists to serve SCP's various activities.  It is
does not exist to provide capabilities to a VM.
2017-12-09 02:54:10 -08:00
Mark Pizzolato
b4c3fa1656 FRONTPANEL: sim_frontpanel API release 7
- Add explicit support for referencing register array elements.
- Reworked the parsing of the grouped output sets for explicitly queried
   registers and the auto repeat output sets.
- Fix race conditions in the various RUN, START, BOOT, and CONT commands.
- Fix incorrect RUN/HALT state after STEP commands
- Tolerate input TCP traffic that has been legitimately coalesced into
   different
2017-12-09 01:25:34 -08:00
Mark Pizzolato
0e4ee6ecce FRONTPANEL: Add support to collect bit samples on register array members 2017-12-07 22:11:43 -08:00
Mark Pizzolato
c223f0fcec FRONTPANEL: Properly digest session traffic which TCP may have coalesced. 2017-12-06 10:46:18 -08:00
Mark Pizzolato
e2cccb78d1 FRONTPANEL: Improve validation of register existence
Initialize register bit data with current registers are added with bit
summary data specified.
2017-12-06 10:38:18 -08:00
Mark Pizzolato
b681f0d850 FRONTPANEL: Add a debug output flushing thread
This facilitates gathering useful debug information if/when execution
seems to hangs.
2017-12-06 10:30:33 -08:00
Mark Pizzolato
a4a6a1d409 SCP: Fix regression which disabled limit check when parsing unsigned integers
This affected unit and tmxr line checks when there was only one unit or line.
2017-12-05 12:23:31 -08:00
Mark Pizzolato
133cf727d5 SCP: Move test for unit disabled to also cover devices with attach routines 2017-12-05 12:17:23 -08:00
Mark Pizzolato
f1f8c8550b makefile: clarified the make command goals which build the BESM6 simulator 2017-12-02 21:17:34 -08:00
Richard Cornwell
4ecb739cf6 SIM_CARD: Update to support IBM360 codes. 2017-12-02 21:05:13 -05:00
Richard Cornwell
3f27200f88 B5500: Cleanup some coverity errors. 2017-12-02 21:04:44 -05:00
Mark Pizzolato
0da9a49c66 slirp: Avoid warnings when compiling with both new and older versions of clang 2017-12-02 15:56:48 -08:00
Mark Pizzolato
b080aa7a2f slirp: Avoid compiler warnings about address of packet members 2017-12-02 15:50:24 -08:00
Mark Pizzolato
afc5580db8 makefile: Fix besm6 build issues when no SDL is available 2017-12-02 15:37:35 -08:00
Mark Pizzolato
b167d889a7 makefile: Add support for HomeBrew supplied packages on OS X
Addresses issues discussed in #493 and #489
2017-12-02 15:22:44 -08:00
Seth Morabito
395420b8b8 3b2: Remove unused variables 2017-11-30 17:43:36 -08:00
Seth Morabito
0a00d8066a 3b2: Coverity issue cleanup 2017-11-30 16:30:53 +00:00
Mark Pizzolato
0293d7f4af SCP: Enrich EXPECT and SEND help and document information 2017-11-29 16:49:20 -08:00
Seth Morabito
9a7306a647 3b2: Use localtime instead of localtime_r 2017-11-30 00:14:24 +00:00
Seth Morabito
22b8e211c6 3b2: Improve TOD calculation 2017-11-29 21:44:40 +00:00
Mark Pizzolato
7df0468b75 makefile: Fix typo in Haiku specific sections 2017-11-27 07:41:25 -08:00
Mark Pizzolato
5ac4aaa1d4 makefile: Rework SDL/SDL2 package support
This change effectively reverts 8b1af8b862 and solves the Haiku build
problem mentioned in #489 in a platform specific way.
2017-11-27 06:43:05 -08:00
Mark Pizzolato
63f55c785e makefile: Abort build if GREP_OPTIONS environment variable is defined
This avoids the interference in this makefile's use of grep
as discussed in #492
2017-11-27 05:31:32 -08:00
Seth Morabito
00f8bbcef1 3b2: Time of Day Clock
- This change adds support for storing time between boots in the Time
  of Day clock. An effort has been made to keep the Time of Day clock
  in sync with the wall clock between boots, so that user-set time
  advances properly between boots.

- Added a couple of custom help routines for TOD and NVRAM.
  I will be filling in more help routines as time permits.
2017-11-26 18:26:11 -08:00