1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 15:27:46 +00:00

204 Commits

Author SHA1 Message Date
Bob Supnik
3165a1b3ab All VAX: Properly define Unimplemented Opcode specifier count mask
the opcode table first word consists of bits:

<7> = FPD is legal for this opcode.
<4:6> = number of specifiers for unimplemented opcodes (VAX subsets)
<3> = unused
<0:2> = number of specifiers

The mask used to be 0x70. The convention is that x_M_y is a mask value
<right-justified>, for a macro like:

#define get_foo(x)        (((x) >> x_V_foo) & x_M_foo)

For a subset VAX (like the 3900), the unimplemented opcodes are those
that are recognized on a full VAX but simply trap as reserved instructions
(e.g., the H-floating instructions). This really only affected symbolic
printing and decoding of these instructions.
2017-03-20 07:19:32 -07:00
Bob Supnik
eb2862fde4 SDS: Add precise gap erase to MT device
As discussed in #152.  Still needs some additional sim_tape work.
2017-03-19 18:15:02 -07:00
Bob Supnik
b32e22874d sigma: Add "Sigma 7 BigMem" as a model variant
BigMem is a Sigma 9 memory management retrofit to the Sigma 7.
2017-03-19 18:12:34 -07:00
Bob Supnik
a6469c255d NOVA, PDP1, PDP11, sigma: Various cosmetic/typo changes 2017-03-19 09:45:12 -07:00
Bob Supnik
9700c9116a PDP8: Added LS8E decode (6660) for WPS8 and PKSTF
As discussed in #353
2017-03-18 23:46:10 -07:00
Bob Supnik
a12b5d5a8f PDP18B: Limit connection poll to configured lines 2017-03-18 23:43:01 -07:00
Bob Supnik
1ea348ed1d VAX780: Update 780 bug history to include REI to Compatibility mode 2017-03-18 22:41:37 -07:00
Bob Supnik
94d241e507 ID16, ID32: Fixed testing of 8b mode and echoed character (COVERITY) 2017-03-18 21:53:55 -07:00
Bob Supnik
244ad6be5a I7094: Annotated fall through in switch (COVERITY) 2017-03-18 21:48:57 -07:00
Bob Supnik
07cd35b86a I1401: Fixed MTF length checking (COVERITY) 2017-03-18 21:48:01 -07:00
Mark Pizzolato
17fb03d686 ALTAIR: Extend data buffer to avoid overrun (COVERITY) 2017-03-18 20:04:19 -07:00
Bob Supnik
9f60279a51 PDP1, PDP8, PDP18B, PDP11: Fixed dt_seterr to clear successor states 2017-03-15 09:57:58 -07:00
Bob Supnik
b0541176da alpha: Fix Coverity identified Defect: 1416171 2017-03-14 18:20:46 -07:00
Mark Pizzolato
d3b6bb2dac alpha: Adding baseline experimental Alpha version
This is so Bob can change his alpha source and we can track changes
2017-03-14 18:15:34 -07:00
Bob Supnik
4a5d829c46 PDP11: Fixed spurious interrupt when setting GO
The code wasn't handling interrupts correctly when TCCM was written. In
particular, if the GO bit clears DONE, the code looked for the "SET IE" case
too soon and didn't clear the interrupt that was incorrectly generated.
The new code factors "GO" into the calculation.
2017-03-14 09:58:17 -07:00
Bob Supnik
053cb0fda8 I1401: Fixed possible NULL pointer dereference (COVERITY) 2017-03-14 04:23:46 -07:00
Bob Supnik
b68910ded7 I1620: Fix Coverity identified problems
CPU: Added error test on device addr
DP:    Fixed bug in write check function test
TTY:  Fixed tab stop array overrun at right margin
2017-03-14 04:21:58 -07:00
Bob Supnik
2b5ea1bdcf I7094: Fixed GET_PCHAIN macro (COVERITY) 2017-03-14 04:19:12 -07:00
Bob Supnik
01a75bc2da sigma: Fix Coverity identified problems
CIS:   Properly clear sign
DP:   Fixed bug in selecting 3281 unit F
RTC: Fixed bugs in set, show_tps
2017-03-14 04:18:07 -07:00
Bob Supnik
5ec40f26c6 VAX, VAX780: Fixed dangling else in show_opnd (COVERITY) 2017-03-14 04:16:53 -07:00
Bob Supnik
ebfc76d03d VAX, VAX780: Fixed certain indirect cases in parse (COVERITY) 2017-03-14 04:09:18 -07:00
Mark Pizzolato
7e7c633bcc GIT: Use consistent gitignore across branches 2017-03-14 04:04:48 -07:00
Bob Supnik
d031eb7476 VAX780: Fixed bad test for UBA intr level (COVERITY)
IPL_UBA already has the subtract built in:

So it shouldn't be extracted again.

The whole routine looks a little strange, but the way it works is
that an interrupt from the UBA itself sets <bit 31> in the returned vector.
Because the vector is read by code and not used by hardware, the flag
bit is "harmless."

