Commit graph

626 commits

Author SHA1 Message Date
Mark Pizzolato
c808256e87 PDP11: Fix model indexes after model table previously got reordered
As reported in #1073
2021-08-24 10:47:01 -07:00
Mark Pizzolato
d1a720debd BuildROMs: Change name define logic to avoid conflicts
Each of the BOOT_CODE_SIZE, BOOT_CODE_FILENAME and BOOT_CODE_ARRAY names
are replaced whenever a BuildROMs generated file is included.
2021-08-23 13:36:04 -07:00
Mark Pizzolato
ae1472db79 Generated ROM Image includes: Updated for multiple ROM image support
The actual contents of the input ROM binary files and the contents of the
created arrays are unchanged.

Multiple ROM image include files can be included in the same source module
without the need for any #undef BOOT_CODE_SIZE, etc.
2021-08-23 12:26:45 -07:00
Mark Pizzolato
efc79d710a PDP11: Update 11/40 and 11/45 models to reflect MMU was an option 2021-08-15 12:13:20 -07:00
Mark Pizzolato
3bf02304da PDP11: Populate remaining internal device help from pdp11_doc.doc 2021-08-14 23:21:31 -07:00
Mark Pizzolato
9166219476 PDP11: Cleanup potential compiler warnings 2021-08-13 09:11:42 -07:00
Mark Pizzolato
acd5ae6579 VAX, VAX780, PDP11: Update typos in documentation and help text
as mentioned in #1065
2021-08-08 23:00:22 -07:00
Mark Pizzolato
af0f0300f8 PDP11, Unibus VAX: DEC standard 144 corrections and RP device update
- Added a specific drive type RP05 which is the same size as the RP04
  but can be distringuished by OS software.
- Restrict SET rpn BADBLOCK to only disk types which actually supported
  the DEC Standard 144 bad block table.
- Fixed typo's in help and comments about DEC 044 vs DEC 144 and also
  in pdp11_doc and vax780_doc documentation files.

As discussed in #1065
2021-08-08 11:39:13 -07:00
Mark Pizzolato
30401fc155 PDP11: Fix VT help entry in DEVICE definition
Previously it was point at the DEVICE.help_attach than DEVICE.help.
2021-08-01 19:02:10 -07:00
Mark Pizzolato
e519c93ebf H316, NOVA, PDP11, PDP8, PDP18B, KX10: Record Sequential updates consistently
Devices that do single character I/O could be attached to non seekable
host OS devices (tty, pipes, etc.) and thus shouldn't count on fseek()
and ftell().  These DEVICEs on these simulators do single character I/O
and easily can update their POS REGisters to reflect how much data has
been emitted.  Changing such a REGister will have no  useful effect
when attached to a non seekable file.
2021-06-08 14:25:23 -07:00
Mark Pizzolato
4b03e1493a PDP11: Fix typo in cpu_boot routine 2021-06-08 13:12:01 -07:00
Mark Pizzolato
4ce23275e0 PDP11: Add default CPU BOOT to ROM if ROM is enabled and reasonably configured 2021-05-30 15:51:15 -07:00
Mark Pizzolato
68e407ba0f ALL: Correct help text in "SET <unit> LOCKED" MTAB entries 2021-04-19 15:22:15 -07:00
Mark Pizzolato
a015e44c10 ALL: Standardize writelock behavior adding global UNIT_WLK & UNIT_WPRT
Historically this functionality was reimplemented within each
DEVICE simulator often with slightly different implementations
and inconsistencies.  Solving this globally within SCP required
changes in many places, but should henceforth be reasonably
managed.

As discussed in #1034
2021-04-19 10:58:51 -07:00
Mark Pizzolato
587b81bed4 PDP11: Avoid redundant message in RH help text
As mentioned in #1034
2021-04-19 10:58:08 -07:00
Mark Pizzolato
af0754f93a PDP11: Clarify TC device attach and detach read only & write update messages
As discussed in #1034
2021-04-16 11:33:42 -07:00
Mark Pizzolato
b90b1eaf6f PDP11, VAXen: Properly clear I/O space read/write dispatches on deregister
as reported in #1029
2021-04-09 07:31:36 -07:00
Mark Pizzolato
be4e3c4e33 PDP11, Qbus & Unibus VAX: Fix TDC device REGisters definitions
- The REG definitions support having a REGister be pointing at an
  element in an array of structures (or UNITs) as long as the element
  is a scalar.  Something that is not supported is when the element is
  already an array (or buffer).  The approach used in the TDC device
  creates n additional registers each of which points at the individual
  array element in each of the structure in the structure array.
