1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

17 Commits

Author SHA1 Message Date
Mark Pizzolato
700ac6719d SCP: Assure only 5 UNIT fields can be initialized beyond the UDATA macro
The simh v3 UNIT structure only provided UNIT fields wait, u3, u4, u5 and u6
available for static initialization beyond what is provided by the UDATA
macro.  This change assures that here as well.

If a simulator developer needs to initialize UNIT fields beyond what is
available here and via the UDATA macro, then explicit code usually in
the DEVICE reset routine should be used to initialize those fields.

Fix the CDC1700 simulator which statically initialized additional UNIT fields.
2023-01-05 15:09:55 -10: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
John Forecast
2e53d1ca28 CDC1700: Compiler warning cleanup 2020-10-24 17:50:04 -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
John Forecast
a6701c1349 CDC1700: Retire use of sim_vm_init and invoke init logic from cpu_reset 2020-01-29 15:11:34 -08:00
Mark Pizzolato
2260eee423 CDC1700: Cleanup minor compiler warnings.
- Avoid macro name conflic REG_NONE changed to REG_NOREG
- Avoid a t_offset truncation assigning to a uint16 in drm_attach.
2017-12-15 04:30:03 -08:00
John Forecast
a5feaf2815 CDC1700: Release 3
- Add 1752 Drum support. Allow shared subroutines across interrupt levels.
- Document and add sample scripts for customizing MSOS5.
2017-12-14 16:44:01 -08:00
John Forecast
d4a79a27b0 CDC1700: Provide scripts to install and run MSOS 2017-03-29 14:09:54 -07:00
John Forecast
b64f3cd1c7 CDC1700: Fix Coverity identified potential buffer overrun 2017-03-17 08:49:17 -07:00
John Forecast
8d8ecc1a5a CDC1700: Fixing Coverity identified issues 2017-03-15 14:53:51 -07:00
Mark Pizzolato
df1baf2528 CDC1700: Release 2
- Fix protect fault for 2-word instructions so that background tasks do not
   crash.
- Lay the ground work for supporting the enhanced instruction set.
- Fix disk layout bug (disks are no longer compatible with previous version).
- Add debugging support for displaying MSOS 5 system requests.
- Fix bugs found by Coverity.
2017-03-14 13:36:57 -07:00
Sergey Svishchev
edc93cf263 CDC1700: fix potential use of uninitialized value (Coverity Scan) 2017-03-11 17:59:41 -08:00
Mark Pizzolato
41ba04e88a LGP, CDC1700, PDQ3: Add new VM optional sim_vm_sprint_addr API 2016-09-01 14:34:55 -07:00
Mark Pizzolato
a59cd3bd3b CDC1700: Update to add help and descriptions from John Forecast
- add internal help entries
- add descriptions to the register, modifier and debug tables.
- changed device CD name to CDD to avoid name conflict with the CD command
2016-07-24 13:33:03 -07:00
Mark Pizzolato
63cf98f84b CDC1700: Compiler suggested cleanup 2016-07-20 21:27:02 -07:00
Mark Pizzolato
1897dfeb94 CDC1700: Initial import of new simulator from John Forecast 2016-07-20 21:05:02 -07:00