Commit graph

2998 commits

Author SHA1 Message Date
Mark Pizzolato
daf8382cf2 TMXR: Properly announce attach connection on serial lines when -V option is set 2017-10-30 18:24:19 -07:00
Mark Pizzolato
cb21246f6e SERIAL, MUX: General fix for Windows Platform physical serial port output
Avoid Windows specific serial I/O behaviors which might not always have
hardware state reported to user level code.  The TMXR layer code already
paces mux output so that reasonable behavior is observed.
2017-10-28 09:28:39 -07:00
Mark Pizzolato
d73b626719 SCP: Expose read_line_p for potential use by library support routines 2017-10-25 08:16:02 -07:00
Mark Pizzolato
60ff3d53d9 doc: Add description of additional built-in environment variables
SIM_NAME, SIM_BIN_NAME and SIM_BIN_PATH
2017-10-24 16:20:46 -07:00
Mark Pizzolato
9134b8e5d3 SCP: Add SIM_BIN_PATH environment variable as the simulator's argv[0] 2017-10-24 12:21:52 -07:00
Mark Pizzolato
35bfe17f75 SCP: Allow QUIET mode to be set in a default simulator command file 2017-10-23 16:24:26 -07:00
Mark Pizzolato
b80402e59c SCP: Fix display of context command when reporting processing DQ in QUIET mode 2017-10-23 14:14:00 -07:00
Mark Pizzolato
09f69f13b5 SCP: Fix command context reporting when errors occur in QUIET mode 2017-10-22 18:44:14 -07:00
Mark Pizzolato
3d1f092573 SCP: Provide command context for messages emitted during ATTACH and DETACH
Context and non error messages will be suppressed in quiet mode or when -Q
switch is explicitly supplied on command line
2017-10-22 08:33:21 -07:00
Mark Pizzolato
5b248cf7f4 SCP: Fix Coverity identified warning and migrate away from strncpy to strlcpy 2017-10-19 20:04:08 -07:00
Mark Pizzolato
6d1e873087 SCP: Allow HALTAFTER= to be specified for RUN/GO UNTIL commands 2017-10-19 12:30:24 -07:00
Mark Pizzolato
932d16da53 SCP: Rework SEND and EXPECT commands to provide default and temporary arguments
- EXPECT HALTAFTER=nnn
     --> sets "nnn" as the global/default value

 - EXPECT "some string"
     --> uses the "nnn" global/default value

 - EXPECT HALTAFTER=ttt "some string"
     --> uses the "ttt" temporary value for this EXPECT only

and:

 - SEND AFTER=nnn
     --> sets "nnn" as the global/default value

 - SEND "some string"
     --> uses the "nnn" global/default value

 - SEND AFTER=ttt "some string"
     --> uses the "ttt" temporary value for this SEND only

(and similarly for the SEND DELAY value).
2017-10-16 13:10:10 -07:00
Mark Pizzolato
247bd8d534 SCP: Avoid potential double freeing of memory during RESTORE operations
Fix problem reported in #484
2017-10-10 17:36:36 -07:00
Mark Pizzolato
2435311072 SCP: Add DEV_NOSAVE flag for throttle and console internal devices 2017-10-08 10:10:03 -07:00
Bob Supnik
bd0cad685c alpha: Fixed reversed definitions of FTOIS, FTOIT (Maurice Marks) 2017-10-05 18:55:00 -07:00
Mark Pizzolato
d074853138 SCELBI: Updated documentation (Hans-Åke Lund) 2017-09-22 10:00:41 -07:00
Mark Pizzolato
c8a420ad48 SCP: Change command argument processing of %% and \% to be consistent.
%% now inserts a bare % and \\ only means something when parsing a quoted
string argument (used by EXPECT and SEND commands).

