Commit graph

3622 commits

Author SHA1 Message Date
Mark Pizzolato
27c2dfa8f0 All DECtape devices: Undo previous unnecessary change relating to -A switch
Although these devices interpret a -A switch at attach time, they are not
sequential output devices and thus don't have an ambiguous interpretation
of the switch.

Incorrectly mentioned in #821
2020-03-24 08:35:55 -07:00
Mark Pizzolato
1c589030ae TIMER: Provide a means for VM to indicate its expected calibration rate
As reported and discussed in #817

This allows RUNLIMIT to provide useful results on fast or slow host systems.
2020-03-23 07:48:45 -07:00
Mark Pizzolato
03466a6806 SCP: Tolerate commas in decimal numbers during expression evaluation 2020-03-22 18:55:14 -07:00
Mark Pizzolato
614ad52091 All: Fix devices that attach files and have special meaning for -A switch
The -A attach time switch implicitly means to open files in append
mode.

Some devices used -A to indicate ASCII data or AUTOSIZE of disk or
fixed size tapes - DECtape.  These devices are either read only devices
(Paper tape readers or card readers), so explicit forcing of the attach
to be -R avoids unexpected positioning errors.  The random access
Disk and fixed sized tapes buffer the container contents in memory
so append mode isn't relevant, but care must be taken to assure that
the buffer reading starts at the beginning of the file without regard
to the explicit open mode.

As reported in #821
2020-03-22 09:54:54 -07:00
Mark Pizzolato
17a3219d0a Visual Studio Projects: Update project dependencies PDP10-KL 2020-03-22 09:35:23 -07:00
Ryo Kogulé
7fe9434528 ETHER: Fix tap support on OS/X
As reported in #823
2020-03-22 09:19:25 -07:00
Mark Pizzolato
ee317e0cb4 SCP: Adjust RUNLIMIT time values on slow host systems
As reported and discussed in #819
2020-03-21 21:30:58 -07:00
Lars Brinkhoff
45d7a1155b PDP11: Fix register definitions. 2020-03-20 07:06:30 +01:00
Mark Pizzolato
89cd649c77 SOCKET: Implement missing non-blocking for TCP sockets opened with connect
Outbound connections are rare and most may have wanted explicit blocking
behavior, so no one noticed the missing non-blocking case.

Any place which did do outbound connects have explicitly added
SIM_SOCK_OPT_BLOCKING so that the prior behavior is preserved.

The SIM_SOCK_OPT_BLOCKING flag is no honored as it was originally
intended to be.
2020-03-18 00:47:48 -07:00
Richard Cornwell
b848cb1234 KA10: Clean up some section errors in KL10B extended addressing. 2020-03-12 00:10:54 -04:00
Richard Cornwell
7acb4554bb KA10: Removed PACK definition, add polling if async eth fails. 2020-03-12 00:10:15 -04:00
Mark Pizzolato
b3214fcb59 ETHER: Emit advice when asynch operation is attempted without USE_READER_THREAD 2020-03-10 19:53:25 -07:00
Mark Pizzolato
77edf89ef5 SCP: Add macro's to support packed structures for network traffic 2020-03-10 11:26:23 -07:00
Mark Pizzolato
c30c88c24f Visual Studio Projects: Fix PDP10-KL to link against the proper libraries 2020-03-10 00:18:19 -07:00
Mark Pizzolato
e949197fb7 Visual Studio Projects: Build the PDP10-KL simulator with pthreads enabled 2020-03-09 23:58:07 -07:00
Mark Pizzolato
09896679bb SCP: Add SHOW DO to display the DO file nesting state 2020-03-09 23:38:48 -07:00
Author: Richard Cornwell
c686f75894 KA10: Added support for KL10A/B. 2020-03-09 23:07:47 -07:00
Richard Cornwell
c7d529c4db DISPLAY: Added III display device. 2020-03-09 20:25:55 -04:00
Mark Pizzolato
42411b2e18 Visual Studio Projects: Fix ECLIPSE project to actually build the ECLIPSE 2020-03-08 21:42:48 -07:00
Mark Pizzolato
550837b15b TIMER: Prefer a stable calibrated clock which ticks slower than the host 2020-03-08 21:11:30 -07:00
Mark Pizzolato
036e3bb933 SCP: Fix Coverity generated warnings 2020-03-08 18:44:33 -07:00
Mark Pizzolato
0170b7c6ab SCP: Convert more SHOW and debug output to use sim_vm_interval_units 2020-03-08 11:43:30 -07:00
Mark Pizzolato
b2272c8cd6 SCP: Add ability to "DO <stdin>"
This allows a running script to nest a procedure call get input from
stdin and return to the running script (or executing simulator).
2020-03-08 09:52:41 -07:00
Mark Pizzolato
aa72b1e0ab Visual Studio Projects: Remove references to PCRE Posix
Also Fixed the the B5500 simulator still had the HAVE_PCREPOSIX_H
instead of HAVE_PCRE_H.
2020-03-08 00:08:45 -08:00
Mark Pizzolato
de335bfd6a ETHER: Silence Coverity indicated potential issues 2020-03-07 22:36:24 -08:00
Mark Pizzolato
7d079990df eclipse: Build requires USE_INT64 2020-03-07 21:28:51 -08:00
Mark Pizzolato
56f186135c TIMER: Fix startup/restart logic that accounts for time at the sim> promt 2020-03-07 21:24:03 -08:00
Mark Pizzolato
4b45b04c29 SCP: Enable Runtime REGister entry validation and checking during build 2020-03-07 20:17:36 -08:00
Mark Pizzolato
09ce5a62e3 PDP6, KA10, KI10: Update register definitions for checking 2020-03-07 20:01:26 -08:00
Mark Pizzolato
f8f7ba3492 I1401, I7094, ID16, ID32, HP2100 and S3: Correct register definitions for checking 2020-03-07 19:59:04 -08:00
Mark Pizzolato
7ee3af8b9d I7000: Update register definitions for checking 2020-03-07 19:56:55 -08:00
Mark Pizzolato
f2435c91f4 B5500: Update register definitions for checking 2020-03-07 19:55:49 -08:00
Mark Pizzolato
7015ad395c SCP: sim_timer_init must only run early, and potential NULL dereference 2020-03-07 19:54:25 -08:00
Mark Pizzolato
938aa58f3a SCP: Provide ways for VM to specify sim_interval adjustment and step units
This affects the output of some SCP commands (including help).  The
results are cosmetic, but allows the simulator to provide correct descriptive
information.
2020-03-07 10:13:18 -08:00
Mark Pizzolato
42bb47d961 TIMER: Be sure to empty the event queue at timer initialization
If a reset_all_p() happens before the timing subsystem is initialized,
events can be queued with unreasonable timing measurements.
2020-03-07 07:05:46 -08:00
Mark Pizzolato
e6d8d593b4 VAX750, VAX8200: Update UBA device map register REG initializers 2020-03-06 16:42:04 -08:00
Mark Pizzolato
80d9393b83 alpha, HP2100, ID16, ID32, I7094, PDP11 and VAX: Fix array REG definitions
Array REGister definitions have been made consistent by passing the
name of the array object.  This allows proper sizing assessment
to occur in the register validation logic.

