Commit graph

3782 commits

Author SHA1 Message Date
Mark Pizzolato
8e44ddec6f PDP11, Unibus & Qbus VAX: Fix DZ Device transmit interrupt line signaling
As reported in #782
2020-02-09 07:15:28 -08:00
John Forecast
d00c1d4540 DISK: Add RSTS file system recognizer
Thorough fix to #581
2020-02-07 15:51:12 -08:00
Lars Brinkhoff
0e3187a196 display: Add display_close. 2020-02-07 21:11:13 +01:00
Lars Brinkhoff
72b89054da video: Add support for SDL joysticks and game controllers. 2020-02-07 16:58:24 +01:00
Lars Brinkhoff
05e4babe24 video: Take address of SDL event union member rather than casting pointer. 2020-02-07 16:58:19 +01:00
Mark Pizzolato
593f36aec7 SCP: Add explanatory comments in sim_rev.h 2020-02-04 16:09:33 -08:00
Bill Beech
e48077d7f3 IntelSystems: Silence Coverity generated warning 2020-02-04 17:02:18 -07:00
Bill Beech
4cd8aff027 swtp6800: Correct overflow(V) flag status bit 2020-02-04 16:27:19 -07:00
Bill Beech
08330de7f4 swtp6800: Correct address bound on memory write 2020-02-04 16:26:29 -07:00
Bill Beech
a2998ebaf2 Intel-Systems: Cleanup and reorganized multibus code 2020-02-04 16:24:05 -07:00
Mark Pizzolato
f01e8900ed B5500: Avoid potential truncataion warning with type consistency 2020-01-31 00:16:43 -08:00
Mark Pizzolato
9ba85568ac ETHER: Review and revise code to address Coverity endianness concerns 2020-01-30 21:46:20 -08:00
Mark Pizzolato
4096a73412 SCP: Fix Coverity identified error path problem 2020-01-30 11:29:44 -08:00
Mark Pizzolato
15590be464 ETHER: Avoid potential memory leak on network shutdown. 2020-01-30 04:26:36 -08:00
Mark Pizzolato
829e64ae67 ETHER: Fix Coverity identified issues
- Let dynamically loaded (Shared Library) routines do argument checking
  if they've been successfully loaded.
- Properly cast file descriptors into SOCKET when stored in the fd_handle
- Clean up error paths when opening tun/tap transports - potential leaks.
- Avoid possible string overflow when opening a tap device on Linux
- Try another way to ignore a return from fread() without getting
  warnings.
2020-01-30 02:26:20 -08:00
Mark Pizzolato
5706465bff makefile: Remove -fcommon for gcc/clang builds
as discussed in #974
2020-01-30 02:17:13 -08:00
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