Commit graph

3485 commits

Author SHA1 Message Date
Lars Brinkhoff
65c098ed1c Windows CI build on AppVeyor. 2019-09-17 09:27:10 +02:00
Mark Pizzolato
d40268d1ac TMXR: Silence GCC 8.3 warning about buffer overrun 2019-09-05 17:41:01 -07:00
Mark Pizzolato
108291b3d4 ETHER: Fix fault when parsing bad NAT: parameters adding better error reporting 2019-09-05 17:40:16 -07:00
Mark Pizzolato
7398e63b00 ETHER: Only reference pcap_lib_version() when HAVE_PCAP_NETWORK is defined 2019-09-03 00:39:09 -07:00
Seth Morabito
731d99cf65 3b2: CMP{W|H|B} instruction fix
The WE32100 supports expanded datatypes for its opcodes, allowing an
opcode to override the default size (byte/halfword/word) expected by the
instruction. For example:

        CMPH &0x10000,{uword}-8(%fp)

Without the {uword} marker, this instruction would only compare the
lower 2 bytes of -8(%fp) against the lower two bytes of the constant
value 0x10000, since the CMPH instruction compares halfwords. However,
with the {uword} marker, the CMPH instruction promotes the opcode from a
halfword to an unsigned word, sign extending if appropriate.

The CMP{W|H|B} instruction implementation in the 3B2 simulator was
ignoring any expanded type markers on its opcodes when checking whether
to set the "N" (negative) bit in the PSW, leading to a failure in
compiling GCC. This fix causes the instruction to honor the expanded
datatype in this case.
2019-09-01 11:45:45 -07:00
Seth Morabito
e4e7071b6a 3b2: Improve NI performance
This change implements asynchronous (non-polling) mode for NI Ethernet
packet receive.
2019-08-25 20:39:48 -07:00
Mark Pizzolato
9539b6273b SCP: Properly consider units with UNIT_DIS set when formatting HELP output 2019-08-25 09:33:09 -07:00
Mark Pizzolato
a031e69881 ETHER: Fix additional race when closing a NAT(slirp) network connected device 2019-08-23 23:55:41 -07:00
Seth Morabito
eaf34fe2c6 3b2: Add correct CTC subdevice information 2019-08-20 06:56:50 -07:00
Mark Pizzolato
2b6675b260 Visual Studio Projects: Simplify windows-build include directory references
Avoid having to list each dependent package with a version specific include
directory per package
2019-08-16 02:05:04 -07:00
Seth Morabito
9736cc3116 3b2: STRCPY fix, CTC and NI cleanup
- The previous fix for STRCPY introduced a new bug. STRCPY must always
  copy the final NULL terminator of the string, but must NOT increment
  the source or destination pointers for the NULL terminator.

- The CTC simulation did not correctly support streaming mode, which
  can in some cases request reads that are not on 512-byte block
  boundaries.

- To begin to support System V Release 4 UNIX, the NI card (called EMD
  under SVR4) needed to support several more CRC codes for pump code.
2019-08-15 08:07:49 -07:00
Mark Pizzolato
61e101b5e2 Visual Studio Projects: Add NAT(slirp) support to PDP10-KA and PDP10-KI 2019-08-13 23:53:25 -07:00
Mark Pizzolato
baadba132a SCP: Fix compiler warnings about potential buffer overrun 2019-08-13 23:49:03 -07:00
Mark Pizzolato
6a193c032d ETHER: Fix possible race conditions when closing a network device
Added pcap version to the SCP output of SHOW VERSION command.
2019-08-13 20:04:09 -07:00
Mark Pizzolato
d6f9c586d1 SCP: Update several ReadMe files 2019-08-12 09:11:45 -07:00
Richard Cornwell
8c00d94be4 KA10: General update.
Added BASE option to auxcpu to move memory region.
   Fix errors in Card Reader/Card Punch translation and operation.
   Fixed problems with ITS quantum timer.
   Added support for System Concepts DC10 disk controller (Lars).
   Fixed errors in Line Printer control codes.
   Added support for Lines per page to LP10.
   Fixed issues with 7 track tapes on TM10.
   Updated user guides