Some previously described array REGister initializers were not really
arrays.  Some were structures and others were merely pointers to
someplace in memory that it was desirable to view as a scalar array.

Structures or other blob data should now use SAVEDATA.  Virtual
arrays intended to be interpret some part of memory as scalar data
now use VBRDATA initializers.
2020-03-06 16:29:17 -08:00
Peter Schorn
5a293ac4ff AltairZ80: Additional register updates 2020-03-06 15:34:03 -08:00
Mark Pizzolato
565596a5af ETHER: Minor adjustments for building on the simh 3.x codebase 2020-03-06 15:32:12 -08:00
Mark Pizzolato
b76fd3ed44 SCP: Preparing for dynamic testing of simulator REGister definitions at startup 2020-03-06 15:28:52 -08:00
Mark Pizzolato
2e41007e0d AltairZ80: Adjust REG array descriptors (BRDATA) to provide array object addrs
No address value are changed, by a pointer the the array object is
explicitly provided which allows validation logic to determine the
size of the array object rather than merely it's first element.
2020-03-03 07:50:33 -08:00
Peter Schorn
504aad14cf AltairZ80: Update clock register definitions 2020-03-03 02:31:51 -08:00
Mark Pizzolato
7757ecada3 I7000: Updated register definitions. 2020-03-02 09:08:13 -05:00
Mark Pizzolato
74d61d2d87 B5500: Updated register definitions. 2020-03-02 09:07:24 -05:00
Mark Pizzolato
f07015078c PDP11 and VAX: Fix TD device IBUF and OBUF register definitions 2020-03-01 12:12:46 -08:00
Mark Pizzolato
90eddfc733 alpha, HP2100, ID16, ID32, PDP11 and VAX: Normalize array REG definitions
Array REGister definitions have been made consistent by passing the
address of the whole array object.  This allows proper sizing assessment
to occur in the register validation logic.
2020-03-01 12:11:13 -08:00
Mark Pizzolato
7b75c89aaf Interdata 16 & 32: Fix DP device width of RTIME, STIME, and WTIME definitions 2020-03-01 12:09:47 -08:00
Mark Pizzolato
762bb93199 alpha: Fix DMAPEN register definition 2020-03-01 12:09:13 -08:00
Mark Pizzolato
12d6c1fce4 PDP11: Fix INT register definitions in PTR and PTP devices 2020-03-01 12:08:24 -08:00
Mark Pizzolato
6da28c516f VAX730, VAX750: Remove invalid REGister definitions in console TU58 (TD) device 2020-03-01 12:07:34 -08:00