Commit graph

3563 commits

Author SHA1 Message Date
Mark Pizzolato
146f05d1f7 SCP: Cleanup compiler warning about potential buffer truncation 2020-02-25 00:17:49 -08:00
Lars Brinkhoff
8b64e5df1a VIDEO: SDL init/quit gamecontroller subsystem implies joystick. 2020-02-25 06:38:19 +01:00
Lars Brinkhoff
f5a9bed34c DISPLAY: Keep track of device using the display.
Don't let someone close the display if they're not the one having
opened it.
2020-02-25 06:38:10 +01:00
Mark Pizzolato
26fa91a335 TIMER: Avoid clocks with changing tick rates as the primary calibrated timer
Some simulators have clocks that have dynamically programmable tick
rates. Such a clock is only a reliable candidate to be the calibrated
clock if it uses a single tick rate rather than changing the tick rate
on the fly.  Generally most systems like this, under normal conditions
don't change their tick rates unless they're running something that is
examining the behavior of the clock system (like a diagnostic).  Under
these conditions this clock is removed from the potential selection as
"the" calibrated clock that all others are relative to and if necessary,
an internal calibrated clock is selected.
2020-02-23 00:31:45 -08:00
Mark Pizzolato
1725ed20db ETHER: Update preferred Windows packet capture to be WinPcap
- Npcap is not currently a superset of WinPcap.  Specifically it doesn't
  allow traffic from simulators to the host system to be received by the
  host system network stack.

As discussed in nmap/nmap#1929 and nmap/nmap#1343
2020-02-22 19:07:01 -08:00
Richard Cornwell
cc17f044f0 CARD: Clean up typo from Coverity fix. 2020-02-22 22:01:11 -05:00
Mark Pizzolato
721e2f42c5 ETHER: Report Windows Npcap as unsupported in the Ethernet version string
Current versions of Npcap can talk directly to the host system's network
stack.  This defect was just discovered.  Fortunately, WinPcap 4.1.3 works
as needed and is still functional on Windows 10.

As discussed in nmap/nmap#1929 and nmap/nmap#1343
2020-02-19 01:39:13 -08:00
Mark Pizzolato
46500ec75e PDP11, Unibus and Qbus VAX: Fix character completion with differing line speeds 2020-02-18 14:51:59 -08:00
Mark Pizzolato
08d2bafb28 TMXR: Remove the ability to detach a serial port while the simulator is running
As discussed in #782
2020-02-18 13:55:22 -08:00
Mark Pizzolato
0fca58a6da TMXR: Add documentation for the -U switch when attaching to a listen port
As mentioned in #782
2020-02-18 13:31:20 -08:00
Peter Schorn
6c84387ec0 AltairZ80: Fix error handling of bad IMD disks and sector size computation 2020-02-18 11:55:29 +01:00
Mark Pizzolato
7e58080fb5 SCP: Fix file name parser to tolerate a name without any slashes in the path 2020-02-17 21:03:20 -08:00
Mark Pizzolato
a2300fcf95 H316: Fix format types in debug messages 2020-02-17 19:16:15 -08:00
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