Commit graph

3353 commits

Author SHA1 Message Date
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
Mark Pizzolato
68e442358b ETHER: Issue normal messages with sim_messagef() when appropriate 2019-01-22 13:56:12 -08:00
Mark Pizzolato
efd52d96bd ETHER: Explicitly allow MAC address to be the host interface MAC address
A warning will be issued unless an attach is done with the -Q switch.
2019-01-22 13:36:19 -08:00
Mark Pizzolato
b57b1b99ba SLIRP: Enrich help info to clarify NAT option parameters 2019-01-22 11:18:04 -08:00
Mark Pizzolato
cb9876ce65 SCP: Cleanup gcc compiler flagged potential issues
Compiler warnings about undeclared case fall throughs, and potential
buffer overruns,
2019-01-21 16:43:17 -08:00
Mark Pizzolato
3cca0cf90b SCP: Cleanup MinGW compile warnings 2019-01-21 02:36:42 -08:00
Mark Pizzolato
ad40f57809 ETHER: Force a dedicated interface "up" if it is down 2019-01-20 18:23:49 -08:00
Mark Pizzolato
6f1255c142 ETHER: Fix reflection count error logic recently broken
Removed overloaded ambiguous return values from eth_reflect() and
eth_check_address_conflic().
2019-01-20 15:02:25 -08:00
Mark Pizzolato
344e24dcbb SCP: Tolerate sim_instr() return when last debug is missing a newline 2019-01-19 19:14:14 -08:00
Mark Pizzolato
7e19679c93 README: Update to reflect recent changes/release 19-01 2019-01-15 13:43:32 -08:00
Lars Brinkhoff
037981d583 display: Make it possible to adjust Type 342 character grid size. 2019-01-14 12:57:46 -08:00
Lars Brinkhoff
5ba6aacace display: Update Type 340 shift out character set.
Character codes found in ITS.  Glyph appearance was made up.
2019-01-14 12:56:44 -08:00
Seth Morabito
ae0cad26e4 3b2: Make floppy controller a DEV_DISK device
- Formerly, the floppy controller buffered an entire diskette image
  in memory using the unit buffer, and flushed it out on detach or
  shutdown. This worked well enough, but it's better to have the
  device use the SIMH disk sector read and write routines and
  behave like a true disk.

- Read Only (Write Protect) logic has also been enabled in the
  floppy controller, allowing users to mount images that do not
  have write permissions.

- The IF (Integrated Floppy) and ID (Integrated Disk)
  device names were poorly chosen. They conflict with built-in
  scp commands and mess up the help system. This commit
  changes them to IFLOPPY and IDISK, respectively.

  NOTE!! THIS IS A BREAKING CONFIG CHANGE!!
2019-01-13 22:25:26 -08:00
Richard Cornwell
9b631bffc5 B5500: Updated u-variable to names, updated to handle new translations. 2019-01-13 22:39:27 -05:00