Commit graph

4199 commits

Author SHA1 Message Date
Lars Brinkhoff
96ac1c4ba0 IMLAC: Fix wrong instruction mask for decoding. 2022-03-11 09:27:07 +01:00
Lars Brinkhoff
5efb47dca5 TT2500: Fix unintended switch case fallthrough. 2022-03-11 09:18:38 +01:00
Mark Pizzolato
c035be465c PDP11: Fix Coverity identified issue in debug format statement 2022-03-10 17:08:15 -08:00
Mark Pizzolato
93e86f31f0 PDP11: Fix Coverity identified issue in HELP CPU 2022-03-10 17:07:11 -08:00
Mark Pizzolato
6ad8a528d7 DISK: Fix a few Coverity issues 2022-03-10 16:44:57 -08:00
Richard Cornwell
9b2f13d443 KA10: Fixed some coverity errors. 2022-03-10 19:12:46 -05:00
AZBevier
894871f64d SEL32: Correct Coverity detected warning errors. 2022-03-10 11:15:00 -07:00
Mark Pizzolato
e3dbe93e35 SCP: Coverity fixes 2022-03-09 15:53:10 -08:00
Bill Beech
a1a916f819 SWTP6800: Fix Coverity reported issue 2022-03-09 16:05:23 -07:00
Bill Beech
c9c9fa641b SWTP6800: General cleanup and boot fixup
DC-4: fixed flags
M6800: simplified code in big instr decode loop, Removed sim-debug
M6810: added examine and deposit (from Thomas Pfau), Removed sim-debug
MP-A: added examine and deposit (from Thomas Pfau)
2022-03-09 15:37:29 -07:00
Howard M. Harte
2cede2fb99 AltairZ80: HDC-1001: Resolve CID 1514860, 1514861. 2022-03-08 12:31:04 -08:00
Howard M. Harte
e293731e35 AltairZ80: Resolve CID 1514796. 2022-03-08 12:29:49 -08:00
Mark Pizzolato
d3fcb706e0 BESM6: Fix type declaration compile issue 2022-03-08 00:05:54 -08:00
Mark Pizzolato
857f725470 SCP: Avoid a Coverity complaint about getenv() 2022-03-08 00:02:07 -08:00
Leo Broukhis
6c56968f15 BESM6: 29 Mb disks (EC-5061, clones of IBM 2314) are now functional.
The OS seems to support them only on device MD4, though.
Native formatting works.
2022-03-07 21:06:57 -08:00
Richard Cornwell
3dd0d03321 KA10: Fixed some compiler warnings on MACOS. 2022-03-06 23:20:19 -05:00
Mark Pizzolato
16042a7b96 PDP11, VAX: Add RF30, RF31, RF71 and RF72 disk types to the RQ simulation
These are added based on simple drive geometry and size information
without any parameters for bad block management (not used in simulation
anyway).
Additionally, RF drives connected to Qbus systems via a KFQSA.  When
connected this way, EACH drive on the DSSI bus appeared to the attached
Qbus system as a separate MSCP controller to the operating system.  This
change does not model that connectivity.
2022-03-06 09:39:26 -08:00
Mark Pizzolato
06c696385f SCP: Coverity inspired changes 2022-03-06 02:11:57 -08:00
Mark Pizzolato
87597ea7f4 makefile: Add imlac and tt2500 to the all target. 2022-03-05 04:34:46 -08:00
Mark Pizzolato
a50dca0ff0 SCP: Normalize writelock/read only behavior
Setting a unit to write locked specifically allows only read access.
- If this is done while a unit is attached, it is up to device logic to
  limit write activity until it is detached.
- If this is done while a unit is not attached, a subsequent attach
  opens the container read only.