Additionally, EXPECT and BREAK commands have action steps which will now
expand arguments as each of the actions are executed rather than when the
EXPECT or BREAK command is defined.
2017-09-16 17:05:26 -07:00
Mark Pizzolato
d02de5156f SCELBI: Updated documentation and removed makefile dependency (Hans-Åke Lund) 2017-09-14 09:52:38 -07:00
Mark Pizzolato
2574100ec5 SCP: Fix EXPECT processing to avoid comparing against old data 2017-09-13 17:02:16 -07:00
Mark Pizzolato
202e49cfdf scelbi: New SCELBI (SCientic-ELectronics-BIology) Simulator from Hans-Åke Lund 2017-09-13 05:59:25 -07:00
Mark Pizzolato
5ef84f7da2 PDQ-3: Fix Coverity identified problem with loading ROM file image (Holger Veit) 2017-09-12 11:09:09 -07:00
Mark Pizzolato
415b2ef1bc SCP: Fix register examine broken by prior Coverity fix. 2017-09-12 10:59:55 -07:00
Mark Pizzolato
f94c8b259a S2: Fix Coverity identified potential buffer overflow 2017-09-11 15:46:56 -07:00
Mark Pizzolato
ce5d7de683 IBM1130: Make timer logic consistent with comments describing expected action 2017-09-11 15:46:26 -07:00
Mark Pizzolato
0559308ee4 IBM1130: Fix Coverity identified PTR positioning bookkeeping 2017-09-11 15:44:23 -07:00
Mark Pizzolato
5d1f5c33fc IBM1130: Address Coverity identified issues in CR device 2017-09-11 15:43:26 -07:00
Mark Pizzolato
8f9c763f67 makefile: Make sure to gather git commit-id whenever possible 2017-09-11 14:54:48 -07:00
Mark Pizzolato
4b16e43e3e SCP: Removing Coverity Array vs Singleton warnings 2017-09-09 14:00:08 -07:00
Mark Pizzolato
7dc585d479 HP3000: HP 3000 release 6
See HP3000/hp3000_release.txt for details of the release
2017-09-09 13:56:50 -07:00
Mark Pizzolato
68edc24b66 TX-0: Coverity singleton errors
Most history routines defined a local sim_eval of the proper length, but the
erroneous ones were fixed length machines that defined an integer variable
instead of an integer array of length 1. The VAX used the global sim_eval.
The changes follow the VAX practice.
2017-09-08 05:47:36 -07:00
Bob Supnik
5b5e0f9c35 H316, I7094, NOVA, PDP1, PDP10, PDP8, SDS: Coverity singleton errors
Most history routines defined a local sim_eval of the proper length, but the
erroneous ones were fixed length machines that defined an integer variable
instead of an integer array of length 1. The VAX used the global sim_eval.
The changes follow the VAX practice.
2017-09-07 09:59:04 -07:00
Mark Pizzolato
e9d5e2e3c9 SCP: Leverage stdint.h for environments where it is available 2017-09-07 09:12:06 -07:00
Mark Pizzolato
a6552b823d HP2100: HP 2100 release 27
See HP2100/hp2100_release.txt for details of the release
2017-09-06 22:16:14 -07:00
Mark Pizzolato
964195dd78 SCP: Fix potential infinite recursion for internal ctype routines 2017-09-04 18:04:57 -07:00
Mark Pizzolato
727cd8e217 SCP: Fix potential conflics with library provided ctype routines 2017-09-03 18:23:58 -07:00
Mark Pizzolato
7af33b90b6 SCP: Fix internal ctype routines make consistent with standard routines. 2017-09-03 16:46:34 -07:00
Mark Pizzolato
0579ef7d51 SCP: Allow EXPECT HALTAFTER=n without an expect string to behave as documented 2017-09-03 13:23:50 -07:00
Mark Pizzolato
769efb1f68 VAX: Add -8 -16 switch support for EXAMINE commands 2017-09-03 09:20:19 -07:00
Mark Pizzolato
23f4c90a6d SCP: Generalized numeric switch processing 2017-09-03 09:19:20 -07:00
Mark Pizzolato
81425a5829 PDP1: Remove macro1.c. A later version is in the simtools repo 2017-09-02 12:25:09 -07:00
Mark Pizzolato
ea898b24bd SCP: Add SET <dev> BINARY as an alternate radix option for all devices 2017-08-31 17:45:10 -07:00
Mark Pizzolato
6a2a3de19c SCP: Actually fixed Coverity issue (Dave Bryan)
The previous change cleaned up some redundant declarations and missed
the desired change.
2017-08-29 10:14:48 -07:00
Mark Pizzolato
ebf9489b59 SCP: Fixed Coverity issue for sim_debug arguments 2017-08-28 10:19:29 -07:00
Mark Pizzolato
00f37f2891 I1401: Fix compiler warning 2017-08-28 10:18:41 -07:00
Mark Pizzolato
93c1ccdacd VAX730, VAX750, VAX8600: Fix declaration and usage of icr_rd() routine 2017-08-28 10:18:19 -07:00
Mark Pizzolato
245818d348 SCP: Added extended radix options (-2, -8, -10 and -16) for EXAMINE and DEPOSIT 2017-08-25 15:48:11 -07:00
Mark Pizzolato
8fcddf9261 DOC: Describe warning added to the RUN command vs GO or CONTINUE (Dave Bryan) 2017-08-24 10:23:44 -07:00
Mark Pizzolato
e106d05550 SCP: Add support to dynamically load libreadline7 2017-08-14 19:15:12 -07:00
Mark Pizzolato
ba447399f8 SCP: Cleanup compiler warnings (Dave Bryan) 2017-08-04 17:44:27 -07:00
Mark Pizzolato
b2b18de0ec TIMER: Use standard calibration techniques while throttling
Part of a previous change introduced logice which used the throttling
execution rate calibrated value to determine clock calibration when
throttling is enabled.  This provides significantly worse results than the
normal self correcting calibration process.  This commit reverses that
part of the previous change.
2017-08-03 18:51:55 -07:00