Commit graph

3500 commits

Author SHA1 Message Date
John Forecast
89215d8288 DISK: Fix Coverity flagged issues with tainted data and potential overflow 2020-02-17 19:14:51 -08:00
Mark Pizzolato
545c505f44 PDP11, Unibus and Qbus VAX: Fix VH interrupt delivery
- A hang during transition from DMA to programmed I/O.  Force
- Change to single character DMA operations before network transmit
2020-02-17 02:51:02 -08:00
Mark Pizzolato
09ced95ce2 HP2100: Update to early Release 29 which is still simh V4.x API compatible
Dave Bryan has migrated support for this simulator to http://simh.trailing-edge.com/hp
2020-02-16 22:25:15 -08:00
Mark Pizzolato
6bbbc19e01 HP3000: Update to early Release 8 which is still simh V4.x API compatible
Dave Bryan has migrated support for this simulator to http://simh.trailing-edge.com/hp
2020-02-16 22:24:16 -08:00
Mark Pizzolato
254e173fc1 SCP: Add support for a simulator specific release announce message 2020-02-16 21:46:40 -08:00
Mark Pizzolato
36a732b26f H316: Update error and warning messages to properly use SCP APIs 2020-02-16 17:30:20 -08:00
Mark Pizzolato
bbb545d4bd H316: Add Bob Armstrong's Readme documentation for the IMP tests 2020-02-16 17:25:54 -08:00
Mark Pizzolato
964b177616 SCP: Fix potential hang during debug when asynchronous I/O is happening 2020-02-16 17:15:49 -08:00
Mark Pizzolato
27ebb9a8ee ETHER: Fix typo in comment 2020-02-16 17:13:38 -08:00
Charles Anthony
e8bceec8e2 H316: Implement the IMP host interface.
- From Charles Anthony passed through Lars Brinkhoff
- Cleaned up for cross platform builds - Mark Pizzolato
2020-02-15 13:19:37 -08:00
Mark Pizzolato
e52d65d8e4 PDP11, Unibus and Qbus VAX: Properly identify line generating xmit interrupts
As mentioned in #782
2020-02-13 11:11:58 -08:00
Mark Pizzolato
09d6a7919c PDP11, Unibus & Qbus VAX: Properly clear CSR TRDY until transmit completes
As reported in #782
2020-02-11 18:48:44 -08:00
Lars Brinkhoff
27c1f36550 PDP11: USB game controllers for Dazzle Dart. 2020-02-11 21:02:30 +01:00
Lars Brinkhoff
4eaf4f1bdc PDP1: USB game controllers for Spacewar. 2020-02-11 21:02:30 +01:00
Mark Pizzolato
750b8f40cb PDP11, Unibus & Qbus VAX: Properly manage CSR TRDY bit status changes
As reported in #782
2020-02-10 12:00:48 -08:00
Mark Pizzolato
e333a691d0 DISK: Ignore NULL unit with HELP <dev> ATTACH for disk devices
Related to activities in #801
2020-02-10 10:41:33 -08:00
Lars Brinkhoff
a562c8727b video: SDL_ControllerButtonEvent button conversion.
Uint8 needs casting to SDL_GameControllerButton.
2020-02-09 13:15:21 -08:00
Mark Pizzolato
78f8599024 DISK: Limit HELP output attach commands to at most 4 disks
As discussed in #801
2020-02-09 07:17:12 -08:00
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