Commit graph

4264 commits

Author SHA1 Message Date
Bob Supnik
07ea411d3e PDP8: Zeroed result exponent in double precision (COVERITY) 2022-06-16 16:13:46 -07:00
Bob Supnik
28fd79ef06 All LP and CD devices: Removed use of ftell for pipe compatibility
Merge changes from v3.12-2
2022-06-16 16:13:46 -07:00
Bob Supnik
8d49d8c297 All Tape DEVICES: Added extra case points for new MTSE definitions
Merge changes from v3.12-2
2022-06-16 16:13:46 -07:00
Anthony Lawrence
bcaed7d0b0 SCP: Fix incorrect disk size reporting when t_addr is 32 bits 2022-06-14 20:21:21 -07:00
Trevor Warwick
2a38dd802b QBus VAX and PDP11: Add support for DPV11 in DDCMP mode
This commit extends the existing DUP11 support to add simulation for a DPV11 in DDCMP mode.

It has been tested with DECnet-VAX Phase V, which has the only host driver I know of. Note
that you may see a few CRC errors logged with high traffic levels, these are due to a couple of
bugs in the VMS driver, for which I'm looking at developing a patch.

Regression testing has been done on the DUP11 on VMS, RSX and TOPS20, which all seemed to work
as well as previously.
2022-06-14 18:32:12 +01:00
Paul Koning
88ce8f7072 Merge remote-tracking branch 'origin/pr/5' 2022-06-11 15:30:52 -04:00
Lars Brinkhoff
2faf59733f Sample stub simulator. 2022-06-11 12:43:22 +02:00
Bill Beech
44428e53b6 SWTP6800: Update to simulators
- General cleanup of codebase
- Fixed condition codes m6800.c  from Roberto Sancho Villa
- Add additional FDC lfd-400 from Roberto Sancho Villa
- Add additional OS's (FLEX 1.0, FDOS 1.0, DOS68, MiniDOS, and MiniDOS-MPX)
  to software support
- Add additional disk formats to software support dc-4.c  from Roberto
  Sancho Villa
- Add CPU history
- Fix LOAD/DUMP to support binary and hex
- Fix fprintf_sym to disassemble 6800 code correctly
- Add EXAMINE/DEPOSIT to CPU Memory
- Fixed disasm to space the register
- Add SET_FLAG(IF) to IRQ – fixed error in handling IRQ from
  Roberto Sancho Villa
2022-06-09 14:28:04 -07:00
Bill Beech
087e0c7bc8 SWTP: Rename boot rom to reflect the ROM version in the filename 2022-06-09 14:10:33 -07:00
Trevor Warwick
6e0e5a714d PDP11 & Unibus VAX, PDP10: Fix DUP device support for use by internal KMC for TOPS-20
This fixes a regression caused by commit b41acb3
2022-06-07 17:16:21 +01:00
rms47
78f56b24f5
Update sigma_dp.c
Found by Ken Rector; TDV hangs because loop is missing its increment.
2022-06-06 15:45:33 -04:00
Paul Koning
2e894a95c3
Merge pull request #1 from simh/open-simh-master
Open simh master
2022-06-05 17:11:01 -04:00
Mark Pizzolato
910bbc2d7e 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.

This commit is explicitly released from any license restriction
mentioned in the LICENSE.txt of the github.com/simh/simh
master branch changes.
2022-06-05 13:06:04 -07:00
Paul Koning
5a7a4c778e Fix links in status document; also comment out some parts for which we
don't have support yet.
2022-05-31 09:47:16 -04:00
Paul Koning
5aefb7db88 Initial descriptive files for Open SIMH 2022-05-30 14:38:25 -04:00
Paul Koning
ce19761878 Rename README.md to allow it to be replaced by a short summary. 2022-05-30 14:37:34 -04:00
Trevor Warwick
775e2f1f79 PDP11, Qbus & Unibus VAX: Fix DUP device loopback on device reset
- When the DUP TXCSR DEVICE_RESET bit is set, which clears the MAISEL bits, any
existing tmxr loopback must also be removed.
2022-05-18 16:38:10 +01:00
Trevor Warwick
b41acb30c1 PDP11, Qbus & Unibus VAX: Extend DUP device for DECnet Phase V support
- This involves adding some trailing characters to received DDCMP frames
  to meet host driver expectations (simulation then behaves more like a
  real synchronous device). 1 SYN is enough for VMS, but RSX needs a few
  when there is no abutting frame.
