1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

5066 Commits

Author SHA1 Message Date
Mark Pizzolato
7cde9d27ba makefile: Defaults now show summary build commands and separate module compiles
- Invoking make with QUIET=0 (or in an exported environment variable)
  will display the full compile and link commands executed.
- Invoking make with BUILD_SEPARATE=0 will cause each simulator
  being built to be built with a single compile and link command.
  This is how things were previously, but now the default has been
  changed to more easily support active simulator development
  by compiling files that have changed.
- Silence link time warning on macOS
- cleanup C++ support for ND100 and C++ builds of other simulators
2025-11-04 15:21:37 -10:00
Mark Pizzolato
31c211c502 makefile: Remove redundant -lSDL2 library declaration from altairz80 build
Some environments don't complain, macOS has started to complain about
this.
2025-10-24 17:41:27 -10:00
Mark Pizzolato
16ee39a139 SAGE: Change various Intel part devices to unique names
This avoids potential filename confusion between simulators when
building with separate compiles.
2025-10-24 15:42:54 -10:00
Mark Pizzolato
d6a53f1c06 SCP: Cleanup allocated memory assignments for C++ compatibility 2025-10-24 08:19:42 -10:00
Lars Brinkhoff
68c9c5536f LINC: New emulator for the classic LINC.
This emulates the classic LINC.  The design was settled in 1965,
increasing memory to 2048 words, and adding a Z register, an overflow
flag, and an interrupt facility.
2025-10-24 03:44:31 -10:00
Mark Pizzolato
f8c367d75d FIO: Add Source check options to allow exceptions for Binary and Tabs 2025-10-22 11:24:11 -10:00
Mark Pizzolato
b915b3aede FIO: Add Line numbers to tab and non-ascii character reports 2025-10-21 11:34:31 -10:00
Peter Schorn
589bb5610f AltairZ80: Improved choice of boot ROM 2025-10-21 06:39:40 -10:00
Mark Pizzolato
a9e4370b38 ETHER: Really fix the Linux and macOS tap functionality
Really fix #1230
2025-10-19 16:16:31 -10:00
Mark Pizzolato
dc82d6d017 ETHER: Fix recently introduced bug affecting tap on Linux
Fix #1230
2025-10-18 12:03:54 -10:00
Mark Pizzolato
271965ca99 TT2500: Minor history enhancements
- Issue reasonable error message explaining invalid SET CPU HISTORY=n input
- Let SIGINT (^C) abort SHOW HISTORY output
2025-10-12 18:57:08 -10:00
Mark Pizzolato
d5ccdd843f LINC: Add Visual Studio project files. 2025-10-12 18:37:37 -10:00
Lars Brinkhoff
7f4bf21807 LINC: Fix test 31 and 35 on the diagnostics tape.
Block 45 held damaged data, and block 51 was identical to block 52.
2025-10-12 18:36:44 -10:00
Lars Brinkhoff
1dfddb2158 LINC: Diagnostics for classic LINC.
These are tests for the classic LINC, including the features new in
1965: 2048 words of memory, a Z register, an overflow flag, and an
interrupt facility.
2025-10-12 18:36:44 -10:00
Lars Brinkhoff
f5f2930712 LINC: New emulator for the classic LINC.
This emulates the classic LINC.  The design was settled in 1965,
increasing memory to 2048 words, and adding a Z register, an overflow
flag, and an interrupt facility.
2025-10-12 18:34:50 -10:00
Lars Brinkhoff
3dd72309b5 VIDEO: Accept the ISO "left backslash" key.
Adds support for the ISO/European "left backslash" or "less than" key.
It's found between left shift and Z.
2025-10-11 12:40:31 -10:00
Mark Pizzolato
1bce78cf38 makefile: Cleanup build issues on some macOS and Android 2025-10-10 22:30:55 -10:00
Richard Cornwell
0ebf3b1c4a KA10: Removed stray tabs. 2025-10-10 19:23:48 -10:00
Richard Cornwell
0d56d53740 SCP: Clean up comments on sim_card.[ch] on format of card decks. 2025-10-10 19:23:48 -10:00
Mark Pizzolato
4562c3cf17 makefile: Tolerate host platforms which no longer package libpcre
- Also provide better support for termux builds on different Android
  versions.
2025-10-10 19:16:51 -10:00
Mark Pizzolato
85e1957fd0 ETHER: Coalesce Ethernet devices with consistent hierarchical attach help
Migrate platform dependencies into sim_ether's help rather that
scattered amongst each functional Ethernet device.
2025-10-10 17:53:57 -10:00
Mark Pizzolato
a074ebae8c VIDEO: Reject attempts to take screen shots when no display is active 2025-10-10 17:48:22 -10:00
Mark Pizzolato
6825288a94 SCP: Extend hierarchical help for device type attach language insertion
This allows all devices across all simulators to avoid having identical
attach language which may have host platform specific language.
2025-10-10 17:46:19 -10:00
Mark Pizzolato
d569493baf SCP: Minimize simulator startup time on Windows when WMIC isn't available
Optimize SHOW VERSION processing to only dig up unchanging external things
the first time show_version() is invoked by saving the original results.
2025-10-03 14:57:30 -10:00
Mark Pizzolato
ca229cc207 SCP: Gather Windows Platform details by alternate means when WMIC is gone
SIMH SHOW VERSION output displays as much potentially useful information
about both the currently running simulator and the host platform it is running
on.  On Windows host systems, some of this information has been gathered
from the output of the WMIC command which is deprecated and is already
being removed from new and future systems.

This change leverages WMIC when it is available, and attempts to gather the
interesting information from elsewhere when it is not.

