Commit graph

3466 commits

Author SHA1 Message Date
Mark Pizzolato
e6490223eb TAPE: Fix P7B record length return when encountering a tape mark 2019-04-02 09:26:34 -07:00
Mark Pizzolato
2ba50a3f70 TAPE: Fix potential Coverity complaints 2019-04-01 15:06:25 -07:00
Mark Pizzolato
de829e52e9 TAPE: Fix incorrect comparison typo. 2019-03-31 09:35:52 -07:00
Mark Pizzolato
d022ea42a1 SCP: Avoid potential divide by zero when initially displaying the event queue 2019-03-30 17:38:35 -07:00
Mark Pizzolato
e7309d947b PDP10, PDP11, VAX: Fix event initial scheduling to properly start after a reset 2019-03-30 17:37:28 -07:00
Mark Pizzolato
98f6aae31a TAPE: Make ATTACH time validation check more robust
- Different systems used tape marks in different ways that are now
  tolerated (multiple successive ones located on different parts of
  the tape, etc.)
- Always validate beginning and end of record length indicators to avoid
  moving into invalidly structured tape data
2019-03-30 09:27:02 -07:00
Mark Pizzolato
e56b5f05e7 TAPE: Add support for AWS format tape images
Also added extended tape unit test code
2019-03-26 14:06:57 -07:00
Mark Pizzolato
d8b6a70c54 SCP: Add support for optional -D (debig) switch when running library tests (-T) 2019-03-26 14:05:37 -07:00
Mark Pizzolato
3d13218263 SCP: Add ability to set debug display switches on the fly 2019-03-26 14:04:09 -07:00
Mark Pizzolato
b59ad75217 SCP: Properly allow all debug option switches (EBCDIC and RAD50 text) 2019-03-26 01:39:13 -07:00
Mark Pizzolato
9c75a7bfaa SCP: Correct help and doc to properly describe file compare IF command 2019-03-26 01:38:01 -07:00
Peter Schorn
ddb4cb4661 AltairZ80: Fix issue detected by Coverity (unchecked sim_fseek in n8vem.c) 2019-03-24 21:51:26 +01:00
Mark Pizzolato
5960bca32a SCP: Add a local rand() implementation to avoid Coverity issues 2019-03-20 12:57:36 -07:00
Seth Morabito
726a07b547 3b2: Fix Coverity identified issues
This change also addresses some unused function parameter warnings
issued by GNU Flycheck (not generally used by the build process, but
useful when editing files with Flycheck enabled)
2019-03-20 10:13:30 -07:00
Mark Pizzolato
690b896cb4 TAPE: Fix Coverity identified issues 2019-03-20 01:45:16 -07:00
Mark Pizzolato
a006c67bc9 TAPE: Update the tape device help to describe -V ATTACH option 2019-03-19 22:05:54 -07:00
Mark Pizzolato
a3dd39fee9 display: make ng compilable under C++ 2019-03-19 18:24:24 -07:00
Mark Pizzolato
f09e9c290a TAPE: Add tests and Coverity cleanups 2019-03-19 10:24:28 -07:00
Mark Pizzolato
3840765c63 TMXR: Properly test when adding debugging options only to DEV_MUX DEVICEs 2019-03-13 06:45:21 -07:00
Mark Pizzolato
e68af896d0 TAPE: Add -V option to ATTACH to read/verify tape images at attach time 2019-03-11 11:57:14 -07:00
Mark Pizzolato
5b9a0724d3 SCP: Add -A option to ATTACH command to open in append mode 2019-03-11 11:54:56 -07:00
Seth Morabito
b0a4fb443c 3b2: NI 10Base5 Ethernet Device
- Implements an Ethernet device ("NI", for "Network Interface")
    for the 3B2 simulator.
