1
0
mirror of https://github.com/simh/simh.git synced 2026-01-13 23:35:57 +00:00

506 Commits

Author SHA1 Message Date
Mark Pizzolato
5d779942d9 VAXen without console ROMs: Issue meaningful messages for bad boot arguments 2023-02-09 15:16:13 -10:00
Mark Pizzolato
dc792c2731 VAXen with console ROMs: Issue meaningful message for invalid boot command args 2023-02-06 00:02:35 -10:00
Mark Pizzolato
9cc538dc7c VAX Unibus Systems: Optionally run diagnostics with uncalibrated clock
- uncalibrated clock mode executes at a precisely specified instruction
  rate relative to pseudo wall clock time independent of the host
  computer's speed or other loads on the host system.
- Provide additional failure state if/when diagnostics fail.
2023-01-31 02:47:31 -10:00
Mark Pizzolato
c1dd65a5bf VAX simulators: Revise build test diagnostics
- Run Floating Instruction diagnostics for 2 passes - these have
  been observed to fail on the VAX730
- Increase allowed run limit
- When diagnostics fail, emit the diagnostic session output if
  diagnostics were not being run in verbose mode.
2022-12-19 12:26:47 -10:00
Paul Koning
b6f3043ecb PDP9 VAX SEL32: Adjust test limits
Adjust the instruction limits for three simulators so they pass
on Apple M1 systems.
2022-11-28 09:43:56 -05:00
Mark Pizzolato
f48f0de9a5 simulator tests: Fix test setup to tolerate very busy or slow host systems
Adjust the RUNLIMIT to specify instructions instead of wall clock time.
2022-11-12 15:34:24 -10:00
Mark Pizzolato
4be421e08f BUILDROMS: Fix potential compiler warnings and prep for URL ROM downloads 2022-11-11 13:31:31 -10:00
Mark Pizzolato
0de0359ad0 PDP11 and All VAXen: Support dynamic fetching of ROM or other boot code
Simulators built with DONT_USE_INTERNAL_ROM defined will not have hte
binary of the needed ROM or boot components build into the simulator
binaries.  However, they will automatically and transparently fetch the
neeeded ROM or boot code from the web when these binary files aren't
available locally.
2022-10-19 15:06:55 -10:00
Mark Pizzolato
827ef03aeb BuildROMs: Move ROM exclusion logic into ROM include files
- Plan is to avoid "#ifdef DONT_USE_INTERNAL_ROM" in simulator code
  and handle builtin or external files in SCP facilities
- Export ROM checksum value and source file path to allow for transparent
  dynamic ROM location at run time.
2022-10-19 13:14:49 -10:00
Mark Pizzolato
ff88c97ccd Unibus VAXen: Fix broken clock calibration sequencing
Clock units should only be scheduled after a calibration activity.
2022-07-30 11:20:01 -10:00
Mark Pizzolato
fd5fdcfaa6 PDP11 and VAXen: Remove unneeded management of NOAUTOSIZE from device code 2022-07-28 14:48:44 -07:00
Mark Pizzolato
0e79fbcc70 All simulator DEVICES using VIDEO: Set DEV_DISPLAY in the DEVICE flags 2022-07-24 11:37:39 -10:00
Mark Pizzolato
9285073024 VAXen: Completely reset TODR on every power-on 2022-07-16 18:32:57 -10:00
Mark Pizzolato
4bf39c63ea All VAXen: Do a powerup reset when changing CPU model
Any change that enables or disables devices should perform a powerup
reset to properly configure bus address/vector activity.
2022-07-15 09:08:42 -10:00
Mark Pizzolato
505b5fde78 PDP11 and VAXen: Add supported breakpoint type to help information 2022-07-11 23:57:22 -07:00
Mark Pizzolato
a28da088be Interdata, SAGE, various VAXen: Fix devices with duplicate/ambiguous register names
Discovered by recent extension of register sanity check logic
2022-07-07 08:12:10 -10:00
Mark Pizzolato
12e51eafaf PDP11, PDP10, 3B2, All VAXen: Leverage extended disk support for all disks
Disk container metadata is fully supported and, when possible, containers
can be moved between "reasonable" alternate DEVICEs and systems.
2022-06-15 15:51:19 -07:00
Mark Pizzolato
a929b6471d Qbus & Unibus VAX: Clarified autoconfigure HELP language 2022-06-15 15:51:19 -07:00
Mark Pizzolato
3660b587f6 MicroVAX 3900: Add memory details to HELP CPU 2022-06-15 15:51:19 -07:00
Mark Pizzolato
31e7a7f3e0 PDP11 & Unibus/Qbus VAXen: Detect devices missing addresses before boot
If autoconfigure is disabled, either explicitly or implicitly by manual
setting of an ADDRESS or VECTOR, detect devices which don't have
addresses before boot.
2022-06-15 15:51:18 -07:00
Mark Pizzolato
d6ebe32b30 PDP11 & Unibus/Qbus VAXen: Document autoconfigure disabling
Historically, if a configuration file explicitly set either a DEVICE's
ADDRESS or VECTOR, autoconfiguration was immediately disabled.

