Commit graph

3395 commits

Author SHA1 Message Date
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
ef1805b233 SERIAL: Correct inverted error sense of Windows modem status API (Dave Bryan) 2019-04-16 17:09:32 -07:00
Mark Pizzolato
5343dae137 ETHER: Fix potential compile warning about buffer overrun 2019-04-16 15:56:32 -07:00
Mark Pizzolato
a95a835b98 PDP11: Fix typo in formatting instruction history including the SP 2019-04-16 15:55:54 -07:00
Bob Supnik
cdfb7c0878 PDP11: Add SP to instruction history 2019-04-15 22:01:08 -07:00
Bob Supnik
d8eeb1ce00 i1401: Fix comment in operation table 2019-04-15 21:56:20 -07:00
Bob Supnik
37533d7891 Sigma: Fix spelling in comment 2019-04-15 21:55:46 -07:00
Mark Pizzolato
456aa3ed5d ETHER: Gracefully handle dynamic pcap library initialization errors
- Test BPF using all available Ethernet capable interfaces
2019-04-15 16:49:08 -07:00
Bob Supnik
2f0db74483 VAX: Provide support for MTPR/MFPR opcodes to set V & C condition codes 2019-04-13 12:49:43 -07:00
Mark Pizzolato
e7787c8db5 MicroVAX2: Let QDSS Qbus memory window be programmatically set
A write the the I/O page Qbus CSR configures the desired Qbus memory
window that the rest of the interface to this board is accessed through.
2019-04-13 12:44:02 -07:00
Mark Pizzolato
51feb87be4 rtvax1000: Avoid all QDSS (VCB02) components during build 2019-04-13 12:42:56 -07:00
Mark Pizzolato
eb8791c227 VAX: Make line endings consistent with simh project 2019-04-13 12:33:56 -07:00
Seth Morabito
7455d28126 3b2: Soft-power shutdown via TIMER command
This change enables the simulator to be shut down cleanly via a
soft-power shutdown command. This is implemented in the real 3B2/400
through the sanity timer, which, if it reaches zero, sets a bus timeout
flag in the CSR and issues an interrupt at IPL 15. The operating
system (System V UNIX) treats this as a shutdown request and enters
runlevel 0.

To use this change in a SIMH startup script, for example to implement a
3B2 simulator as a service, one could add these commands:

    # [... simulator setup ...]
    BOOT
    SET TIMER SHUTDOWN
    CONTINUE
    EXIT

On catching a SIGTERM, SIGINT, or SIGHUP, the simulator would return to
SCP control, set the soft power shutdown flag, and then continue
simulator execution. After the system is cleanly shut down, the
simulator would then exit back to the operating system.
2019-04-13 11:36:02 -07:00
Mark Pizzolato
ad9cb1d42d MicroVAX2: Cleanup build of rtvax1000 avoiding QDSS which isn't supported 2019-04-12 06:11:06 -07:00
Mark Pizzolato
06d78600b3 SLIRP: Fix Coverity changes 2019-04-12 00:39:49 -07:00
Mark Pizzolato
71abd2896c SLIRP: Fix Coverity complaints 2019-04-11 21:37:59 -07:00
Mark Pizzolato
0d894613f9 TAPE: Improve attach time tape scan performance 2019-04-11 21:01:10 -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
Matt Burke
4babf7f529 MicroVAX2: Added new video device (VCB02) 2019-04-10 22:01:52 -07:00
Mark Pizzolato
dfd011a9b3 TMXR: Update doc to add missing API description 2019-04-10 15:09:47 -07:00
Mark Pizzolato
1a48c543d5 TMXR: Fix tmxr_rqln() when speeds are enabled to avoid aways ready condition. 2019-04-10 15:08:49 -07:00
Mark Pizzolato
9dbc800e58 TAPE: Make sure that all tape record lengths are properly typed.
- Add Tape Format help options that include recently added format types to
  MTAB entries.
