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

5094 Commits

Author SHA1 Message Date
Mark Pizzolato
a9b3369657 SCP: Useful minor updates
- Enhance file name extension matching logic to allow for file names
  that are enclosed in quotes ('' or "").
- Normalize exported environment variables that describe the Git
  Commit Id.
- Minor update to help for the ZAPTYPE command.
2026-01-02 12:51:01 -10:00
J. David Bryan
0bb4a9a4cd SOCK: Fix buffer overreach when simplifying IPv4-mapped IPv6 addresses 2026-01-02 06:52:10 -10:00
Patrick Linstruth
99a9a74e48 Altair8800: Adds new MITS 88-ACR (ACR) cassette device
BUS: Update formatting
SIO: Do not attach to BUS when disabled
Changed CONST to const
2026-01-02 08:18:21 -05:00
Mark Pizzolato
c31ea266e2 ETHER: Add support for Omni OS and Open Indiana plus bridged network support
- Some versions of Omni OS no longer include sys/filio.h in sys/ioctl.h
- Add more robust support for locating OS tools in scp.c
- SHOW VERSION output displays SunOS host system specific info

Fix #1238
2025-12-14 13:43:34 -10:00
Mark Pizzolato
fc460853ad VAXen: Cleanup processor build test message 2025-12-14 13:43:34 -10:00
Mark Pizzolato
6fce72d9bc FIO: Add current SunOS __illumos__ to SourceCheck platform defines 2025-12-14 13:40:43 -10:00
Mark Pizzolato
9c20f9ca35 makefile: Add support for building all simulators on illumos (Open Indiana)
- Proper compiler detection selects 64bit libraries when gcc generates
  64bit code.

Fix #1237
2025-12-09 16:43:14 -10:00
Mark Pizzolato
89b992d468 linc: Change line endings to simh CRLF standard
These file got missed when the linc simulator was original added
2025-12-08 12:45:09 -10:00
Richard Cornwell
e9908577fe CARD: Clean up comments on sim_card.[ch] on format of card decks. 2025-12-07 13:42:36 -10:00
Teodor Muzychuk
3cbe0d696d I650: fix wrong capitalization in soap and is .ini scripts
- Scripts I650/sw/Build_is_from_decks.ini and I650/sw/Build_soap_from_source.ini
  are incorrectly named for I650/650_demo_all.ini to function correctly.
  File not found errors are thrown immediately after running the demo.
- Moreover, their capitalization does not match any of the other .ini scripts
  (all start with lowercase letters).
2025-12-04 09:03:16 -10:00
Mark Pizzolato
657b75883e SCP: Clarify language in "HELP <device> SET" output SET <dev> DEBUG commands 2025-12-03 19:38:09 -10:00
Mark Pizzolato
82f07c9ab7 VAX: Use random console telnet port number during build tests
This avoids some platform cases where SO_REUSEADDR isn't always effective.
2025-12-03 19:36:23 -10:00
Mark Pizzolato
01bac285ec PDP11, VAX: Minor corrections in TS and RQ device help language 2025-12-03 19:33:06 -10:00
Mark Pizzolato
e1738eba0e README: Update to latest status 2025-12-03 10:39:33 -10:00
Mark Pizzolato
9187a4dc18 DISK: Properly size disk containers with meta data
- The meta data is not part of the storage of the container.
2025-12-03 10:38:58 -10:00
Mark Pizzolato
ab832ce274 TAPE: Better expose the various tape debug options usable from device debug
- Cleanup tape debug options and internal usage
- Add MTSE_DBG_INT for internal API activities
- Make sure SCSI uses the correct debug value for tape debug
2025-12-02 08:19:09 -10:00
Mark Pizzolato
5c68a17c13 SCP: Provide better support for SHOW devices with only one unit
- Cleaner display of SHOW DEBUG for devices with UNIT level debugging
2025-12-02 08:14:22 -10:00
Mark Pizzolato
b5bb4fa6dd Visual Studio Projects: Add a 'clean' option for the command line build 2025-12-02 08:14:21 -10:00
Mark Pizzolato
4fd9ded9ae CONSOLE: Add better support for SET CONSOLE TELNET=CONNECT
- Some OS support had a bug in the command passed to run telnet in the
  new window.
- Report when there appears to be no telnet client available on the
  local system.
- Add support for Fedora KDE.
2025-12-02 08:14:21 -10:00
Mark Pizzolato
7c47a6be6d Visual Studio Projects: Leverage the Visual Studio independent windows_build
- Add zlib to support compressed screenshots for libpng
2025-11-25 07:31:13 -10:00
Patrick Linstruth
d81cb4fc48 Altair8800: SIMH device and WD17XX API corrections
SIMH: Adds support for wildcard filename transfers
WD17XX: Corrects a problem with DRQ status
2025-11-23 19:27:16 -05:00
Patrick Linstruth
aad5351080 Altair8800: New Simulator
This is the initial release of the Altair8800 simulator.

Why another Altair simulator? AltairZ80 has been described as a
“software simulator”, where the intent is to run software designed
specifically for executing under a simulator. Altair8800 is intended
to accurately simulate the Altair hardware and execute software
that will run unchanged on real hardware. Software and disk images
can be moved between the Altair8800 simulator and real Altair and
other S-100 hardware without any changes. The Altair8800 simulator
is a tool that can assist with the restoration of vintage Altair
and other S-100 hardware and software along with the development
of new hardware and software. The accomplish this, the following
are major differences between AltairZ80 and Altair8800.

