Commit graph

813 commits

Author SHA1 Message Date
Mark Pizzolato
7c1c04d9a9 SCP: Clear Coverity identified warnings 2019-11-14 21:38:45 -08:00
Mark Pizzolato
43b011883e SCP: Emit bad HELP argument error message 2019-11-13 23:22:49 -08:00
Mark Pizzolato
8f571fef86 SCP: Abort attempting to emit bad debug output 2019-11-13 23:22:25 -08:00
Mark Pizzolato
9fe781cb7e SCP: Add environment variable file expansion options for file size, date/time 2019-10-28 17:40:59 -07:00
Mark Pizzolato
af58efe67a SCP: Fix SHOW command parsing to properly valiidate argument cases
As originally reported in #758
2019-10-26 06:40:16 -07:00
Mark Pizzolato
614318054b SCP: Fix device disable state indicated in help output (R. Voorhorst) 2019-09-19 18:22:39 -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
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
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
716df3c297 SCP: Support MKDIR and RMDIR commands when building with MinGW 2019-07-12 13:45:34 -07:00
Mark Pizzolato
461f2ea513 SCP: Add MKDIR and RMDIR commands 2019-07-08 00:38:08 -07:00
Mark Pizzolato
5d747cc992 SCP: Activate internal unit tests at appropriate time
before processing default and command line scripts
2019-06-18 07:58:32 -07:00
Mark Pizzolato
b1fd80da64 SCP: Add filename to the message displayed when ATTACH -N is used 2019-06-10 14:15:46 -07:00
Mark Pizzolato
fa700d0494 SCP: Fix initialization of sim_time and sim_interval when queue is emptied 2019-05-31 22:19:31 -07:00
Mark Pizzolato
f75f28aa21 TIMER: Add mechanism to pre-calibrate the instruction execution rate 2019-05-28 23:56:58 -07:00
Mark Pizzolato
6b3bff56b3 DISK: Add support to properly autosize fixed sized disk from a set of choices
As discussed in #704
2019-05-21 15:38:39 -07:00
Mark Pizzolato
f700346ea9 SCP: Add better help and error message for SCREENSHOT command 2019-05-12 22:11:45 -07:00
Mark Pizzolato
287655da92 SCP: Document the -A switch for the ATTACH command.
As mentioned in #668
2019-05-04 14:12:42 -07:00
Mark Pizzolato
c5e3becc73 SCP: Display capacity as KB or MB for even multiple sizes 2019-04-28 16:36:57 -07:00
Mark Pizzolato
4e0450cff9 SCP: Add support to uniquely identify SIGTERM in do procedures
As discussed in #681
2019-04-18 20:03:17 -07:00
Mark Pizzolato
590be6b0dd SCP: Give priority to device names in intial HELP commands 2019-04-18 01:48:16 -07:00
Mark Pizzolato
8d172a4049 SCP: Fix ON ERROR default declaration
- Additionally, be sure that ON actions are saved with unexpanded variables

As reported #681
2019-04-17 20:12:21 -07:00
Mark Pizzolato
0c39921fb7 TAPE: Full speed performance of tape image validation scan
- Force the detection point of a tape structure error to be the logical EOM
  on the tape.
- Enable SIGINT abort of a possibly long running validation scan
- Add -L detail record structure option at ATTACH time
- Add extra garbage at end of generated test data files
2019-04-16 18:20:25 -07:00
Mark Pizzolato
d12ae2a3f3 SCP: Allow a bare % at the end of a line for SET THROTTLE nn%
Fix #678
2019-04-11 12:35:06 -07:00
Mark Pizzolato
f12bc70470 TAPE: Add support for TAR tape format 2019-04-06 02:00:53 -07:00
Mark Pizzolato
64fa357bf9 SCP: Enable use of local rand() and scrand() implementation 2019-04-03 09:43:47 -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
d8b6a70c54 SCP: Add support for optional -D (debig) switch when running library tests (-T) 2019-03-26 14:05:37 -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
Mark Pizzolato
5960bca32a SCP: Add a local rand() implementation to avoid Coverity issues 2019-03-20 12:57:36 -07:00
Mark Pizzolato
f09e9c290a TAPE: Add tests and Coverity cleanups 2019-03-19 10:24:28 -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
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
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
Mark Pizzolato
fa10e1de49 SCP: Allow device service routines to return simulator specific error codes 2019-02-23 16:46:25 -08: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
857934d40e SCP: Properly report errors in malformed SET ENV -P commands 2019-02-19 12:11:29 -08: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
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
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
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
344e24dcbb SCP: Tolerate sim_instr() return when last debug is missing a newline 2019-01-19 19:14:14 -08:00
Mark Pizzolato
a989770656 SCP: Add "HELP DEVICE devnam"
This allows for device help to be displayed for devices which may have
names that are ambiguous with respect to commands.  For example
if a device named CON exists, HELP CON will display info about the
CONTINUE command rather than the device.  HELP DEVICE CON will
now display that device's HELP info.
2019-01-08 07:25:22 -08:00