Commit graph

4047 commits

Author SHA1 Message Date
Patrick Linstruth
91bce50a5f AltairZ80: Adds support for the Tarbell 2022 double density controller
The 'tarbell' device now supports Tarbell model 1011 single density
and model 2022 double density floppy disk controllers. The model is
selected using the "SET TARBELL MODEL={SD|DD}" command. Also removed
some unused local variables.
2020-10-07 09:15:35 -07:00
Mark Pizzolato
9ef15802f0 SCP: Report name of device that returns an error from its initial reset call 2020-10-05 17:48:37 -07:00
Mark Pizzolato
18472dc666 SCP: Avoid dual output of HELP output in remote console sessions
As reported in #931
2020-09-29 13:38:24 -07:00
Mark Pizzolato
8fbec2d2aa REMOTE_CONSOLE: Properly support HELP
As reported in #931
2020-09-27 10:48:53 -07:00
Mark Pizzolato
06c878b96a TMXR: Properly report SCPE_STALL when transmit buffer is full 2020-09-27 09:38:10 -07:00
Mark Pizzolato
55f0dd7369 PDP11, VAX: Update XQ device help information 2020-09-27 09:37:05 -07:00
Samuel Deutsch
83d35a26aa NOVA: Fix carry display in CPU instruction history
Problem: Currently when viewing the Nova CPU history the carry flag is always
displayed as 0 regardless of it's actual value at the time.

Cause: The carry bit is stored in bit 17 and is lost when stored into the
int16 carry member of struct Hist_entry

Solution: Shift carry into bit 0 before storing it in the CPU history.
Improve code for displaying carry bit.
2020-09-26 17:57:17 -04:00
Larry Baker
d8004ccaf6 TAPE: Cleanup, minor bug fixes and robustness additions
- Minimum -B is 14 (shorter records on mag tapes are considered noise)
- Maximum -B is 65535 (DEC tape controllers have a 16-bit byte count register)
- Remove redundant setting of TAR default record size
- Notify the user when the -E option is being ignored
- Use the UNIT_RO format flag to set the SIMH ReadOnly attach option
- Use three tape marks to mark the end of a volume for RT-11 and RSTS
  (ANSI and DOS11 formats); the third tape mark is harmless on RSX-11
  and VMS, which only write two
- TAR -B must be a multiple of 512 (tar specifies the mag tape block size
  in number of 512-byte records)
- The TAR file must exist
- Use a conditional test with the "is a MEMORY_TAPE image" invariant in
  sim_tape.h to select the correct tape unit attach failure message
- Always print a tape attach summary message, like SIMH does for disks;
  simplify and fix some of the other messages there
- Remove unnecessary memset()'s in dos11_copy_ascii_file()
- Fix a 16-bit integer overflow in the DOS label date calculation
2020-09-22 12:35:34 -07:00
Richard Cornwell
8998e5d495 CARD: Updated comments on raw and other special formats. 2020-09-22 12:13:26 -04:00
Richard Cornwell
7160b26284 KA10: Fixed POP to behave correctly on KA and KI. 2020-09-21 19:05:05 -04:00
Richard Cornwell
9f220e4098 KA10: Added UNIT_SEQ to card punch and punch to support APPEND open. 2020-09-21 19:04:30 -04:00
Richard Cornwell
cfa7163269 I7000: Added UNIT_SEQ to card punch and line printer to support append. 2020-09-21 19:03:49 -04:00
Richard Cornwell
8a7c732df0 B5500: Added UNIT_SEQ flag to allow append open to work. 2020-09-21 19:03:26 -04:00
Mark Pizzolato
2a75aa630c SCP: Ignore subsequent SIGTERM receipt after initial receipt.
The OS may signal SIGTERM more than once before ultimately
issuing a SIGKILL.  The initial SIGTERM will stop execution and
initiate optional simulator cleanup.  Ignoring follow up SIGTERMs
will allow as much cleanup as possible to be achieved and thus
allow the simulator to complete its cleanup and exit or ultimately
exit die due to receipt of SIGKILL.