- The VMS driver implements the CRC performance option in section 5.1.2
  of the DDCMP spec., and thus relies on receiving a valid character after
  the CRC on a received frame.
2022-05-16 18:18:26 +01:00
Tony Nicholson
e1ce9f4f70 sim_imd: Check for EOF when reading IMD track headers
The recent change to check that the IMD file track header record is 5
bytes introduced a problem with the end-of-file triggering an open file
error - instead of the previous behaviour where the number of bytes in
the track header was ignored and end-of-file was checked.

I noticed this after fetching and compiling the latest simh altairz80 - it
was refusing to my mount floppy disk IMD image files (which I had made
from 8-inch floppies back in 2006).

```
maxi:s100 tony$ altairz80 cpm3bk.ini

Altair 8800 (Z80) simulator V4.0-0 Current        simh git commit id: d3f1ee09
Console escape is CTRL-\
I8272: IMD disk corrupt.
/Users/tony/s100/cpm3bk.ini-58> att disk1a0 /Users/tony/s100/C3BKSIMH.IMD
File open error
```

Looking at the commit history, I saw the change by Howard Harte to
sim_imd.c to "Resolve CID 1502448, 1502460" - presumably to fix the
call to sim_fread() that was not checking the returned result.
Howard's "fix" broke the parsing of the IMD file sector headers by
not checking for an end-of-file condition (at the end of file it
would read 0 bytes and this was now treated as a fatal error - whereas
the old code had a check for end-of-file after the call to sim_fread()).

This commit now detects end-of-file correctly, as well as verifying
the track header is 5 bytes.
2022-05-01 08:01:18 +10:00
Mark Pizzolato
d3f1ee0998 CONSOLE: Set console input WAIT time to reflect console speed 2022-04-05 08:37:03 -07:00
Mark Pizzolato
b8015349e2 DISK: Add progress indications for ZAP -Z 2022-04-01 12:37:11 -07:00
Mark Pizzolato
a15c6407bd SCSI: Add clean SCSI command debugging support 2022-03-25 17:32:57 -07:00
Mark Pizzolato
6cac5c9eae DISK: Force Read Only for all ISO container attach operations
ISO files and real CDs exist which don't have ISO 9660 file structure.
These do contain ODS2 file systems since they were produced before
ISO 9660 was standardized and certainly before OS support for ISO
9660 was added.  As such, any file named .iso or .ISO will always be
attached read-only since CDs are never naturally writable devices.
2022-03-25 16:25:28 -07:00
Richard Cornwell
406c6af944 KA10: Fixed FE printer support on Tops 20. 2022-03-25 19:16:56 -04:00
Richard Cornwell
4b5386ea75 KA10: Fixed running of OPR on Tops10 and Tops 20. 2022-03-25 19:16:35 -04:00
Mark Pizzolato
61877a5c77 PDP11, VAX: Add RF73 and RF35 disk type to RQ, correct various model numbers 2022-03-22 21:25:16 -07:00
Paul Koning
44bdb8a9d6 DISK: Fix off by one error in reporting RSTS file structure info
Updates the previous commit to do it better, by not changing
the return value of get_rsts_filesystem_size -- it still returns
the size, at least our best guess of it (for RSTS it's not possible
to get it correct in every case, but it will be correct for
most scenarios).
2022-03-21 17:08:36 -04:00
Paul Koning
efb83fa831 DISK: Fix off by one error in reporting RSTS file structure info
This fixes issue #1106 -- the last sector number reported was
off by one (sector past the last free sector).
2022-03-21 13:43:30 -04:00
Bob Armstrong
eac94b4bdb H316: update IMP 00readme.txt to match current code 2022-03-20 16:39:03 -07:00
Mark Pizzolato
e0700d3b7c DISK: Add support for ISO 9660 file system detection
Any attach of an ISO 9660 file system is done Read Only since that
file system is logically non-writable.