2022-03-04 21:13:37 -08:00
Mark Pizzolato
2fb741046d PDP11 & VAX: Avoid RQ DEVICE uname memory leaks
Additional UNITs from 4 up to 254 are replicated from Unit 0.
If the UNIT->uname has already been populated, we could leak memory if
it isn't released before copying from the template UNIT.
2022-03-04 18:28:30 -08:00
Mark Pizzolato
7aba63028c makefile: Remove include file from the SEL32 source file list 2022-03-04 09:06:23 -08:00
Mark Pizzolato
4d4a7b2fed README: Update to add Jim Bevier's SEL32 simulator 2022-03-03 17:45:31 -08:00
Mark Pizzolato
7c41688261 makefile: Report testing arguments at build startup 2022-03-03 17:41:54 -08:00
Mark Pizzolato
92415062b5 TMXR: Count per line TCP sessions 2022-03-03 17:41:12 -08:00
Mark Pizzolato
abd756ebad SCP: Allow unattached errors to halt with a specific unattached message 2022-03-03 17:40:27 -08:00
AZBevier
4991701ee6 SEL32: Add new SEL32 simulator. 2022-03-03 16:25:48 -07:00
Mark Pizzolato
4a45fda672 SCP: assure that t_stat is returned in sim_call_argv() 2022-02-28 10:12:33 -08:00
Mark Pizzolato
9bd945679d SCP: Add new sim_call_argv() API.
call a routine with C style argc, argv parsed arguments
2022-02-28 07:44:39 -08:00
Mark Pizzolato
66c737d12f README: Add Richard Cornwell's new PDP10-KS simulator 2022-02-28 07:18:12 -08:00
Richard Cornwell
730fa4b228 KA10: Removed stray tab. 2022-02-26 13:29:42 -05:00
Richard Cornwell
7a24b6ef4b KA10: Fix so KS10 ITS will build. 2022-02-26 11:48:45 -05:00
Richard Cornwell
a45c6c6e4f KA10: Fixed bug with page fault during ILDB/IDBP
Set KMC default state to disabled.
2022-02-24 08:37:12 -05:00
Leo Broukhis
f5fc4f0313 BESM6: Reorganized the disk devices.
Split the disk units into groups to match the OS naming convention.
Added unit group multiplexing (partially functional in the OS).
Split debug messages into categories.
2022-02-21 17:54:51 -08:00
Leo Broukhis
c3491a28a2 BESM6: Made all 32 tape units functional.
Split the tape units into 4 groups to match the OS naming convention.
2022-02-21 17:54:51 -08:00
Richard Cornwell
d435ae3028 KA10: Fixed BLTUB/BLTBU instructions. 2022-02-21 15:24:24 -05:00
Mark Pizzolato
dc7754206f PDP10: Fix inadvertent overlapped unit status bits 2022-02-20 11:26:14 -08:00
Mark Pizzolato
a8adf0d5f0 gitignore: Fix match rules now realizing the last match takes precedence 2022-02-20 11:25:54 -08:00
Mark Pizzolato
660e2b9f3f ETHER: Add stub to support shared code with simh v3.x code base 2022-02-20 09:01:54 -08:00
Mark Pizzolato
7ad62c5ee6 makefile: simplify the selection of simulators that can use network components 2022-02-20 08:51:18 -08:00
Richard Cornwell
84c713b494 makefile: Add KS10 build support 2022-02-19 18:43:39 -08:00
Mark Pizzolato
f32fe6e8a9 makefile: Add decision logic to support simh v3.x and simh v4.x 2022-02-19 18:42:38 -08:00
Mark Pizzolato
2768e5861d Visual Studio Projects: Add new PDP10-KS project and updated PDP10-KA and PDP6 2022-02-19 18:40:10 -08:00
Richard Cornwell
91aee9b39f KA10: Release 3 of PDP10 simulators. KS10 support added.
Added KS10 support.
    CPU Redid instruction decode to improve performance
    Triple-I display cleanup.
    Normalized end of line to DOS/Unix.
    KL10 FE, Cleanup issues with TTY devices hanging simulator..
    Fixed errors in RH20 device.
    RP and TU drives more independent of RH controller.
2022-02-19 20:25:44 -05:00
Howard M. Harte
10c7e50f1c sim_imd: Resolve coverity issues. 2022-02-19 13:25:50 -08:00
Richard Cornwell
ba01a5793c B5500: Normalized end of lines to DOS/Unix. 2022-02-18 22:06:05 -05:00
Leo Broukhis
9f5e40e240 BESM6: Implemented formatted magnetic tapes.
At the moment formatting has to be done by means of SIMH rather than
using the standard OS mechanism.
2022-02-16 11:41:45 -08:00
Mark Pizzolato
d960c96f56 SCP: UNIT_BUFABLE isn't always set with UNIT_MUSTBUF
UNIT_BUFABLE without UNIT_MUSTBUF means that uptr->filebuf is managed
outside of attach_unit's authority.  The buffer copy must always be allocated
if UNIT_BUFABLE is set so that there is space to store the initial loaded copy.

Fix #1122
2022-02-14 19:30:30 -08:00
Mark Pizzolato
eac0e5680b DISK: Add SET NOAUTOSIZE - disable autosize when attaching existing containers
This is a global command possibly for folks who have configurations which
always explicitly specify the drive type they want a particular unit to be
before they attach a container to the unit.  The side effect of this will
be to avoid the addition of drive type describing meta data to disk
containers.
2022-02-14 15:06:34 -08:00
Mark Pizzolato
af4f37efac doc: Revise the SIMH User's guide to describe startup config files executed
The key change is the addition of:

When a simulator starts execution, the following sequence of simh command
files are executed if they are found:
    1. If a file named simh.ini is located in your HOME directory, it is
        executed.
    2. If the simh.ini file in your HOME directory isn’t found, a file named
        simh.ini in your current working directory is executed if it exists.
    3. If the simulator is invoked with any arguments, then the arguments are
        presumed to be a command file and possible arguments to that command
        file which is executed.
    4. If the simulator is invoked without any arguments, then a command file
        with the same name as the simulator binary with .ini appended that is
        located in the current working directory is executed.

Note, that up to 2 separate command files may be executed on simulator
startup.  The simh.ini file allows the user to define local user
preferences that align with their personal goals for simulator execution
across all simulators that may be used on their system.

Steps 3 and 4 were inherited from simh v3.x.  Steps 1 and 2 was inspired
by conversations with J. David Bryan in April of 2012.  Some how it
never got documented.
2022-02-14 12:43:52 -08:00