Commit graph

4583 commits

Author SHA1 Message Date
Richard Cornwell
144d8a10cb SCP: On Windows fixed writing to Console when Console is file. 2022-10-24 18:37:03 -04:00
Olaf Seibert
f1c233afe7 3B2: remove unused local variable.
This and previous fix issue #76.
2022-10-24 17:19:00 -04:00
Olaf Seibert
d199ff1056 3B2: Change uint32_t into uint32 2022-10-24 17:19:00 -04:00
Howard M. Harte
ef6667b05c
Fix AltairZ80 compilation with Visual Studio 2008 (#85)
* AltairZ80: SS1: Fix disable after reset.

The CompuPro System Support 1 could not be disabled after enabled and
used due to timers causing it to be busy.  Reset properly so that "set
ss1 disabled" works after reset.

* AltairZ80: wd179x: Properly reset 179x state.

* AltairZ80: M68K: Fix compile with VS2008.

* Musashi: Fix compilation with Visual Studio 2008.

* AltairZ80: M68K: Resolve warnings in softfloat.

* AltairZ80: Add headers to .vcproj
2022-10-24 17:15:51 -04:00
Richard Cornwell
b52438a675 KA10: Added support for Address Stop (lars) 2022-10-23 17:56:02 -04:00
Lars Brinkhoff
2a4e4dc10d
Bug fixes for various video code. (#80)
* VIDEO: Fix bug: vid_ready can be used uninitialized.

* VIDEO: Not all events come with a valid windowID.

* PDP11: Fix NG SET TYPE.

The sense of MATCH_CMD is reversed.

* display: Fix bug in NG display controller.

There should be a separate state for each of the eight displays.

* display: Symbolic constant for number of displays.
2022-10-23 11:42:00 -04:00
Lars Brinkhoff
65410851d5 PDP11: DH11 device. 2022-10-18 07:28:28 +02:00
Lars Brinkhoff
4daf07bfe2 PDP11: Add option for 216K memory.
The Small ITS timesharing system prefers this amount.
2022-10-14 10:53:42 +02:00
Olaf Seibert
3a95ba4b34 Replace standard in32_t by local int32 type. 2022-10-13 22:29:06 +02:00
Paul Koning
253b8ec358 PDP11: Fix PC breakpoint check
Don't modify the CPU state when checking for physical address match on
PC address breakpoints.  Reported and verified by Lars.
2022-10-10 13:38:09 -04:00
Howard M. Harte
c6a6c72c63 AltairZ80: Reconcile license with open-simh. 2022-10-09 09:10:27 -07:00
Howard M. Harte
c1fded8a9d sim_imd: Reconcile license with open-simh. 2022-10-09 09:10:27 -07:00
Howard M. Harte
b5b8277611 TX-0: Reconcile license with open-simh. 2022-10-09 09:10:26 -07:00
Peter Schorn
3a7ec4788f AltairZ80: M68K: Fix hang with 'expect' 2022-10-08 00:25:25 -07:00
Howard M. Harte
1110802bb1 AltairZ80: M68K: Changes for SIMH.
Build: Compiled with VS 2022, Clang, gcc.
Test: Boot and run CP/M-68K from: https://schorn.ch/cpm/zip/cpm68k.zip
2022-10-08 00:25:04 -07:00
Howard M. Harte
ab21cbab7a AltairZ80: M68K: Update to Musashi 4.10
Includes up through commit fc7a6fc602e2fbcd24851670a5242358765feacf from
https://github.com/kstenerud/Musashi
2022-10-08 00:24:59 -07:00
Howard M. Harte
9fa55d0013 AltairZ80: M68K: Move Musashi to m68k directory.
The M68K CPU is from https://github.com/kstenerud/Musashi.  Move into
its own directory to facilitate easier synchronization with upstream
Musashi.
2022-10-08 00:24:49 -07:00
Olaf Seibert
7b494542ef Harmonize calibration code amongst VAXen.
Take the version of the code from VAX/vax4nn_stddev.c and vax4xx_stddev.c,
and apply it to 730, 750, 780, 820 and 860.
If we can assume that clk_tps always remains 100, this can be simplified
further.
2022-10-05 18:53:16 +02:00
Paul Koning
7d25ca3979 simh ui: replace "readline" by "editline".
Update the build instructions to mention libedit-dev.
2022-10-03 16:46:43 -04:00
Paul Koning
110183e258 simh ui: replace "readline" by "editline".
This avoids infecting SIMH with the GPL license, since readline,
very surprisingly, is GPL rather than LGPL.

The replacement package is "editline", which has a useable license.
2022-10-01 16:38:55 -04:00
Mark Pizzolato
ca420668d7 makefile: Correct experimental/incomplete simulator list and add to CI build 2022-09-26 13:24:24 -10:00
Richard Cornwell
7cd0d1093b KA10: Moved CH11 interface to BR5. 2022-09-23 09:21:05 -04:00
Richard Cornwell
6be92f60d5 B5500: Changed buffer registers to use CRDATA instead of BRDATA. 2022-09-22 21:26:00 -04:00
Paul Koning
56ac6f1d5d README: add note about the restricted simh/simh repository. 2022-09-21 16:36:01 -04:00
J. David Bryan
fddf5acd2b HP2100: Fix improper REG macro use missed when merging 3.12-2 2022-09-21 09:20:57 -07:00
Mark Pizzolato
1e5caa39c2 I7094: Use appropriate REG macro for array of structures 2022-09-21 09:03:16 -07:00
Bob Supnik
8854da6c1b ID16, ID32: Fix register macro change missed when merging 3.12-2 2022-09-21 09:02:00 -07:00
Mark Pizzolato
21e3c56fa4 PDP11, Qbus & Unibus VAX: Use proper REG macros for arrays and structures
Registers in the DMC, RQ and TQ devices were improperly described
2022-09-21 08:46:23 -07:00
Mark Pizzolato
060f55d23e makefile: Assure that besm6 simulator builds on recent macOS versions
Extend set of paths searched for font files since common fonts have
moved on macOS versions since besm6 simulator support was added.
2022-09-19 12:19:05 -07:00
B. Scott Michel
dc320a84da makefile: Adjust syntax of variable insertions for conversion to cmake 2022-09-19 12:18:30 -07:00
B. Scott Michel
b588b4c28c ETHER: Add stub for clean compiles when building without network support 2022-09-19 12:17:48 -07:00
Seth Morabito
84bf5f4d14 3b2: Update README.md and correct line endings
This change updates the 3B2 README.md file, and fixes
all line endings on 3B2 source files.
2022-09-19 09:37:17 -07:00
Paul Koning
75aefcb75c
video: don't disable the screen saver (#57)
This fixes issue #38 by setting the SDL_HINT_VIDEO_ALLOW_SCREENSAVER
hint to 1, leaving the screen saver enabled.  SDL 2.0.2 had changed
the default to disable the screen saver.

Co-authored-by: Paul Koning <ni1d@arrl.net>
2022-09-18 12:21:42 -04:00
Seth Morabito
8c0f64f332
Merge pull request #56 from sethm/3b2.rev3
3B2-700 Initial Public Release
2022-09-17 14:05:27 -07:00
Seth Morabito
9b62da6567 3B2-700 Initial Public Release
This commit introduces dozens of changes to make the 3B2-700 simulator
fully functional and ready for wider use. In addition to 3B2-700
availability, this commit includes a tremendous amount of refactoring
of the 3B2-400 and common code to make the project structure easier to
maintain and reason about.

One final important change: ROM files are no longer included in the
source code. 3B2 ROM images must be obtained separately and loaded
into the simulator before boot.

Changes:

- The 3b2 target has been aliased to 3b2-400
- The formerly named 3b2-600 project has become 3b2-700
- SCSI QIC tape support has been added to sim_scsi.c
- Header files have been reworked to reduce complexity of includes
- Common code has been consolidated
- Timer code has been unified
2022-09-15 14:15:28 -07:00
J. David Bryan
d862d024ea SCP: Fix details missed when merging update REGister macros from v3.12-2 2022-08-14 21:23:21 -07:00
Trevor Warwick
24260f0613 QBus VAX and PDP11: Add support for HDLC framing to DUP11/DPV11
Fix minor formatting glitches and remove unused variable.
2022-08-04 16:46:56 +01:00
Trevor Warwick
1ab955be30 QBus VAX and PDP11: Add support for HDLC framing to DUP11/DPV11
This commit extends the existing DUP11/DPV11 support to add support for HDLC framing. There
is no requirement to support bit/byte stuffing, so the aim is simply to encapsulate/decapsulate
the datalink frame provided by the host driver.

DDCMP has been regression tested on VMS, RSX and TOPS20, and the HDLC mode was developed
and tested with VAX/VMS DECnet Phase V, only using the HDLC datalink implementation.

In theory this support is sufficient to allow Phase IV/V P.S.I and even VMS/SNA to be used,
but these remain to be demonstrated.
2022-08-03 10:38:17 +01:00
Louis Chrétien
58809e35b4 PDP11: Cleanup help language in TC and DAZ devices 2022-07-26 07:30:55 -10:00
John Dundas
9890acc11c PDP11, VAXen: Fix to VH device to properly reference the line number
- Correct RBUF_GETLINE & RBUF_PUTLINE: these are both sensitive to
  modeling DHU vs. DHV; the correct bit mask was not generated for DHU.
- Make certain the device presents 16 lines when modeling a DHU.
2022-07-24 18:03:49 -07:00
Ken Rector
9eca0980c2 sigma: DP device SEEK(I), RECAL(I) must be coded as fast operations. 2022-07-23 16:55:21 -07:00
Ken Rector
37f0b365a2 sigma: UEND flag in the wrong bit position in channel status word. 2022-07-23 16:54:19 -07:00
Ken Rector
6b544073ae sigma: Fix MT tape mark error handling
revised error handling failed to set tape mark status on space file
forward/reverse.
2022-07-23 16:52:50 -07:00
Bob Supnik
debde9a0a3 sigma: Made CHANA chan_ctl_time accessible as a register 2022-07-23 16:46:55 -07:00
Bob Supnik
4846006b41 sigma: Added IO numeric channel numbers to SET/SHOW 2022-07-23 16:45:43 -07:00
Ken Rector
59ddf72b52 sigma: Clean compiler warning 2022-07-23 06:43:20 -10:00
Ken Rector
677e89bab0 sigma: Fix breakpoint state restore 2022-07-12 13:54:58 -07:00
Ken Rector
2a69f1bdfa sigma: Fix dangling else in IO read/write direct 2022-07-12 13:53:32 -07:00
Bob Supnik
6dc50c564b doc: Update Interdata doc to properly list changed register names 2022-07-12 11:49:20 -07:00
Richard Cornwell
aec04ef956 KA10: Removed duplicate register. 2022-07-08 17:48:04 -04:00