Likewise for SIGHUP on hosts that can issue SIGHUP.
2020-09-17 14:00:10 -07:00
Bob Supnik
eaa6944551 UC15: Zero out DR15 shared state on first allocation 2020-09-16 03:43:07 -07:00
Bob Supnik
edc2410007 PDP11: Fixed problem in KDJ11-E programmable clock 2020-09-16 03:42:08 -07:00
Bob Supnik
fd71a69ea3 PDP11: Change TU device comment text 2020-09-15 14:39:34 -07:00
Bob Supnik
6e7d808bb5 PDP8: Fixed comments in DT device bootstrap 2020-09-15 14:38:45 -07:00
Mark Pizzolato
a8ee8969c6 makefile: Minor comment clarifications 2020-09-15 05:43:04 -07:00
Mark Pizzolato
20f9a2c985 PDP11: Provide 10ms accuracy for the KDJ11-E TOY clock 2020-09-15 05:37:12 -07:00
Mark Pizzolato
c65eb24d9a PDP11: Add description display routine to the KW11-L line frequency clock 2020-09-15 04:45:25 -07:00
Mark Pizzolato
5a9cd144d3 SCP: Save global switches before dispatching to DEVICE reset routines 2020-09-15 04:44:22 -07:00
Seth Morabito
28b8b3a91a 3b2: Fix clang warnings
Explicitly cast booleans to t_uint64 before doing logical negation.
2020-09-08 06:30:16 -07:00
Bob Supnik
f8d3d7fa9a PDP10: Fix TC_RIP macro in TU device 2020-09-08 03:19:38 -07:00
Peter Schorn
8aaf4598d0 AltairZ80: Minor code clean up to avoid compiler warning 2020-09-08 08:55:25 +02:00
Mark Pizzolato
4092a7bf6f Unibus and Qbus VAX: Avoid clang compiler warning 2020-09-07 13:22:45 -07:00
Mark Pizzolato
0859d64434 Unibus and Qbus VAX: simplify map register output summary for duplicate lines 2020-09-04 11:15:17 -07:00
Mark Pizzolato
9736b13ea3 makefile: Revise comments describing SDL support to only mention SDL2 2020-09-02 15:56:57 -07:00
Mark Pizzolato
ae825c9afb All: Declare sim_stop_messages as an array SCPE_BASE long
This avoids a potential invalid pointer dereference when formatting
the return value from sim_instr() if it is < SCPE_BASE but greater
than the previously defined static array size.sizeof

Update simh.doc to reflect this generic change.
2020-09-02 15:56:07 -07:00
Bill Beech
782fe167ca Intel-Systems: Add enable/disable functionality for various option boards 2020-09-01 12:10:12 -07:00
Mark Pizzolato
5c48229ce4 Qbus & Unibus VAX: Add a SHOW QBA|UBA MAP{=n} command to display the bus map 2020-08-29 08:16:58 -07:00
Larry Baker
6f207b22a5 TAPE: Minor cleanup and comments here and there. 2020-08-24 18:45:08 -07:00
Mark Pizzolato
60e5484541 SCP: Allow flexible switch presence on TESTLIB commands 2020-08-22 18:35:30 -07:00
Larry Baker
b70dc7bd05 TAPE: Fix order of MTAT_F_* entry definitions, add definition for MTAF_F_VAR 2020-08-22 04:57:39 -07:00
Mark Pizzolato
76bf686648 SCP: Restore -D option for TESTLIB command
Adding the automatic detach_all ended up always clearing the switches.
2020-08-21 12:31:30 -07:00
Mark Pizzolato
9a73eb9d9d TMXR: Fix attach TELNET and MESSAGE parsing validation 2020-08-21 12:14:37 -07:00
Mark Pizzolato
407696ccc3 SCP: Allow overlapping input and result string while parsing glyphs 2020-08-21 12:09:17 -07:00
Mark Pizzolato
b9b8a496d6 SCP: Properly process program -T switch to invoke all library tests 2020-08-21 12:06:11 -07:00
Larry Baker
67c3ba1e6a TAPE: Clean up library test file removal 2020-08-20 17:35:03 -07:00
Mark Pizzolato
d92aaef9b0 TAPE: Avoid potential uninitialized variable reference 2020-08-16 06:41:33 -07:00
Mark Pizzolato
dca1c45e80 SCP: Assure that library unit tests are run under reasonable conditions. 2020-08-16 06:40:49 -07:00
Peter Schorn
f64a32d0e8 AltairZ80: Added Hayes modem and minor bug fix 2020-08-16 09:31:19 +02:00
Larry Baker
4041894b67 TAPE: Fix potential crash in library unit tests
Improper declaration of state variables referenced in setjmp/longjmp.
2020-08-15 16:21:02 -07:00
Mark Pizzolato
272bbd4551 CARD: Fix potential NULL pointer dereference
As reported in #920
2020-08-15 12:24:57 -07:00
Mark Pizzolato
4a686ad0d0 I650: Correct spelling error in CDR device description 2020-08-15 12:17:21 -07:00
Mark Pizzolato
f921962ff2 PDP11: Fix software write lock flag error introduced when migrated to sim_disk
As reported and discussed in #918
2020-08-11 15:52:35 -07:00
Mark Pizzolato
c3f28e33e9 DISK: Extend DISKINFO command to work on wildcard file specifications 2020-08-11 07:29:10 -07:00
Mark Pizzolato
961e1b0513 SCP: Move GET_SWITCHES and GET_RADIX macros from scp.c to scp.h 2020-08-11 07:27:51 -07:00
Mark Pizzolato
5e46b298f1 ETHER: Silence several Coverity warnings.
Most were noise and non-issues, but the change from fclose() to
pclose() was absolutely needed.

A false positive remains regarding tun variable going out of scope.
Under the conditions where a resource leak could occur, the tun
variable is saved in *fd_handle and thus not leaked.
2020-08-08 17:52:04 -07:00
Bill Beech
4810b950d2 Visual Studio Projects, makefile: Add new simulators isdk80 and ids880 2020-08-02 14:22:25 -07:00