This change defers disabling autoconfigure until an explicitly setting
of a DEVICE address or VECTOR actually changes what had been previously
configured by autoconfigure.
2022-06-15 15:51:18 -07:00
Mark Pizzolato
42beb777d9 All VAXen: Correct HELP CPU to properly describe model specific LOAD options 2022-06-15 15:51:18 -07:00
Mark Pizzolato
1a52d41154 VAX SCSI: Correct off by 1 device size for all disks 2022-05-12 13:14:22 -07:00
Mark Pizzolato
ac73e7b4c7 Unibus and Qbus VAXen: Add DUP-11/DPV-11 device
These devices start disabled and will be that way in essentially all
working systems, but there apparently was a DECnet Phase V
support for this device, so it is added to all systems. The DPV
should now be readily testable.

As mentioned in #1152.  That PR will fix the DUP device.
2022-05-12 13:12:55 -07:00
Mark Pizzolato
e75b2f29dc VAX 440 simulators: Avoid duplicate model name in SHOW CPU output 2022-02-12 14:21:18 -08:00
Mark Pizzolato
49b6e52d48 PDP11, VAX scsi systems: Migrate DEV_DISK devices using common autosize code 2022-02-11 15:26:21 -08:00
Mark Pizzolato
d64f003cc0 Non Qbus and Non Unibus VAX: Default to autosizing disks for MFM RD disks 2022-02-11 02:09:37 -08:00
Mark Pizzolato
746e4b9e59 SCSI: Add tape activity specific debug option 2021-09-06 10:28:04 -07:00
Mark Pizzolato
eadf12699b VAX systems with graphics: Properly cleanup on memory allocation errors. 2021-08-28 18:31:35 -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
d3d3c94485 All VAX: Fix CPU HISTORY MTAB help info 2021-08-14 23:11:27 -07:00
Mark Pizzolato
243951a791 Unibus and Qbus VAX systems: Update TODR help information 2021-07-14 11:00:23 -07:00
Mark Pizzolato
1548bd1cf6 infoserver100, infoserver150vtx: Add idle detection support
As reported in #1047
2021-06-05 13:17:27 -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
885277e14f VAX: Fix typo in help for SET CPU IDLE command. 2021-02-23 12:50:22 -08:00
Mark Pizzolato
8c42a3436c VAXen with SCSI: Allow some cross controller read only drive access 2020-12-29 11:14:34 -08:00
Mark Pizzolato
567005a08d VAXStation3100's: Fix Coverity identified warning 2020-12-11 07:18:06 -08:00
Mark Pizzolato
236ca8206d VAX750: Associate bit fields with TTI and TTO DEVICE REGisters 2020-12-02 14:46:58 -08:00
Lars Brinkhoff
d5befa75c1 I650, IBM1130, PDP11, PDP18b, VAX, Sigma: Fix set but unused variables. 2020-12-02 14:45:21 -08:00
Lars Brinkhoff
970fb8ec95 PDP10, ETHER, VIDEO, VAX: Fix set but unused variables. 2020-11-25 04:50:47 -08:00
Mark Pizzolato
0d6f1ce362 All VAX: Remove redundant include of time.h 2020-10-30 14:17:24 -07:00
Mark Pizzolato
16cafb3525 VAX GPX, LK and VE devices: Compiler warning cleanup 2020-10-25 09:06:10 -07:00
Mark Pizzolato
a10b8969cd MicroVAX2000, VAXStation2000: Properly describe 16MB of memory in CFGTST reg
The CFGTST register MTYPE subfield should describe the additional memory
beyond 2MB on the processor board.  Previous logic attempted to describe
the total system memory and the net result didn't fit into the 3 bit field and
thus said no additional memory is present.

The consequence of this new amount of memory is that ALL of it is tested
during the power on self test and thus it takes significantly longer to get to
the >>> prompt.

As reported in #944
2020-10-21 04:25:00 -07:00
Mark Pizzolato
9572108471 MicroVAX2000, VAXStation2000: Add dummy responses to TXCS internal register
As reported in #942
2020-10-20 12:38:30 -07:00
Mark Pizzolato
dc4ce222e5 VAX8200: Cleanup potential compiler warnings
- Properly initialize DIB structure arrays.
- Change use of snprintf to strlcpy to carefully avoid potential buffer
  overflow warnings.
2020-10-19 12:27:53 -07:00
Mark Pizzolato
4db4f90429 VAX, Unibus VAX: Record explicit TODR set immediately to backing store
- Only if backing store is used (i.e. OS Agnostic mode)
- Previously this was only done on a clean simulator exit.  That could
  result in inconsistent timing information in operating system images vs
  the saved TODR baseline data
- Always return TODR values rounded to the TODR granularity (10ms).
2020-10-09 05:10:34 -07:00
Mark Pizzolato
0e72400e09 PDP11, Qbus/Unibus VAX: Silence various compiler warnings 2020-10-09 05:10:12 -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