2019-04-10 14:26:20 -07:00
Mark Pizzolato
f12bc70470 TAPE: Add support for TAR tape format 2019-04-06 02:00:53 -07:00
Mark Pizzolato
436f1dbbbe TAPE: Reworked reverse read of P7B tapes to avoid seeking on every byte
- Added string density support for MTAB generation
2019-04-05 00:00:24 -07:00
Mark Pizzolato
64fa357bf9 SCP: Enable use of local rand() and scrand() implementation 2019-04-03 09:43:47 -07:00
Mark Pizzolato
bb2368ab8d PDP10, PDP11, VAX: Allow CH to be attached during simulator execution. 2019-04-03 09:43:12 -07:00
Mark Pizzolato
ff9d18656b PDP10, PDP11, all VAX: Cleanup help info for CR device
- Convert strcpy() and strcat() to strlcpy() and strlcat().
2019-04-03 09:36:30 -07:00
Mark Pizzolato
fa77969c57 All: Fix various Coverity complaints 2019-04-03 09:32:54 -07:00
Mark Pizzolato
e6490223eb TAPE: Fix P7B record length return when encountering a tape mark 2019-04-02 09:26:34 -07:00
Mark Pizzolato
2ba50a3f70 TAPE: Fix potential Coverity complaints 2019-04-01 15:06:25 -07:00
Mark Pizzolato
de829e52e9 TAPE: Fix incorrect comparison typo. 2019-03-31 09:35:52 -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
e7309d947b PDP10, PDP11, VAX: Fix event initial scheduling to properly start after a reset 2019-03-30 17:37:28 -07:00
Mark Pizzolato
98f6aae31a TAPE: Make ATTACH time validation check more robust
- Different systems used tape marks in different ways that are now
  tolerated (multiple successive ones located on different parts of
  the tape, etc.)
- Always validate beginning and end of record length indicators to avoid
  moving into invalidly structured tape data
2019-03-30 09:27:02 -07:00
Mark Pizzolato
e56b5f05e7 TAPE: Add support for AWS format tape images
Also added extended tape unit test code
2019-03-26 14:06:57 -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
3d13218263 SCP: Add ability to set debug display switches on the fly 2019-03-26 14:04:09 -07:00
Mark Pizzolato
b59ad75217 SCP: Properly allow all debug option switches (EBCDIC and RAD50 text) 2019-03-26 01:39:13 -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
Peter Schorn
ddb4cb4661 AltairZ80: Fix issue detected by Coverity (unchecked sim_fseek in n8vem.c) 2019-03-24 21:51:26 +01:00
Mark Pizzolato
5960bca32a SCP: Add a local rand() implementation to avoid Coverity issues 2019-03-20 12:57:36 -07:00
Seth Morabito
726a07b547 3b2: Fix Coverity identified issues
This change also addresses some unused function parameter warnings
issued by GNU Flycheck (not generally used by the build process, but
useful when editing files with Flycheck enabled)
2019-03-20 10:13:30 -07:00
Mark Pizzolato
690b896cb4 TAPE: Fix Coverity identified issues 2019-03-20 01:45:16 -07:00
Mark Pizzolato
a006c67bc9 TAPE: Update the tape device help to describe -V ATTACH option 2019-03-19 22:05:54 -07:00
Mark Pizzolato
a3dd39fee9 display: make ng compilable under C++ 2019-03-19 18:24:24 -07:00
Mark Pizzolato
f09e9c290a TAPE: Add tests and Coverity cleanups 2019-03-19 10:24:28 -07:00
Mark Pizzolato
3840765c63 TMXR: Properly test when adding debugging options only to DEV_MUX DEVICEs 2019-03-13 06:45:21 -07:00
Mark Pizzolato
e68af896d0 TAPE: Add -V option to ATTACH to read/verify tape images at attach time 2019-03-11 11:57:14 -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