Related to #1094
2022-03-19 17:18:54 -07:00
Howard M. Harte
3b06ed7ec9 sim_imd: Resolve CID 1502448, 1502460. 2022-03-19 08:47:32 -07:00
Mark Pizzolato
f0760cc5cb TX0: Silence Coverity issues
Coverity is confusing routines by the same name from different simulators.
Making these routines static should solve the problem.

Also fix un-checked status complaint.
2022-03-18 16:47:33 -07:00
Mark Pizzolato
cb4d6cfc29 FIO: Properly bound byte swap activity when reading on big endian hosts 2022-03-18 12:09:17 -07:00
Leo Broukhis
203ca72356 BESM6: Fixed a compilation warning and a Coverity defect. 2022-03-18 07:53:24 -07:00
Seth Morabito
6afef3fabf 3b2: Fix Coverity issues 2022-03-17 16:04:43 -07:00
Mark Pizzolato
becceeb889 ETHER: Assure there's enough space to fetch the system GUID on Windows 2022-03-17 12:17:40 -07:00
Mark Pizzolato
aa637f58c0 DISK: Properly support attach time disk copy to a larger container 2022-03-17 07:28:11 -07:00
Leo Broukhis
36cd4668e7 BESM6: A Coverity fix, TTY enhancements.
One of the two parallel interface consoles (TTY26) works in the Videoton-340 mode;
disconnecting a remote TTY session works like powering the terminal down.
After reconnecting, it is necessary to type "HYC" blindly to re-initialize the line.
Added TMXR line reordering.
2022-03-16 19:52:51 -07:00
Mark Pizzolato
8d2e6849b6 I7094: Remove irrelevant buffer address checks
These checks were remnants of prior code which dynamically allocated buffers.
2022-03-16 19:18:22 -07:00
Mark Pizzolato
50f80f61cf PDP11: Only compute vector ilvl when it will be used (Coverity) 2022-03-16 14:44:20 -07:00
Bill Beech
efa04e4e31 SWTP: Fix Coverity found more missing arguments in M6800 2022-03-16 14:41:34 -07:00
Bob Armstrong
2a63d939d3 H316: Coverity update - remove dead code; fix formatting 2022-03-16 10:56:21 -07:00
Richard Cornwell
3d3675edbc KA10: Clean up coverity error. 2022-03-15 21:30:55 -04:00
Bill Beech
af6665be05 SWTP: Fix Coverity found missing argument in M6800 2022-03-15 15:44:13 -07:00
SpareTimeGizmos
b779bfc1cd H316: Fix missing initialization and remove dead code found by Coverity 2022-03-15 08:35:47 -07:00
Mark Pizzolato
d03f1b67a2 PDP11: Only compute vector ibit when it will be used (Coverity) 2022-03-15 08:19:25 -07:00
Mark Pizzolato
b6201898ee I1620: Fix typo in recent Coverity change 2022-03-15 07:48:20 -07:00
Mark Pizzolato
d02e91c797 I1401, I1620, I7094: Address Coverity issues in card reader devices 2022-03-15 07:25:34 -07:00
Howard M. Harte
86f65093bc AltairZ80: s100_hdc1001: Resolve CID 1515006. 2022-03-14 22:43:56 -07:00
Mark Pizzolato
e88221b362 I7094: Avoid Coverity identified potential error 2022-03-14 15:54:02 -07:00