Commit graph

2860 commits

Author SHA1 Message Date
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
Mark Pizzolato
13dbe1e322 I1620: CDR error messages consistent between 3.X and 4.X 2017-06-12 19:22:41 -07:00
Mark Pizzolato
2e0110f37e I1620: Fix text of I/O Error in CDP device
As discussed in #472
2017-06-12 19:00:07 -07:00
Mark Pizzolato
9accb79b92 TIMER: Properly calibrate clocks while throttling 2017-06-11 05:00:42 -07:00
Bob Supnik
7e32130e1e I1620: Fixed typo in PTP unit (Dave Wise) 2017-06-11 04:03:43 -07:00
Mark Pizzolato
f1a6d538b9 doc: Initial import of IBM1130 document 2017-06-09 09:50:46 -07:00
Mark Pizzolato
c470d1e5e2 SCP: Allow the presence of DEVICE DEBTAB array to imply the DEV_DEBUG flag 2017-06-07 18:56:06 -07:00
Mark Pizzolato
921c012784 Visual Studio Projects: Correct windows-build dependencies for PDP11 simulator 2017-06-07 18:39:48 -07:00
Bill Beech
6fcd70128e imds-225, isys80xx, ibmpc, ibmpcxt: Address Coverity identified problems 2017-06-07 11:34:26 -07:00
Bill Beech
625d1b391e swtp6800: Solve Coverity identified issues 2017-06-07 11:06:02 -07:00
Mark Pizzolato
c389573c91 SCP: Avoid output to log during DEPOSIT command 2017-06-05 02:41:39 -07:00
Mark Pizzolato
e058b0124b ETHER: Allow clean build with USE_NETWORK and not USE_READER_THREAD 2017-06-04 11:13:37 -07:00
Bob Supnik
3b67a8658d PDP11, All VAX: Change ERROR in CR device translation tables to avoid conflicts 2017-06-04 09:56:22 -07:00
Mark Pizzolato
d452c27c74 I1620: Properly range check character value before using as index (Coverity) 2017-06-03 12:17:39 -07:00