UBA interrupts occur only under strange circumstances, like bad map
pages and device NXMs. Under the simulator, with a debugged OS, they
never happen.
2017-03-13 17:37:33 -07:00
Bob Supnik
48a9b5b42b PDP10, PDP11, PDP18B, PDP8: Annotate switch case fall through (COVERITY) 2017-03-13 10:32:27 -07:00
Bob Supnik
3aff340c17 GRI, H316, I7094, NOVA, SDS, sigma: Annotate switch case fall through (COVERITY) 2017-03-13 10:31:44 -07:00
Bob Supnik
2edf3d9ded VAX: Annotated intentional fall throughs in switch statements (COVERITY) 2017-03-13 10:17:23 -07:00
Bob Supnik
38f925a4f5 PDP10: Fixed word count test in EXE loader (COVERITY) 2017-03-09 19:59:30 -08:00
Bob Supnik
8029b1075f PDP1, PDP18B: Fixed dt_seterr to handle nx unit select (COVERITY) 2017-03-09 19:58:32 -08:00
Bob Supnik
43d8ee6323 PDP10: Added mask on EXE repeat count (COVERITY) 2017-03-09 19:40:24 -08:00
Bob Supnik
d2100f7549 PDP8: Fixed PCQ_ENTRY for interrupts (COVERITY) 2017-03-09 19:39:17 -08:00
Bob Supnik
bbb02d5bb8 ID16, ID32: Added mask on EXE repeat count (COVERITY) 2017-03-09 19:38:14 -08:00
Bob Supnik
300bfaa3c0 I1401: Protect character conversions from garbage files (COVERITY) 2017-03-09 19:37:02 -08:00
Bob Supnik
417b85f0d6 NOVA: Fixed missing break in loader & overlook case in address parse (COVERITY) 2017-03-09 19:36:00 -08:00
Bob Supnik
888b84af54 SDS: trap_P not set if mem mgt trap during fetch (COVERITY) 2017-03-09 19:28:19 -08:00
Bob Supnik
6cd53d9d86 I1620: Guardbanded translation table lookups (COVERITY) 2017-03-09 19:27:43 -08:00
Bob Supnik
7963188721 VAX780: Added missing break (COVERITY) 2017-03-09 19:23:19 -08:00
Mark Pizzolato
3124e5fe41 Visual Studio Projects: Add project for sigma simulator 2017-03-09 08:29:27 -08:00
Bob Supnik
1f77645f32 SIGMA: Add LOAD support for Carriage Control Tape 2017-03-09 08:16:30 -08:00
Bob Supnik
952a75a1c9 SIGMA: Fixed unspecified return value in HIO 2017-03-09 08:12:40 -08:00
Bob Supnik
ae3179e2fe PDP11, PDP10, VAX780: CR11 is BR6, CD11 is BR4 2017-03-07 09:05:59 -08:00
Bob Supnik
d7a98da256 PDP8: Change RESET CPU to clear L'AC
As discussed in #400 and described in the maintenance manuals and/or
schematics for all five PDP-8 models (8, 8/S, 8/I, 8/E, 8/A).
2017-02-19 21:36:42 -08:00
Bob Supnik
e22ffedb29 PDP11: Fixed RF device CSR address in boot code 2017-02-13 08:27:47 -08:00
Bob Supnik
9f4b198afd PDP11: Fix address block length for RS device
As discussed in #396
2017-02-11 10:33:51 -08:00
Bob Supnik
b86fa93174 PDP10: Fix RIM load loader count
As further discussed in #278
2017-02-01 08:04:09 -08:00
Bob Supnik
6705fe9398 PDP8: Renamed switch register variable to SR
As discussed in: #385
2017-01-28 12:11:01 -08:00
Bob Supnik
4740135958 PDP10: Fixed RIM loader to handle ITS and RIM10B formats
As discussed in #378

The fixes include:

1. Tightening up the "magic" code so that it can now tell EXE, SAV, and RIM
    formats apart.
2. Skipping the loader itself for both RIM10B and ITS RIM. (PDP10 Macro manual
    says that RIM10B always includes the loader.) 3. Distinguishing ITS RIM from
    RIM10B by the length of the loader block.
4. Adding the slight differences in processing between ITS RIM and RIM10B.

There is no documentation change. -R or the extension .RIM still invoke the
RIM loader, and the code tells ITS and RIM10B apart.
2017-01-20 15:21:12 -08:00
Mark Pizzolato
95f27b2cfd Visual Studio Projects: Fix PDP10 build which had removed the XU device 2017-01-20 15:11:33 -08:00
Mark Pizzolato
c23b1a5ca1 PDP10: Fixed bugs in 1-proceed
As discussed in: PDP-10: single step in DDT crashes ITS (#373)
2017-01-14 08:33:35 -08:00
Mark Pizzolato
b414f54fd4 PDP11, VAX780: Moved CR11/CD11 from BR4 to BR6 2017-01-06 12:33:59 -08:00
Mark Pizzolato
99bbc5f8cf PDP11: Add initial UC15 support from Bob Supnik 2016-12-04 15:51:22 -08:00