Commit graph

3900 commits

Author SHA1 Message Date
Mark Pizzolato
a02b87625c CONSOLE: Add REGister reflecting console character output count 2020-11-01 09:41:40 -08:00
Richard Cornwell
2a87c499f0 KA10: Remove redundant include of time.h. 2020-10-31 11:56:24 -04:00
Richard Cornwell
a9500f5630 I7000: Remove redundant include of time.h. 2020-10-31 11:56:01 -04:00
Richard Cornwell
00c40dca89 B5500: Remove redundant include of time.h 2020-10-31 11:54:40 -04:00
Richard Cornwell
4d03ac67f6 KA10: Fixed some WAITS issues with III display. 2020-10-31 11:54:03 -04:00
Mark Pizzolato
0d6f1ce362 All VAX: Remove redundant include of time.h 2020-10-30 14:17:24 -07:00
Mark Pizzolato
2676404b36 3B2, BESM6, PDP10, PDP11: Remove redundant include of time.h 2020-10-30 14:16:52 -07:00
Peter Schorn
199adf7641 AltairZ80: Additional updates for SCP internal time base 2020-10-30 09:52:56 +01:00
Mark Pizzolato
e1ca936ab9 PDP10-KA, PDP10-KL: Adopt internal SCP internal time base 2020-10-29 13:35:55 -07:00
Mark Pizzolato
8d6219325a I7010, I7070, I7080, I7090: Adopt internal SCP internal time base 2020-10-29 13:34:05 -07:00
Mark Pizzolato
c9c3f8568a PDP10: Adopt internal SCP internal time base 2020-10-29 13:32:42 -07:00
Mark Pizzolato
263e0e7ed5 AltairZ80, BESM6, I7094: Adopt internal SCP internal time base 2020-10-29 13:28:41 -07:00
Mark Pizzolato
9c1f4beae3 SCP: Migrate to use SCP internal timer base reference 2020-10-29 13:06:36 -07:00
Mark Pizzolato
a41f081e81 TIMER: Add a generic time API to return the SCP time base 2020-10-29 12:57:47 -07:00
Richard Cornwell
b4813bc59e KA10: Updates for SCP negative sim_interval. 2020-10-27 21:30:24 -04:00
Richard Cornwell
e94f1a927b I7000: Updates for SCP negative sim_interval. 2020-10-27 21:29:51 -04:00
Richard Cornwell
e22d2c44f8 B5500: Updates for SCP negative sim_interval. 2020-10-27 21:28:47 -04:00
Mark Pizzolato
37f2b341d0 SCP: Fix compiler warning about unused variable. 2020-10-27 12:53:40 -07:00
Mark Pizzolato
33e3e7f493 SCP: Fix event dispatching when sim_interval is negative
- When sim_interval is negative (vs 0), more "time" has passed than
  when the first unit event on the queue was supposed to fire.  To
  properly handle this and dispatch this and other events which should
  have fired, time is temporarily backed up to when it was supposed
  to have fired and the event is dispatched.  If it schedules other
  events those will then properly be scheduled relative to the time is
  has fired.  This approach avoids events slipping forward in time.
- Add unit test to exercise event dispatching activities.
2020-10-27 08:33:24 -07:00
Richard Cornwell
15d933dd8b KA10: Fixed bug in POP instruction on KL10B. 2020-10-26 18:40:52 -04:00
Mark Pizzolato
16cafb3525 VAX GPX, LK and VE devices: Compiler warning cleanup 2020-10-25 09:06:10 -07:00
Chuck Guldenschuh
21812a58bf makefile: Add missing network support to infoserver builds 2020-10-25 08:28:11 -07:00
John Forecast
2e53d1ca28 CDC1700: Compiler warning cleanup 2020-10-24 17:50:04 -07:00
Mark Pizzolato
a10b8969cd MicroVAX2000, VAXStation2000: Properly describe 16MB of memory in CFGTST reg
The CFGTST register MTYPE subfield should describe the additional memory
beyond 2MB on the processor board.  Previous logic attempted to describe
the total system memory and the net result didn't fit into the 3 bit field and
thus said no additional memory is present.

The consequence of this new amount of memory is that ALL of it is tested
during the power on self test and thus it takes significantly longer to get to
the >>> prompt.

As reported in #944
2020-10-21 04:25:00 -07:00
Mark Pizzolato
9572108471 MicroVAX2000, VAXStation2000: Add dummy responses to TXCS internal register
As reported in #942
2020-10-20 12:38:30 -07:00
Mark Pizzolato
57071edbfa ID16, ID32: Compiler warning cleanup
- Initialize local state variables to 0.  Non functional changes due
  to lack of depth in static analysis scan.
2020-10-20 03:09:33 -07:00
Mark Pizzolato
dceadb393e SCP: Add internal & cross platform support for tar and curl commands 2020-10-20 02:50:34 -07:00
Mark Pizzolato
c8a8cca7a3 SCP: Add optional per line multiplexer log files to periodic flushing 2020-10-20 02:47:33 -07:00
Mark Pizzolato
4a41021be9 TAPE: Various fixes and additions
- Cleanup Compiler warnings
- Validate FIXED binary data as a multiple of the record size
- Add file classification tests
2020-10-19 17:25:17 -07:00
Larry Baker
117157e088 TAPE: Cleanup and various fixes
- Use tape->block_size uniformly for FIXED record length/block size
- Change tape_classify_file_contents() so the max_record_size for text
  files does not include the line endings (fixes FIXED -B 80 failure when
  reading 80- character card-images, fixes invalid ANSI HDR2 Record
  Length for ANSI-VMS, ANSI-RSX11, and ANSI-VAR -B 512 when
  reading 508-character lines)
- Distinguish RMS Record Size from ANSI Record Length: RMS Record
  Size does not include the ANSI 'D' Record Format Record Control Word
  (RCW); ANSI Record Length does
- Verify the ANSI Record Length is legal for text files
- Verify that the ANSI -B block size is large enough
- Write ANSI Record Length in HDR2 label, write RMS Record Size in
  HDR3 label; whether they are the same or not depends on the ANSI
  Record Format
- Pad ANSI short binary records with zeros (ANSI 'F' records must
  all be the HDR2 Record Length)
2020-10-19 17:19:48 -07:00
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