1
0
mirror of https://github.com/simh/simh.git synced 2026-05-14 17:43:30 +00:00
Commit Graph

5115 Commits

Author SHA1 Message Date
Mark Pizzolato
31fee4aa7c Appveyor: Update macOS image to Monterey and leverage parallel builds for all 2026-04-05 20:34:15 -10:00
Mark Pizzolato
4922eba111 makefile: Setup for best behavior for parallel builds when available or desired
- display build progress better when parallel building is happening
- avoid prompting about building dependencies during CI builds
2026-04-05 20:21:46 -10:00
Ken Rector
0a68d7ab23 SDS: Add a front panel application for the SDS simulator (sdscp) 2026-04-05 20:15:17 -10:00
Mark Pizzolato
139dbe4f9a FRONTPANEL: Cleanup potential build warnings 2026-04-05 20:07:31 -10:00
Mark Pizzolato
abdc5318cb VAX: Use better random console telnet port number during build tests
This avoids some platform cases where SO_REUSEADDR isn't always
effective and on some build hosts being done in parallel, a simple
time based random value isn't unique enough.
2026-04-05 20:06:56 -10:00
Mark Pizzolato
692dcd3796 SCP: Add SIM_PROCESS_PID built-in variable
- SIM_PROCESS_PID is potentially useful in simulator scripts to provide
  a currently unique value.
2026-04-05 20:05:08 -10:00
Mark Pizzolato
72b7d03184 TIMER: Tolerate and record host system time jumps while idling
Additionally, tolerate clock change during initialization
2026-04-05 20:04:18 -10:00
Lars Brinkhoff
070341a89f H316: Fix IMP host port 3 and 4 device addresses.
IMP host port 3 should be device 50, and port 4 is 51.  This was
reversed.
2026-04-02 08:01:26 -10:00
Patrick Linstruth
9e3d414ef2 Altair8800: New Devices and Bug Fixes
This update to the Altair8800 simulator includes:

Adds MITS hard disk controller device
Adds FarmTek FDC+ disk controller device (1.5MB)
Adds iCOM 3712/3812 disk controller device
Adds Processor Technology VDM1 video device
Fixes boot bug in TARBELL and VFII devices
TARBELL returns 0xff for DMA status if 1011
Fixes DAZZLER vertical blank status timing
Adds DDT command to control DDT-style output
Improves MEMORY dump display
2026-03-31 16:16:10 -10:00
Mark Pizzolato
be3c7b4386 makefile: Add comments describing SOURCE_CHECK option 2026-03-31 16:14:17 -10:00
Mark Pizzolato
4e7f28ed1c PDP11: Correct REGister declarations for DL11-C/DL11-D/DL11-E/DLV11-J devices 2026-03-31 16:14:17 -10:00
Mark Pizzolato
042f0bd841 SCP: Fix SRDATA macros to properly size the structure element in its array 2026-03-31 16:14:17 -10:00
Mark Pizzolato
45b804e947 TMXR: Add serial line speed 230400 bps and missing 76800 bps on *nix 2026-03-31 16:14:17 -10:00
Richard Cornwell
ba89e0a468 KA10: Fixed DP seek done to not move uptr. 2026-03-31 16:14:17 -10:00
Mark Pizzolato
682c59edcf SCP: Properly match DEVICE only MTAB entries and fix flush queueing 2026-03-31 16:14:17 -10:00
Mark Pizzolato
bdd2612a8a PDP11: Enable EIS as an option on the PDP 11/40 2026-03-31 16:14:17 -10:00
Mark Pizzolato
ae805f7818 CONSOLE: Reliably identify running under a debugger on *nix hosts 2026-03-31 16:14:17 -10:00
John D. Bruner
e177a89210 SCP: Ensure null termination for mbuf.buf in sim_snprint_sym 2026-03-31 16:14:17 -10:00
John D. Bruner
c6ec912cbe SCP: Set appropriate uptr when SHOWing something in the default device (CPU)
- Avoid null pointer dereference in these cases

Credit (John D. Bruner) for reporting the problem.  His fix wasn't complete.
2026-03-31 16:14:16 -10:00
Mark Pizzolato
6e279976f6 CONSOLE: Support changing console DEVICE
Also behave correctly after a SET CONSOLE NOSERIAL command is entered.
2026-03-31 16:06:15 -10:00
Patrick Linstruth
627e6a6b13 Altair8800: New DAZZLER, PMMI devices and other features
Adds Cromemco DAZZLER video device
Adds PMMI MM-103 modem device
Adds SET RAM PROT/UNPROT=pages
Adds Martin Eberhard's CDBL ROM

Corrects file format for cromemco and pmmi header files.
2026-01-18 21:16:00 -05:00
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