Commit graph

3920 commits

Author SHA1 Message Date
Mark Pizzolato
0c3a9d4d56 SCSI: Compiler warning cleanup 2020-10-19 12:32:14 -07:00
Mark Pizzolato
46133b5dd8 PDP18B: Compiler warning cleanup
- Remove unused variable assignment
- Avoid potential out of array indexing due to theoretical array
  reference via signed char index.  Likely non functional change.
2020-10-19 12:31:02 -07:00
Mark Pizzolato
7bdb5aee8d IBM1130: Compiler warning cleanup
- Initialize local state variable to 0.  Likely non functional changes due
  to lack of depth in static analysis scan.  Coverity detects real problems
  like this.
- Migrate use of strncpy to strlcpy to assure safe buffer operations
2020-10-19 12:30:43 -07:00
Mark Pizzolato
65d7868148 PDP10: Compiler warning cleanup
Fix inconsistent statement indentation.
2020-10-19 12:30:27 -07:00
Mark Pizzolato
4d923dbccf PDP8: Compiler warning cleanup
- Initialize local state variables to 0.  Likely non functional changes due
  to lack of depth in static analysis scan.  Coverity detects real problems
  like this.
- Fix inconsistent statement indentation.
2020-10-19 12:30:10 -07:00
Mark Pizzolato
02732514e8 PDP1: Compiler warning cleanup
- Avoid potential out of array indexing due to theoretical array
  reference via signed char index.  Likely non functional change.
2020-10-19 12:29:53 -07:00
Mark Pizzolato
0c782d2041 sigma: Compiler warning cleanup
- Fix static structure initialization
- Fix inconsistent statement indentations.
- Avoid potential out of array indexing due to theoretical array
  reference via signed char index.  Likely non functional change.
2020-10-19 12:29:39 -07:00
Mark Pizzolato
69cb36b0f3 I1620: Compiler warning cleanup
Fix inconsistent statement indentations.
2020-10-19 12:29:22 -07:00
Mark Pizzolato
9e2925534b I7094: Compiler warning cleanup
- Initialize local state variables to 0.  Likely non functional changes due
  to lack of depth in static analysis scan.  Coverity detects real problems
  like this.
- Avoid potential out of array indexing due to theoretical array
  reference via signed char index.  Likely non functional change.
2020-10-19 12:28:59 -07:00
Mark Pizzolato
1e46a14ba7 I1401: Compiler warning cleanup
Initialize local state variables to 0.  Likely non functional changes due
to lack of depth in static analysis scan.  Coverity detects real problems
like this.
2020-10-19 12:28:41 -07:00
Mark Pizzolato
962552b213 H316: Compiler warning cleanup
Fix inconsistent statement indentations.
2020-10-19 12:28:25 -07:00
Mark Pizzolato
f1a513b8bf SCP: Expedite simulator detection of WRU delivery by signal 2020-10-19 12:28:11 -07:00
Mark Pizzolato
dc4ce222e5 VAX8200: Cleanup potential compiler warnings
- Properly initialize DIB structure arrays.
- Change use of snprintf to strlcpy to carefully avoid potential buffer
  overflow warnings.
2020-10-19 12:27:53 -07:00
Seth Morabito
bf6ec441f5 3b2: Removed compiler warnings. 2020-10-19 11:33:14 -07:00
Richard Cornwell
f4d1abd61d KA10: Removed compiler warnings. 2020-10-13 20:06:04 -04:00
Richard Cornwell
4057374c7c I7000: Removed compiler warnings. 2020-10-13 20:05:30 -04:00
Richard Cornwell
fb1be2093d B5500: Removed compiler warnings. 2020-10-13 20:04:56 -04:00
Mark Pizzolato
52fbdcd1f0 DISK: Fix Compiler warning 2020-10-13 05:23:02 -07:00
Mark Pizzolato
187ee83f07 DISK: Use memset and strlcpy rather than strncpy for fixed size strings 2020-10-11 15:33:23 -07:00
Mark Pizzolato
4db4f90429 VAX, Unibus VAX: Record explicit TODR set immediately to backing store
- Only if backing store is used (i.e. OS Agnostic mode)
- Previously this was only done on a clean simulator exit.  That could
  result in inconsistent timing information in operating system images vs
  the saved TODR baseline data
- Always return TODR values rounded to the TODR granularity (10ms).
2020-10-09 05:10:34 -07:00
Mark Pizzolato
0e72400e09 PDP11, Qbus/Unibus VAX: Silence various compiler warnings 2020-10-09 05:10:12 -07:00
Mark Pizzolato
31606161ce SCP: Avoid potential compiler warnings
Essentially all are non-functional problems but silencing them is a good idea
2020-10-09 05:09:41 -07:00
Peter Schorn
85858b1287 AltairZ80: Removal of unnecessary variable in s100_pmmi.c 2020-10-09 09:13:09 +02:00
Patrick Linstruth
91bce50a5f AltairZ80: Adds support for the Tarbell 2022 double density controller
The 'tarbell' device now supports Tarbell model 1011 single density
and model 2022 double density floppy disk controllers. The model is
selected using the "SET TARBELL MODEL={SD|DD}" command. Also removed
some unused local variables.
2020-10-07 09:15:35 -07:00
Mark Pizzolato
9ef15802f0 SCP: Report name of device that returns an error from its initial reset call 2020-10-05 17:48:37 -07:00
Mark Pizzolato
18472dc666 SCP: Avoid dual output of HELP output in remote console sessions
As reported in #931
2020-09-29 13:38:24 -07:00
Mark Pizzolato
8fbec2d2aa REMOTE_CONSOLE: Properly support HELP
As reported in #931
2020-09-27 10:48:53 -07:00
Mark Pizzolato
06c878b96a TMXR: Properly report SCPE_STALL when transmit buffer is full 2020-09-27 09:38:10 -07:00
Mark Pizzolato
55f0dd7369 PDP11, VAX: Update XQ device help information 2020-09-27 09:37:05 -07:00
Samuel Deutsch
83d35a26aa NOVA: Fix carry display in CPU instruction history
Problem: Currently when viewing the Nova CPU history the carry flag is always
displayed as 0 regardless of it's actual value at the time.