* The monolithic design where devices access other devices directly
through external variables and functions is no longer supported.
All devices exchange data through a new BUS device. Memory and I/O
address decoding and transfers are now handled by the BUS device.
All interrupt requests are handled by the BUS device.

* System RAM was moved from the CPU device to a new RAM device and
managed by the BUS device.

* Banked RAM was moved from the CPU device to a new BRAM device.

* Banked RAM can only be accessed through the BUS device. Memory in
banks that are not currently selected cannot be accessed. The AZ80
“banked” RAM was removed.

* ROMs were moved from the CPU and DSK devices to the new ROM device.
Mike Douglas’ Altmon Monitor is also available through the ROM
device. The custom AltairZ80 ALTAIRROM, which is not compatible
with original Altair disk images, is also available.

* The custom ALTAIRROM boot loader was replaced with the original
MITS Disk Boot Loader as the default ROM.

* The monolithic Multiple-CPU/RAM/ROM/IO/BankedRAM CPU device has
been replaced with a generic CPU device that provides an abstraction
layer between SIMH and the supported CPU architectures (currently
8080 and Z80). All IO is handled through the BUS device. RAM, Banked
RAM, and ROM are each handled by their own independent devices.

* The AltairZ80 SIO device was replaced with the M2SIO0 and M2SIO1
devices. The M2SIO devices fully support TMXR.

* A new SIO device was added to provide generic, programmable, Serial
IO. TMXR is not supported on this device.

* The Altair 8800 did not have PTR or PTP hardware devices. They have
been removed and replaced with the M2SIO1 device. PTR and PTP devices
are defined by software executing on the simulator.

* Contention between multiple enabled serial devices checking the
single host keyboard for input is now handled by the BUS device.
Port 0xFF sense switches was moved to a new SSW device and IMSAI
programmed output was moved to a new PO device.

* The SIMH pseudo device no longer uses the removed PTR and PTP
devices. The SIMH device has its own IO system. To avoid conflicts
with other devices and remain compatible with the R and W utilities
written for AltairZ80, SIMH “borrows” I/O ports 12H and 13H during
file transfers. Only SIMH commands needed to support R and W file
transfers are supported. All other SIMH commands were removed.

* AltairZ80-specific versions of CP/M are not supported by Altair8800.

* PC queue was removed from CPU device and replaced with CPU HISTORY.

* The Altair8800 simulator only supports 16-bit address and 8-bit
data buses. 8086 and 68K CPU architectures were removed.

* All CPU timing (clockFrequency) and “sleeps” (SIO SLEEP) have been
removed. SIMH THROTTLE is fully supported and is the recommended
way to manage simulator speed and host CPU utilization. Executing
“SET THROTTLE 100K/1”, for example, should provide ample speed
without tasking the host CPU.

* HEXLOAD and HEXSAVE commands were added. The LOAD “-h” option has
been removed. Intel Hex and sRecord (coming soon) formats are
supported.

* The WD179X device was converted to an API.

* A new DSK API was added to provide a consistent way to manage soft
sector raw disk images.

* Support for the proprietary IMD disk image format was removed. Only
RAW disk images are supported.

The following devices are supported by this initial release:

BUS - Altair (S-100) Bus
CPU - Intel 8080 / Zilog Z80
RAM - 64K RAM
ROM - ROMs
BRAM - Banked RAM
DSK - MITS 88-DCDD Floppy Disk Controller
M2SIO0 - MITS 88-2SIO Port 0
M2SIO1 - MITS 88-2SIO Port 1
SSW - Sense Switches
PO - Programmed Output
SIO - Generic Serial I/O
SBC200 - SD Systems SBC-200
TARBELL - Tarbell SD and DD Floppy Disk Controller
VFII - SD Systems VersaFloppy II
SIMH - SIMH Pseudo Device
2025-11-21 17:01:40 -05:00
Mark Pizzolato
3503e7b794 Visual Studio Projects: Build Cleanup for Initial VS2026 Support
- Cleanup build details and provide initial detection support for
  building Visual Studio 2026.
- Automatically leverage the v141 Visual Studio platform Toolset if
  it is installed.  This avoids failing build attempts when windows_build
  hasn't yet been updated to support the frequently changing VS2022
  or VS2026 build components.
- Fix pdp11.vcproj to avoid warning when project is converted.
- Fix trivial compiler warnings in alpha_cpu.c and hp_tapelib.c
2025-11-21 02:22:30 -10:00
Mark Pizzolato
3e3fc123c7 Visual Studio Projects: Enable Debug build with windows_build support missing
Change storage of solution and project files to be text rather than binary.
2025-11-17 20:36:24 -10:00
Mark Pizzolato
060747aa1e build_vstudio: Update to process current Visual Studio Version detection
- When building projects, display the project names directly
2025-11-12 14:46:18 -10:00
Mark Pizzolato
c09d0505db Visual Studio Projects: Fetch windows-build before reporting update needed
The value in _X_REQUIRED_WINDOWS_BUILD normally forces a fetch of the
latest windows_build components that are available.  This value might
not be updated before the local system's Visual Studio tool chain is
updated.  When this Visual Studio is a version that isn't supported by
the locally available windows_build, it is worth checking to see if
windows_build has already been updated to support the newest Visual
Studio version.
2025-11-12 14:36:54 -10:00
Mark Pizzolato
a860d166fc DISK: Meta data maintenance
- Clean up and avoid crazy extending when autosizing and repair any
  prior mangling.
- Get Media-ID correct after a resize.
2025-11-12 14:34:20 -10:00
Mark Pizzolato
c986b9082b makefile: Revert to prior build behavior when GNU make 4 isn't available 2025-11-12 14:33:49 -10:00
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