Commit graph

3466 commits

Author SHA1 Message Date
Peter Schorn
8198bac160 AltairZ80: Fix Coverity detected issues in s100_tarbell.c 2020-01-30 09:55:05 +01:00
Richard Cornwell
7116915937 B5500: Fix error with punch of binary data. 2020-01-29 22:33:58 -05:00
John Forecast
a6701c1349 CDC1700: Retire use of sim_vm_init and invoke init logic from cpu_reset 2020-01-29 15:11:34 -08:00
Mark Pizzolato
8a858c181d SCP: Clean up WEAK definition and rework deprecated references to sim_vm_init
As discussed in #794
2020-01-29 12:30:25 -08:00
Mark Pizzolato
ca4b733883 makefile: Force gcc/clang -fcommon to address future gcc -fno-common default
as reported and discussed in #794
2020-01-29 11:39:36 -08:00
Mark Pizzolato
30c182a10c ETHER: Clean compile warning on Windows compiled as C++ 2020-01-29 11:33:41 -08:00
Mark Pizzolato
2e9fd354a4 makefile: Add additional details guiding cmake generation 2020-01-26 19:53:45 -08:00
Mark Pizzolato
a4a65101bf makefile: remove NOASYNC and NOPTHREADS options
These were possibly useful options when asynch support was being
added long ago.  Async simulator I/O is quite stable and should always
be leveraged whenever pthreads is available.
2020-01-24 18:06:06 -08:00
Mark Pizzolato
c88a450628 ETHER: Restore missing _eth_devices() stub when networking is disabled 2020-01-23 23:42:28 -08:00
Mark Pizzolato
ff0ee479a2 ETHER: Simplify error messages when dynamic libpcap loading fails
Only issue load failure message once per execution.
2020-01-23 22:40:18 -08:00
Mark Pizzolato
23c73fb771 makefile: Add NONETWORK=1 option to build simulators without network support 2020-01-20 10:06:25 -08:00
Mats Engstrom
eef738e7fb Fix prematurely stopped diag test 2020-01-20 11:54:59 +01:00
Mark Pizzolato
9bc5014787 CARD: Avoid potential truncation warnings when allocating the deck buffer
Card decks will never be excessively large (> uint32) since there never
was a computer room big enough to hold that many cards. :-)

Hopper counts and size are all of type t_addr since they are referenced
relative to uptr->pos which tracks the hopper position.  That state is
managed so position is properly managed across a SAVE/RESTORE.

On some systems that use sim_card, t_addr is 64bits, hence
2020-01-18 10:44:16 -08:00
Mark Pizzolato
0970c067a8 makefile: Rename primary target name for vax simulator
make vax the primary build target and microvax3900 the copied result.

The microvax3900 binary name was added when all the different VAX
simulator models were add to simh and each was appropriately named
based on the system model name of each respective simulator.