Cause: The carry bit is stored in bit 17 and is lost when stored into the
int16 carry member of struct Hist_entry

Solution: Shift carry into bit 0 before storing it in the CPU history.
Improve code for displaying carry bit.
2020-09-26 17:57:17 -04:00
Larry Baker
d8004ccaf6 TAPE: Cleanup, minor bug fixes and robustness additions
- Minimum -B is 14 (shorter records on mag tapes are considered noise)
- Maximum -B is 65535 (DEC tape controllers have a 16-bit byte count register)
- Remove redundant setting of TAR default record size
- Notify the user when the -E option is being ignored
- Use the UNIT_RO format flag to set the SIMH ReadOnly attach option
- Use three tape marks to mark the end of a volume for RT-11 and RSTS
  (ANSI and DOS11 formats); the third tape mark is harmless on RSX-11
  and VMS, which only write two
- TAR -B must be a multiple of 512 (tar specifies the mag tape block size
  in number of 512-byte records)
- The TAR file must exist
- Use a conditional test with the "is a MEMORY_TAPE image" invariant in
  sim_tape.h to select the correct tape unit attach failure message
- Always print a tape attach summary message, like SIMH does for disks;
  simplify and fix some of the other messages there
- Remove unnecessary memset()'s in dos11_copy_ascii_file()
- Fix a 16-bit integer overflow in the DOS label date calculation
2020-09-22 12:35:34 -07:00
Richard Cornwell
8998e5d495 CARD: Updated comments on raw and other special formats. 2020-09-22 12:13:26 -04:00
Richard Cornwell
7160b26284 KA10: Fixed POP to behave correctly on KA and KI. 2020-09-21 19:05:05 -04:00
Richard Cornwell
9f220e4098 KA10: Added UNIT_SEQ to card punch and punch to support APPEND open. 2020-09-21 19:04:30 -04:00
Richard Cornwell
cfa7163269 I7000: Added UNIT_SEQ to card punch and line printer to support append. 2020-09-21 19:03:49 -04:00
Richard Cornwell
8a7c732df0 B5500: Added UNIT_SEQ flag to allow append open to work. 2020-09-21 19:03:26 -04:00
Mark Pizzolato
2a75aa630c SCP: Ignore subsequent SIGTERM receipt after initial receipt.
The OS may signal SIGTERM more than once before ultimately
issuing a SIGKILL.  The initial SIGTERM will stop execution and
initiate optional simulator cleanup.  Ignoring follow up SIGTERMs
will allow as much cleanup as possible to be achieved and thus
allow the simulator to complete its cleanup and exit or ultimately
exit die due to receipt of SIGKILL.

Likewise for SIGHUP on hosts that can issue SIGHUP.
2020-09-17 14:00:10 -07:00
Bob Supnik
eaa6944551 UC15: Zero out DR15 shared state on first allocation 2020-09-16 03:43:07 -07:00
Bob Supnik
edc2410007 PDP11: Fixed problem in KDJ11-E programmable clock 2020-09-16 03:42:08 -07:00
Bob Supnik
fd71a69ea3 PDP11: Change TU device comment text 2020-09-15 14:39:34 -07:00
Bob Supnik
6e7d808bb5 PDP8: Fixed comments in DT device bootstrap 2020-09-15 14:38:45 -07:00
Mark Pizzolato
a8ee8969c6 makefile: Minor comment clarifications 2020-09-15 05:43:04 -07:00
Mark Pizzolato
20f9a2c985 PDP11: Provide 10ms accuracy for the KDJ11-E TOY clock 2020-09-15 05:37:12 -07:00
Mark Pizzolato
c65eb24d9a PDP11: Add description display routine to the KW11-L line frequency clock 2020-09-15 04:45:25 -07:00
Mark Pizzolato
5a9cd144d3 SCP: Save global switches before dispatching to DEVICE reset routines 2020-09-15 04:44:22 -07:00
Seth Morabito
28b8b3a91a 3b2: Fix clang warnings
Explicitly cast booleans to t_uint64 before doing logical negation.
2020-09-08 06:30:16 -07:00
Bob Supnik
f8d3d7fa9a PDP10: Fix TC_RIP macro in TU device 2020-09-08 03:19:38 -07:00
Peter Schorn
8aaf4598d0 AltairZ80: Minor code clean up to avoid compiler warning 2020-09-08 08:55:25 +02:00
Mark Pizzolato
4092a7bf6f Unibus and Qbus VAX: Avoid clang compiler warning 2020-09-07 13:22:45 -07:00
Mark Pizzolato
0859d64434 Unibus and Qbus VAX: simplify map register output summary for duplicate lines 2020-09-04 11:15:17 -07:00