2019-03-09 14:32:21 -08:00
Mark Pizzolato
4b82a90c43 SCP: Assure that file buffers get flushed during frontpanel API halts
As reported in #668
2019-03-09 06:50:02 -08:00
Mark Pizzolato
c7b0928b33 SCP: Avoid potential buffer overruns by using strlcpy() and strlcat() 2019-03-08 12:31:01 -08:00
Mark Pizzolato
72451ba202 PDP11: Fix RL, HK and TQ I/O Error path to properly clear observed errors 2019-03-08 12:28:07 -08:00
Mark Pizzolato
c408d0a8fa SCP: Avoid flushing active asynch I/O devices 2019-03-06 19:08:19 -08:00
Mark Pizzolato
d7e116f81a SCP: Periodically flush open files
As discussed in #668
2019-03-06 10:54:25 -08:00
Mark Pizzolato
17a7ee04fc SCP: Avoid changing the status after context for unexpected event status return 2019-03-02 08:32:36 -08:00
Tony Nicholson
9261a09158
makefile: Fix case-sensitive pathname for cygwin 3.0.x with Windows 10 WSL enabled
Windows 10 1803 or later NTFS filenames are set to be case-sensitive if the Windows  Subsystem for Linux (WSL) feature is turned-on. This was causing a build under cygwin 3.0.1 to fail detecting the libpcap header and library locations in the ../windows-build/libpcap directory.
2019-02-28 18:59:47 +11:00
Mark Pizzolato
fa10e1de49 SCP: Allow device service routines to return simulator specific error codes 2019-02-23 16:46:25 -08:00
Peter Schorn
86114729de AltairZ80: Make WD179X device more robust and fix Coverity issue 2019-02-23 13:22:52 +01:00
Mark Pizzolato
314a1da988 SCP: Try to silence a Coverity warning with a different expression. 2019-02-20 20:50:16 -08:00
Mark Pizzolato
880c8a89b7 PDP11, PDP18b, PDP8, VAX750, SCP: Silence Coverity identified complaints 2019-02-20 08:32:37 -08:00
Mark Pizzolato
857934d40e SCP: Properly report errors in malformed SET ENV -P commands 2019-02-19 12:11:29 -08:00
Peter Schorn
52817a58b9 AltairZ80: Fixed hard disk device boot 2019-02-09 17:44:23 +01:00
Mark Pizzolato
66743dfb92 PDP11: Allow successful build when SDL isn't available for NG and DAG 2019-02-07 11:45:48 -08:00
Mark Pizzolato
a7e5791077 Visual Studio Projects: Update PDP11 for NG and DAZ devices
Also update README.md to mention new PDP11 devices
2019-02-07 05:11:45 -08:00
Lars Brinkhoff
a070a5375c PDP11: Add 11LOGO programming language and make it bootable from the NG device. 2019-02-07 08:16:52 +01:00
Lars Brinkhoff
3bdf41c809 PDP11: Add Dazzle Dart game and make it bootable from the DAZ device. 2019-02-07 08:16:49 +01:00
Lars Brinkhoff
85beae1194 PDP11: Dazzle Dart input box. 2019-02-07 08:16:46 +01:00
Lars Brinkhoff
5aa8454ab5 PDP11: NG, Knight display. 2019-02-07 08:16:31 +01:00
Mark Pizzolato
25ab8de55d SCP: Allow all HELP command arguments to be provided at the sim> prompt 2019-02-06 10:00:27 -08:00
Mark Pizzolato
a1ecce16bf ETHER: Add tests for crc and bpf filter construction logic 2019-02-02 12:44:09 -08:00
Mark Pizzolato
75d18d4db0 SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT 2019-02-01 16:07:12 -08:00
Mark Pizzolato
0869cef132 SCP: Assure that internal library test exits with any failing status 2019-02-01 07:38:04 -08:00
Mark Pizzolato
f7a17cae15 ETHER: Fix BPF filter generation for promiscuous mode when reflections 2019-01-29 23:03:04 -08:00
Mark Pizzolato
02bd6f0666 makefile: Fix libSDL dependency when building with MinGW 2019-01-28 20:54:39 -08:00
Mark Pizzolato
2f8fca49c6 SCP: Move sim_ library debug masks to all be high bits
This is to allow DEVICE defined debug masks to start using the low bits
in the 32 bit debug mask and avoid collisions with library defined values.
2019-01-23 15:17:19 -08:00
Mark Pizzolato
183a8aab60 SCP: Change Unix debugger SIGINT command to SET CONSOLE DBGINT=n 2019-01-22 20:16:04 -08:00
Mark Pizzolato
bacf1a7445 SCP: Use internal device SCP-PROCESS for SCP level debugging 2019-01-22 15:48:48 -08:00