- Fix simple REG declarations which didn't fully describe the size of the
  underlying storage holding the REG contents in the TDC and VH
  DEVICEs.

As reported in #1025
2021-04-05 15:14:15 -07:00
Lars Brinkhoff
2f66e74c50 PDP11: Use MATCH_CMD to match comand strings. 2021-02-03 16:09:26 +01:00
Lars Brinkhoff
39ab11cbb7 PDP11: New VT11 setting to enable/disable switches. 2021-02-01 18:44:24 +01:00
Lars Brinkhoff
cea5fc136d PDP11: Toggle NG display fullscreen with F11. 2021-02-01 07:07:32 +01:00
Lars Brinkhoff
d5befa75c1 I650, IBM1130, PDP11, PDP18b, VAX, Sigma: Fix set but unused variables. 2020-12-02 14:45:21 -08:00
Mark Pizzolato
2676404b36 3B2, BESM6, PDP10, PDP11: Remove redundant include of time.h 2020-10-30 14:16:52 -07:00
Mark Pizzolato
0e72400e09 PDP11, Qbus/Unibus VAX: Silence various compiler warnings 2020-10-09 05:10:12 -07:00
Mark Pizzolato
55f0dd7369 PDP11, VAX: Update XQ device help information 2020-09-27 09:37:05 -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
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
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
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
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
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
6fdc447410 PDP11: Fixed TTI Device SET option for Upper Case 2020-07-24 19:12:15 -07:00
Mark Pizzolato
0045601823 PDP11, PDP8: Allow console input to configure parity and KSR mode 2020-07-24 19:05:04 -07:00
Mark Pizzolato
e2d0095010 PDP11: Convert RK device to use sim_disk APIs
As mentioned in #905
2020-07-09 08:35:35 -07:00
Mark Pizzolato
3bd7969d72 PDP11: Add more thorough help to the DLI/DLO device
- Remove potential ambiguity setting character mode for DLO0.
  DLO0 must be specified rather than just DLO.
2020-06-25 11:06:04 -07:00
Mark Pizzolato
2f43f2cfa2 PDP11, VAX: Correct spelling in auto config disabled message 2020-05-31 12:57:40 -07:00
Mark Pizzolato
412e4db1b3 PDP11, VAX: Warn when deliberately or inadvertently disabling auto config 2020-05-31 12:18:33 -07:00
Mark Pizzolato
d24fa1e5d2 PDP11, VAX: Properly autosize RQ disks based on drive type 2020-05-18 06:25:48 -07:00
Mark Pizzolato
fd08552852 PDP11, PDP10, VAX: Consistent use of UNIT flag variables in RP, HK, RL, and RQ
Properly reference sim_disk provided WLK flag bit
2020-05-05 12:59:21 -07:00
Mark Pizzolato
4313f9fe3c PDP1, PDP10, PDP11, ID16, ID32, NOVA, VAX: Open LPT, PTP devices for append
This implements the principle of "least surprise", in that users won't
normally expect to start overwriting an existing file on these devices.
Real hardware didn't behave that way.  A new (empty) file can always
be created with the -N switch on the ATTACH.
2020-04-28 07:09:20 -07:00
Mark Pizzolato
07897d3257 PDP11, VAX, and PDP10: Add AUTO disk format option to RP, HK, RL and RQ devices 2020-04-21 19:45:47 -07:00
Lars Brinkhoff
1cc1daed96 PDP11: Fix warning about size_t converted to uint16. 2020-04-14 07:44:24 +02:00
Mark Pizzolato
07682806a5 DISK: Fix size detection and validation for VHD disks 2020-04-13 10:05:46 -07:00
Mark Pizzolato
42938b9c83 PDP11, VAX: Allow RQ RA8U disk type which is verified as valid at attach time 2020-04-11 19:57:13 -07:00
Mark Pizzolato
13dc1b54cd PDP11, Unibus VAXen: Leverage sim_disk provided autosize logic for RL and HK 2020-04-11 13:12:51 -07:00
Mark Pizzolato
defe31183f PDP11, Massbus VAXen: Remove redundant RP device autosize logic 2020-04-11 13:11:30 -07:00
Mark Pizzolato
f9883668f1 NOVA, ECLIPSE, PDP11, PDP8, SIGMA, Unibus VAXen: Call tape detach API on unload 2020-04-04 09:49:15 -07:00