The vax simulator name was the earliest vax implemented so a binary
of that name is produced for upward compatibility for existing users.
Producing the vax simulator and then copying it to microvax3900
produces equivalent results, but is easier to auto convert to cmake
build configuration files which then will generate a vax project
file when cmake is generating those.
2020-01-14 11:31:12 -08:00
Mark Pizzolato
027c1de446 Unibus VAXen: Clock Coschedule interval timers when intervals are 10ms
Record 10ms tick acknowledgements
2020-01-10 08:19:27 -08:00
Mark Pizzolato
f1f4385984 All VAXen: Add a 2 minute execution limit to diagnostic tests 2020-01-09 23:54:53 -08:00
Mark Pizzolato
01f93e9507 SCP: Add SHOW RUNLIMIT to examine the state/condition of any execution limit 2020-01-09 23:53:41 -08:00
Mark Pizzolato
f9e4e9efba Unibus VAXen: Avoid trying to make interval timers calibrated clocks
Programmatic interval timers are not proper candidates for calibrated
clocks since the interval values can change arbitrarily under program
control and then interfer with attempts at proper calibration.
2020-01-09 23:37:06 -08:00
Mark Pizzolato
cb3d782897 makefile: Add support for extra library directories on Android (termux)
- removed warning suppression for unused-result and format-truncation
2020-01-09 03:07:28 -08:00
Mark Pizzolato
68cfea6a71 PDP8: A 2 minute execution limit to diagnostic tests 2020-01-09 02:49:22 -08:00
Mark Pizzolato
7581b92f9d SCP: Add a RUNLIMIT command to bound simulator execution time 2020-01-08 11:49:22 -08:00
Mark Pizzolato
35252369eb SCP: Identify the build tool chain in the SHOW VERSION output 2020-01-07 20:30:18 -08:00
Mark Pizzolato
f435533a39 makefile: Migrate use of $() variable insertion to ${} for easier conversion 2020-01-07 19:04:32 -08:00
Mark Pizzolato
106c5dbbc1 BESM6: Add missing newline in panel enable error message text 2020-01-04 11:38:55 -08:00
Mark Pizzolato
bcdabeb9fe SAGE, PDQ-3: Silence GCC optimizer warnings about unused function results 2020-01-04 08:42:15 -08:00
Mark Pizzolato
787edb211c SCP: Fix pcre remaining issues 2020-01-03 19:55:22 -08:00
Mark Pizzolato
c8f7315518 SCP: Change regular expression API from regex to pcre 2020-01-02 06:42:46 -08:00
Mark Pizzolato
714f0a445b SCP: Avoid broken regular expression APIs
If libpcreposix isn't available, we can't fall back to the local
regex.h since the default C runtime on Linux and OS/X implementations
of the regex functionality doesn't ever match regular expressions
with imbedded newlines.
2020-01-01 20:23:17 -08:00
Mark Pizzolato
9185a3d8f0 travis: Add missing besm6 simulator from the build 2020-01-01 20:22:09 -08:00
B. Scott Michel
89a9414aeb PDP8: Add initial round of PDP-8 system diags 2020-01-01 16:03:54 -08:00
Mark Pizzolato
f310d750e2 makefile: Add missing test check/invocations to various targets 2020-01-01 15:56:21 -08:00
Mark Pizzolato
a314cb680b swtp6800: Fix inconsistent indentation block 2020-01-01 08:35:37 -08:00
Mark Pizzolato
28dad5782c FrontpanelTest: Win32 DisplayRegisters written should be DWORD and not int 2019-12-30 17:44:32 -08:00
Mark Pizzolato
4fe9ae7f76 H316, Ibm1130, S3: Silence GCC warnings about potential format truncation 2019-12-30 17:44:15 -08:00
Mark Pizzolato
3dc0d24ded I1401, I1620, I7094, S3: Silence GCC optimizer warnings about unused function results 2019-12-30 17:43:35 -08:00
Mark Pizzolato
b18912cda8 SCP: Silence GCC optimizer warnings about unused function results 2019-12-30 15:33:51 -08:00
Mark Pizzolato
1d1fe6f329 BuildROMS: Avoid theoretical buffer overruns 2019-12-30 13:54:14 -08:00
Mark Pizzolato
78fa98fd7e PDP11, Unibus VAX: Cleanup attach of Chaos Net routine 2019-12-30 13:47:03 -08:00
Mark Pizzolato
e7cf2a00ec CARD: Use proper int types for messages emitted
t_addr may not be an int equivalent type depending on simulator build
parameters.  Any messages for card activities will always be within int
bounds.
2019-12-30 13:16:30 -08:00
Mark Pizzolato
d131f66c40 FIO: Fix non Win32 behaviors of sim_dir_scan
Allow for a file not found case to be determined and explicit file and
full directory scan when GLOB and FNMATCH aren't available.
2019-12-30 13:12:41 -08:00
Mark Pizzolato
236716845a PDP11, VAX: Only generate DZ output complete interrupt each line once
As reported in #782
2019-12-29 12:45:27 -08:00
Mark Pizzolato
11fed22dc7 Visual Studio Projects: Do parallel builds for multiple projects when VS > 2008 2019-12-28 14:54:46 -08:00
Mark Pizzolato
5213e1125d SCP: Add support to identify a simulator specific release version
Included from Dave Bryan's V3.11 extensions
2019-12-28 12:34:06 -08:00
Mark Pizzolato
e611e0ceed SCP: Add global variable with the program name
Included from Dave Bryan's V3.11 extensions
2019-12-28 11:00:59 -08:00
Mark Pizzolato
7642d29f2c CONSOLE: Fix argument passing in SHOW CONSOLE
There are no extended arguments while parsing SHOW CONSOLE commands.
SHOW CONSOLE is a special parsing case somewhat equivalent to of SHOW
DEVICE for a device display.  No SHOW CONSOLE commands take value arguments.

Adopted from Dave Bryan's changes in V3.11
2019-12-28 10:45:03 -08:00
Richard Cornwell
9a481e4907 B5500: Fixed DTC for SCP change.
B5500: Fixed DTC for SCP change.
2019-12-28 01:17:35 -08:00
Mark Pizzolato
37ec5444ea Visual Studio Projects: Enhance build_vstudio.bat to build individual projects 2019-12-22 10:17:16 -08:00
Mark Pizzolato
0c8b6075ed Visual Studio Projects: Update windows-build dependencies version to 20191221 2019-12-21 09:38:16 -08:00
Mark Pizzolato
56ed67e2bf Visual Studio Projects: Provide a command line VS build procedure
Similar to the build_ming.bat procedure which will invoke MinGW to
biuild siimulators, this procedure will rebuild all of SIMH simulators using
Visual Studio.

If this procedure is not invoked from a Developer Command Prompt
then the VS2008 tools are preferred if VS2008 is installed,
otherwise the installed Visual Studio tools will be used
prefering newer Visual Studio versions over older ones.

If this procedure is invoked from a Developer Command Prompt
then the tool chain provided with the command prompt is used
to build the simh projects.

A single argument to this procedure may be the word Debug, which
will cause Debug binaries to be build rather than the Release
binaries which is the default.
2019-12-21 09:37:51 -08:00
Mark Pizzolato
76e6111dd4 VAX: Avoid Windows Firewall prompt when running tests during build
This procedure establishes a telnet listen port solely so that the console
output traffic can be buffered (and not emitted).  Since nothing will ever
connect to this port we bound it to the localhost address so that firewall
prompts aren't generated when building in a new directory.
2019-12-21 06:51:41 -08:00