Commit graph

2973 commits

Author SHA1 Message Date
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
Mark Pizzolato
9f7519b886 VAX: Added detail to interval timer debug output 2017-08-01 06:49:59 -07:00
Mark Pizzolato
a02e9c1111 TIMER: Assure that long duration co-scheduled events are properly dispatched
As discussed in #478
2017-08-01 06:49:05 -07:00
Mark Pizzolato
d6316cbd03 TIMER: Add SET CLOCK STOP=nnn to stop execution after nnn instructions
This allows potential debug information to be bounded when execution is
started using BOOT or NEXT.
2017-08-01 06:32:18 -07:00
Mark Pizzolato
e39965a9f6 SCP: Add support for unsigned int parsing (t_value) without a range limit 2017-07-31 22:11:44 -07:00
Mark Pizzolato
b15f753adc SCP: Add support for operation when stdin isn't a tty
Also enhanced error messages for startup errors.
2017-07-31 22:10:15 -07:00
Sean McIntyre
7ed68aed6a PDP1: Add libSDL note in Spacewar! README
Having this note would have saved me (someone new to simh) some time,
and I hope it will save others time in the future.
2017-07-04 20:19:59 -07:00
Mark Pizzolato
9c930092a4 SCP: Add insertion symbol UTIME for Unix time (seconds since 1/1/1970) 2017-06-26 11:52:07 -07:00
Mark Pizzolato
c8ab527f4c SCP: Add event debugging support for CPU device
Simulators which don't have detailed debugging available on their default
device (usually CPU), automatically have the event debugging options
available.  Simulators which have CPU device debugging will have to add
the SIM_DBG_EVENT, SIM_DBG_ACTIVATE and SIM_DBG_AIO_QUEUE to
their debug option list to provide this detailed debugging.
2017-06-24 18:36:24 -07:00
Mark Pizzolato
1ad8752693 SCP: Added HELP DO VARIABLE_INSERTION 2017-06-23 17:44:50 -07:00
Mark Pizzolato
2f64d2b6dc doc: Add suggestion to simh.doc regarding one time device init in reset routine 2017-06-23 12:36:28 -07:00
Mark Pizzolato
b6f549ef18 SCP: Properly name registers when name might be a macro name 2017-06-23 12:33:58 -07:00
Mark Pizzolato
f404343b56 SCP: Make sure that SIMH version information is always available
include sim_rev.h in sim_defs.h
2017-06-23 04:24:54 -07:00
Mark Pizzolato
a93078cef9 I1620: Add register and modifier descriptions to CDR, LPT and DP devices 2017-06-20 08:06:21 -07:00
Mark Pizzolato
588c22dce5 I1620: Avoid use of 4.X APIs when building with simh 3.X 2017-06-20 07:52:38 -07:00
Mark Pizzolato
7e380e2b12 I1620: Fix SET CPU CPS to correctly change all unit DEFIO_CPS values
Add descriptions to registers and command modifiers
2017-06-20 06:12:27 -07:00
Mark Pizzolato
33d37b4f71 I1620: Add TTY device modifier descriptions 2017-06-20 06:10:11 -07:00
Mark Pizzolato
99798ec547 I1620: Fix PTP CPS and add register descriptions 2017-06-20 05:30:18 -07:00
Mark Pizzolato
5d50bfdfdc I1620: Add optional CPS polling to TTY input activities 2017-06-20 05:15:09 -07:00
Mark Pizzolato
8560c4a32f I1620: Fix wording in descriptive comment 2017-06-14 16:18:55 -07:00
Mark Pizzolato
0c4bf36e1e I620: Provide optional rate limited I/O for TTY, PTR & ptp
Default behavior is to schedule the inter character I/O based on the
TIME (PTP, PTR) and TTIME (TTY) register variables.  With default values
here I/O completes very quickly.

A user may influence I/O rate behavior to proceed at a particular character
rate per second by using:

    sim> SET CPU CPS=nnn

or equivalently:

    sim> SET CPS=nnn

The resulting I/O completion rate will be independent of host system
processor speed and/or any I/O throttling that may be in effect.  The
above commands set the deferred I/O character completion rate for
all devices that do deferred I/O (PTP, PTR and TTY).

Each deferred I/O device can have its particular character delivery rates
specified with one of these commands:

    sim> deposit PTP CPS xxx
    sim> deposit PTR CPS yyy
    sim> deposit TTY CPS zzz

A CPS register value of 0 indicates that the default cycle based delays
specified by TIME (PTP & PTR) and TTIME (TTY) registers will control
character completion rates.
2017-06-14 15:44:47 -07:00
Mark Pizzolato
cb47ea3852 doc: Add description of optional PC value API used in debug output 2017-06-13 22:36:15 -07:00
Mark Pizzolato
a50403cd0a doc: Added description of optional Stop Message Formatting API (Dave Bryan) 2017-06-13 22:13:56 -07:00
Mark Pizzolato
605ede8c7b I1620: Provide consistent rate limited I/O for TTY, PTR & PTP
- Default CPS is 50
- Add SET {CPU}  CPS=nnn and SHOW {CPU} CPS commands.
   Individual device specific rates are changeable and visible as CPS register
   in each device.
2017-06-13 09:05:03 -07:00
Mark Pizzolato
17cc00f33e TIMER: Fix threshold for short vs long interval delay scheduling 2017-06-13 08:18:10 -07:00
Mark Pizzolato
d9e7afc92f SCP: Fix Coverity flagged issues 2017-06-13 04:32:18 -07:00