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

249 Commits

Author SHA1 Message Date
Bob Supnik
e76f5d7fae PDP11: Update doc to include SET CPU BEVENT option 2020-12-18 04:04:33 -08:00
Mark Pizzolato
344fafcc1b sigma: Compiler warning fixups 2020-12-18 04:03:27 -08:00
Mark Pizzolato
f9dd01d8a8 H316, I1401, I1620, I7094, PDP1, PDP11, PDP18B, PDP8: Compiler warning fixups 2020-12-18 04:03:02 -08:00
Mark Pizzolato
dc6d05e9f5 S3: Removed legacy version of IBM System 3 not maintained by Bob Supnik 2020-12-18 03:56:15 -08:00
Bob Supnik
71e2a37ec1 VAX780: Silence bogus gcc warnings 2020-10-07 15:33:11 -07:00
Bob Supnik
c8270f7865 SCP: Update to Bob Supnik's latest source 2020-10-04 05:56:32 -07:00
Samuel Deutsch
adf1a4c1dc 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-10-04 05:51:04 -07:00
Mark Pizzolato
aaa4e4ca5e SCP: Update to Bob Supnik's latest source 2020-09-17 14:04:40 -07:00
Bob Supnik
682d692c8c PDP11: Fixed problem in KDJ11-E programmable clock 2020-09-16 03:37:21 -07:00
Bob Supnik
133a2c98ee UC15: Zero out DR15 shared state on first allocation 2020-09-15 14:34:51 -07:00
Bob Supnik
694c7f8ad0 PDP11: Added KSR mode to TTI/TTO 2020-09-15 14:34:03 -07:00
Bob Supnik
baf14114eb PDP8: Fixed comments in DT device bootstrap 2020-09-15 14:33:18 -07:00
Bob Supnik
b555b7252d PDP11: Change TU device comment text 2020-09-15 14:32:24 -07:00
Mark Pizzolato
29b0e7f121 SHMEM: Fix Linux code to properly use built-in's and cleanup on shutdown
As reported in #909
2020-09-15 14:31:03 -07:00
Bob Supnik
02f97392d4 PDP10: Fix TC_RIP macro in TU device 2020-09-08 03:05:24 -07:00
Mark Pizzolato
91048325e7 SCP: Bob Supnik's pre-release 3.11-2 2020-06-07 13:03:38 -07:00
J. David Bryan
eac123f87c SCP: Declaration of "sim_vm_init" is now conditional on USE_VM_INIT 2020-06-07 13:02:00 -07:00
Mark Pizzolato
4289d79bbf ETHER, SOCK: Update latest from master branch 2020-06-07 12:45:41 -07:00
Bob Supnik
bc2e8df1e1 S3: Fix declaration of bldaddr (Mark Pizzolato) 2020-06-06 15:09:39 -07:00
Bob Supnik
54467fc4b0 SCP: Added SET <dev|unit> APPEND command
- Flush stdout after prompting (Mark Pizzolato)
2020-05-29 08:10:06 -07:00
Bob Supnik
364067a788 ALTAIR: Allow PTP device to be readonly at attach time 2020-05-29 08:08:58 -07:00
Bob Supnik
e475936c87 PDP8: Correct comments attributing Bernhard Baehr's description of the TSC8-75 2020-05-29 06:58:09 -07:00
Bob Supnik
d14ad47f83 PDP1: Generalized PTR EOL and EOF handling 2020-05-29 06:53:56 -07:00
Bob Supnik
0d319b9eff VAX, VAX780: Added idle test for VMS 5.0/5.1 (Mark Pizzolato) 2020-05-29 06:00:46 -07:00
Bob Supnik
be1df57fa2 Nova, PDP10, PDP11, PDP8, SIGMA: Unload call sim_tape_detach (Mark Pizzolato) 2020-05-29 05:59:44 -07:00
Bob Supnik
e1e2bd18cf simh 3.11-1 v3.11-1 2020-03-14 07:43:09 -07:00
Bob Supnik
d26032c7d8 sigma: fixed incorrect 550 interrupt register array size declaration 2020-03-14 07:39:29 -07:00
Bob Supnik
edfda8412f ETHER: Imported latest from master branch 2020-03-14 07:20:53 -07:00
Bob Supnik
4ace512eea SCP, TMXR: new extensions to support HP simulators 2020-03-14 07:20:10 -07:00
Mark Pizzolato
e97675cc7a ECLIPSE: Fix build to define USE_INT64 2020-03-14 07:02:05 -07:00
Mark Pizzolato
538f9bcf8f Visual Studio Projects: Cleaned up for easy conversion by later Visual Studios 2020-03-06 08:37:30 -08:00
Mark Pizzolato
98e0ef0e59 Merge Bob Supnik's code base as of 3/1/2020 2020-03-01 18:29:52 -08:00
Bob Supnik
41feb1ce23 Interdata 16 & 32: Fixed DP device xTIME register declarations (Mark Pizzolato) 2020-03-01 18:28:27 -08:00
Bob Supnik
7c018b11a2 alpha: Fixed CPU DMAPEN register declaration (Mark Pizzolato) 2020-03-01 18:26:55 -08:00
Bob Supnik
462656d199 PDP11: Fixed PTR and PTP INT register definitions (Mark Pizzolato) 2020-03-01 18:25:52 -08:00
Bob Supnik
6d4ad46f79 PDP11, VAX: Disabled VH11 2020-03-01 18:24:46 -08:00
Bob Supnik
fac557150d PDP11, VAX: Fixed DZ race condition for multiple transmitters (Mark Pizzolato) 2020-03-01 18:23:41 -08:00
Bob Supnik
f39e7cd5cb SCP: Spelled out CONTINUE in command table (Dave Bryan) 2020-03-01 18:21:59 -08:00
Bob Supnik
43360191c8 simh 3.11 2019-11-30 20:19:00 -08:00
Bob Supnik
cf9ead8d04 VAX, VAX780: Added hook for unpredictable indexed immediate
Originally, the VAX allowed immediate operands (8F) to be used without
restrictions in address mode instructions, either standalone or indexed.
Starting with MicroVAX II, immediate indexed became reserved. This
remained true for all subsequent chip implementations. The SRM was
ECOed in March, 1985 to make immediate indexed unpredictable.