As reported in #1227
2025-10-01 11:42:25 -10:00
Mark Pizzolato
5c59cced96 FIO: Add sim_trim_spc API to trim spaces from the front and back of a string 2025-10-01 10:51:03 -10:00
Mark Pizzolato
43bc996cdb SCP: Expose memory file functions to SCP private code 2025-09-28 08:15:31 -10:00
Sergey Svishchev
bcdc992cca VIDEO: handle error conditions and uninitialized displays when taking a screenshot. 2025-09-28 04:21:07 -10:00
Mark Pizzolato
b838d94282 SCP: Fix output produced when EXAMINE an array register
This problem was a latent bug introduced when summarized array register
output was added back in 2013 or 2018.

This fixes the problem reported in https://github.com/open-simh/simh/issues/499
2025-09-25 09:40:19 -10:00
Sergey Svishchev
45fe20a34b PDP11: Changes for Terak 8510/a simulator:
Accept devices mapped at IOPAGEBASE -- text buffer/character generator
memory on video board starts at 160000.

Clear invalid PSW bits in trap handler -- system acceptance test writes
PSW 113705 to vector 34 (TRAP instruction).
2025-09-12 10:23:51 -10:00
Richard Cornwell
dd31ce6e75 KA10: Update PI Panel to properly display the MI register. 2025-09-12 10:11:16 -10:00
Richard Cornwell
1673c85fc8 KA10: Update DD and TYM drivers to remove compile warning. 2025-09-12 10:09:04 -10:00
Mark Pizzolato
7619e27394 ETHER: Avoid theoretical buffer overrun defining SIM_ETHER_CAPABILITIES 2025-09-06 12:40:39 -10:00
Mark Pizzolato
46c6398912 makefile: Fix prompting of adding missing packages in some cases 2025-09-01 16:01:11 -10:00
Mark Pizzolato
ea37ca9ff5 SCP: Add a -F option to SET <dev> DISABLE command to force detach and cancel 2025-09-01 09:55:30 -10:00
Howard M. Harte
0bccaaab66 AltairZ80: wd179x: Better support for 5.25-inch floppies. 2025-08-30 21:14:48 -10:00
Lars Brinkhoff
4d57b9b44e Imlac: Add Freeway game to tests.
Paper tape image provided by Zachary Harper @sparky-z.
2025-08-30 21:05:58 -10:00
Lars Brinkhoff
5b07ac973e Imlac: Model MSB and LSB accumulators.
- Improve debug output.
- Add support for Alpha display processor.
   Details figured out by Zachary Harper @sparky-z from reading the
   listing "FREEWAY CROSSING PROGRAM".
2025-08-30 21:02:24 -10:00
Lars Brinkhoff
f9b39fb87f Imlac: Make display rate adjustable. 2025-08-30 21:00:34 -10:00
Lars Brinkhoff
64449f8950 Imlac: Better parsing of load switches.
"load -s" loads a "special tty" image file, just like a plain "load" will.
An unknown switch will raise an error.
2025-08-30 20:47:12 -10:00
Mark Pizzolato
716b8117e1 SCP: Add Regex comparison condition to the IF command 2025-08-30 20:09:08 -10:00
Mark Pizzolato
f4dbd05b59 CONSOLE: enable Log, and Debug to use caseindependent STDOUT and STDERR
- Avoid tmios debug output when not on macOS
2025-08-30 19:59:31 -10:00
Lars Brinkhoff
5c39a0d6e1 PDP8: Add the ICBM video game.
This is DECUS 5-277, a PDP-5 video game written by Len Berger, using
the Type 34 display.
2025-08-28 10:42:08 -10:00
Lars Brinkhoff
02ebdd38d5 PDP8: Add Type 34 display support. 2025-08-28 10:41:22 -10:00
Mark Pizzolato
b305252bff PDP11, VAX730, VAX750: Fix TU58 device support (TDC and console TD devices)
- Cleanup TD console device attach logic
- Properly initialize the TDC devices

Fix #1220
2025-08-28 08:46:48 -10:00
Mark Pizzolato
903bf30280 ETHER: Fixed hanging SHOW ETHER on some platforms 2025-08-15 18:15:24 -10:00
Prince-Stolas
ea3aaf7724 I1401: Reverted tape mark behaviour as revision was wrong
I talked to Van Snyder and he told me about this "fix" he wanted
introduced in SimH i1401. The fix was needed to get a program running.
The program not working was likely due to a transcription error, not
the emulator. That "fix" thus introduced a bug, this change fixes it..

The bug: Currently SimH i1401 doesn't deposit a group mark in core
memory after reading a tape mark. It only deposits the tape mark.
This is wrong. The tape mark should be followed by a group mark.
2025-08-15 17:06:51 -10:00
Mark Pizzolato
caea0c0970 ETHER: Add vmnet support for macOS Catalina 10.15.7 through Big Sur 11.7.10 2025-08-14 08:55:49 -10:00
Mark Pizzolato
df31a5b7f9 CONSOLE: Fix DBGINT support for behaviors with gdb and lldb
Input of the WRU character reliably causes return from the running
simulator.

- DBGINT works with gdb as a debugger with the default being the next
  character after the WRU value.  ^F when WRU is default ^E.
- lldb does not support DBGINT signaling.  Only Control-C causes
  break back to lldb.

Currently, a bug in lldb exists that causes console character input of the
CR character (^M) to actually be received as LF (^J).  A bug report has
been submitted to the llvm project describing the problem.
2025-08-14 08:45:58 -10:00
Mark Pizzolato
9fbd3e222e SCP: Search for startup simh.ini in reasonable platform specific locations 2025-08-14 08:42:44 -10:00