2019-08-12 07:51:52 -07:00
Richard Cornwell
866ce293e5 I7000: Fixed bug in printer resting file. Fixed Coverity error. 2019-08-12 07:40:24 -07:00
Richard Cornwell
68df51fc22 B5500: Fixed bug in printer moving to start of file after prompt. 2019-08-12 07:38:26 -07:00
Richard Cornwell
bc01220e06 CARD: Fix translation error in 026 cards. 2019-08-12 07:34:55 -07:00
Seth Morabito
ab27a53014 3b2: Fix STRCPY instruction
STRCPY must increment both source and destination pointers (R0 and R1).
2019-08-11 22:49:17 -07:00
Mark Pizzolato
69ec377834 PDP11: Fix SET command parsing to require values for all ADDRESS and VECTOR 2019-08-01 07:16:34 -07:00
Mark Pizzolato
4b1ab13bd8 PDP11: Fix SET KDP VECTOR=nnn to allow proper vector setting (Geoff Conway) 2019-08-01 07:06:15 -07:00
Mark Pizzolato
354a1e42ea VIDEO: Add display of versions of dependent libraries (libpng, zlib)
Add specific makefile check for zlib being available
2019-07-30 22:30:03 -07:00
Mark Pizzolato
9662d7f4d1 S3: Avoid potential buffer overruns 2019-07-30 22:17:41 -07:00
Mark Pizzolato
c117698c1d PDP11: Fix SET XQ/XQB VECTOR=nnn command (Geoff Conway) 2019-07-30 22:14:42 -07:00
Mark Pizzolato
35a5389940 PDP11, Unibus VAX: Fix typo in XUB device register declaration (Dave Hittner) 2019-07-30 22:12:57 -07:00
Lars Brinkhoff
2f707ffc6e travis: Travis CI matrix build. Each job builds 15 simulators. 2019-07-22 13:32:57 -07:00
Seth Morabito
6554e0a4ab 3b2: Fix Windows build warnings
Fixed several possible loss of precision warnings when implicitly
casting t_uint64 to uint32.
2019-07-20 20:05:32 -07:00
Mark Pizzolato
3e71c301ba Visual Studio Projects: Add support for compiling under Visual Studio 2019 2019-07-20 15:40:12 -07:00
Seth Morabito
292898e9f4 3b2: Fix critical MAU issues
- A bug in the Square Root implementation could lead to
  an infinite loop.

- Incorrect rounding was used when MAU destination register
  was single or double word.

- Fix Coverity-discovered issues.
2019-07-19 16:34:32 -07:00
Peter Schorn
c1d9db8be7 AltairZ80: Remove old documentation and replace with current 2019-07-18 20:45:59 +02:00
Mark Pizzolato
7b5dc834fd MicroVAX2: Add IDLE support for Console ROM and Diagnostic Monitor 2019-07-17 09:00:24 -07:00
Mark Pizzolato
0b9cfa9b4d AltairZ80: Fix potential buffer overrun compiler warnings 2019-07-16 05:08:37 -07:00
Mark Pizzolato
d3228e85b0 IBM1130: Cleanup potential buffer overruns in SCA device 2019-07-16 04:33:34 -07:00
Mark Pizzolato
437e5a4bb5 H316: Use snprintf() to avoid potential buffer overflow 2019-07-16 04:12:42 -07:00
Mark Pizzolato
6041cd627b PDP11, PDP10, Unibus VAX: Fix potential buffer overflow warning 2019-07-16 03:46:04 -07:00
Mark Pizzolato
89d51032e2 PDP11, Unibus VAX: Fix Coverity identified warning 2019-07-16 03:15:25 -07:00
Mark Pizzolato
40731f0433 SCP: Fix help topic matching to properly return wildcard and ambiguous status
As reported in #723
2019-07-16 03:12:31 -07:00
Mark Pizzolato
2840e3b67f SCP: Fix Coverity identified issues/noise 2019-07-15 00:04:40 -07:00
Mark Pizzolato
716df3c297 SCP: Support MKDIR and RMDIR commands when building with MinGW 2019-07-12 13:45:34 -07:00
Mark Pizzolato
2991ae067d BuildROMS: Cleanup potential buffer overrun and execution with MinGW
As discussed in  #717
2019-07-12 13:44:31 -07:00
Lars Brinkhoff
5e8f48034d display: Fix unbalanced comment and line ending.
The use of the DAC (program counter) isn't fully implemented yet, so
is put inside NOTYET.
2019-07-10 08:12:39 +02:00
Mark Pizzolato
2f04109f0d descrip.mms: use consistent indentation and reasonable comment 2019-07-09 22:21:12 -07:00
Mark Pizzolato
7c8ad477c8 display: Fix mode variable used in type340 display to be enum. 2019-07-09 22:09:06 -07:00
Mark Pizzolato
ef00a62e66 Visual Studio Projects: Add PDP6, PDP10-KA and PDP10-KI to the solution 2019-07-09 21:03:56 -07:00
Richard Cornwell
2d50b3af25 SCP: Updated top level files for PDP10 KA/KI and PDP6 simulators. 2019-07-09 21:02:00 -04:00
Richard Cornwell
90b7d2beac KA10: Initial release of PDP10 KA/KI and PDP6 simulators. 2019-07-09 20:59:01 -04:00
Mark Pizzolato
461f2ea513 SCP: Add MKDIR and RMDIR commands 2019-07-08 00:38:08 -07:00
Mark Pizzolato
85770281fb H316: Remove Coverity indicated warnings rather than declaring them intentional 2019-07-07 19:29:30 -07:00
Mark Pizzolato
526e03bbe1 DISK: Remove dangling semicolon compiler warning. 2019-07-07 19:27:28 -07:00