In MicroVAX II, immediate g-floating operands didn't work correctly. The
problem was found a couple of months after tape-out. While the index
flows could be fixed, and were fixed according to the microcode revision
history:

;    7-May-84    [RMS]    Fixed FD problem in index flows (JLR)

the problem in indexed immediate could only be fixed by a significant
hardware change in an area that was already packed full. The VAX
Architecture Team, which had always been very sympathetic to the
VAX chip efforts, proposed a much simpler solution: make immediate
indexed unpredictable. It was useless, in any case.

I'm rather surprised that this wasn't flagged by the 780 diagnostics.
Maybe it was never tested. It was tested in HCORE (the original MicroVAX I
core diagnostic that is failing), but I removed it subsequently:

; 8-may-85    rms    removed indexed immediate tests

Bottom line - the simulator is right for the chip VAXes (including, I think,
V11) and wrong for MicroVAX I and probably the 8600, 780, 750, and 730.
2019-04-23 11:56:55 -07:00
Bob Supnik
e4f8313262 VAX: Add C & V condition code support for MTPR and MFPR opcodes
As originally specified, both MTPR and MFPR set N,Z based on the
transmitted/received longword data, cleared V, and left C untouched. The
simulator hardwired this (except for the standardized TBCHK register)
based on the CVAX microcode.

In the 8200, accessing the RXCD register sets V for character
sent/received. (The VAX vector MxPRs also return non-standard values
for the condition codes.) This is one of the reasons that, in 1986, the
VAX architecture spec was changed to make the condition codes
UNPREDICTABLE following MTPR or MFPR.

Accordingly, I've added a "hook" to support the 8200 and other
non-standard MxPRs: global variable mxpr_cc_vc.

At the start of MTPR or MFPR (only), this variable is set to
000<current C bit>. MTPR will set N and Z based on the transmitted
operand and clear V and C. MFPR will set N and Z based on the received
data and clear V and C. Then, at the end, mxpr_cc_vc, masked down to
V & C, is ORed into the condition codes.

Thus, if an IPR write or read does nothing special, MTPR and MFPR will
get the canonical results. N,Z set, V cleared, C preserved. However, an
IPR routine can now specify a non-standard value for V and/or C by
modifying mxpr_cc_vc.

This tweak required changes only in vax_cpu.c. None of the model-
specific IPR routines need to be changed, except for Matt's 8200 RXCD
code. Anyone attempting implementation of further models (or VAX
vectors) should be aware of this new capability.
2019-04-15 21:37:15 -07:00
Bob Supnik
10c0c36e01 HP2100, HP3000: HP2100 release 29, HP3000 release 8
See HP2100/hp2100_release.txt for HP2100 details

See HP3000/hp3000_release.txt for HP3000 details
v3.10
2019-04-15 21:30:31 -07:00
Bob Supnik
d90ed88199 PDP11: Add SP to instruction history 2019-04-15 19:18:27 -07:00
Bob Supnik
fd062ddf2c i1401: Fix comment in operation table 2019-04-15 19:17:30 -07:00
Bob Supnik
8a3a3a63d7 Sigma: Fix spelling in comment 2019-04-15 19:15:52 -07:00
Bob Supnik
0b4ecef91c SCP: Coverity warning cleanup from Dave Bryan 2019-04-15 19:15:02 -07:00
Mark Pizzolato
d739fe435e PDP11, VAX, VAX780: Adjust project definitions for new pthreads 2.11.1 2018-10-21 09:52:06 -07:00
Bob Supnik
5ccef2e6f8 simh 3.10-RC2
3.10 is mostly an attempt to get aligned with the current head of the
GitHub 4.0 sources. While the core libraries and SCP have diverged too
far for real forward and backward compatibility, enough 4.0 workalikes
have been added to allow much closer convergence of the two streams.

3.10 will provide the basis for my future simulation work.
2018-07-21 10:39:14 -07:00
Mark Pizzolato
a2bc6a9508 UC15: Fix incorrect shared region size 2018-07-21 03:01:11 -07:00
Mark Pizzolato
beaae0b945 makefile: Allow building shared memory applications 2018-07-21 03:00:36 -07:00