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

377 Commits

Author SHA1 Message Date
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
b5bb4fa6dd Visual Studio Projects: Add a 'clean' option for the command line build 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
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
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
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
d5ccdd843f LINC: Add Visual Studio project files. 2025-10-12 18:37:37 -10:00
Lars Brinkhoff
02ebdd38d5 PDP8: Add Type 34 display support. 2025-08-28 10:41:22 -10:00
Mark Pizzolato
e1d0f3b267 Visual Studio Projects: Force build to update to the latest windows-build 2025-06-18 17:14:06 -10:00
Mark Pizzolato
f3c61c315a Visual Studio Projects: Force build to update to the latest windows-build
- windows-build now supports the latest Visual Studio 2022 17.14.3

Fix: #1216

#1216 reports problem with 17.14.2, but MS had already released 17.14.3
as of 5/28/2025, so that version is what is now supported.

This whole array VS2022 problems comes from the fact that Release
builds of certain static libraries are rejected at link time as
incompatible with those libraries produced by any prior Visual Studio
version.  This problem has existed for a very long time (going back to
at least VS2017).  The earlier strategy implemented with simh builds
was to not support the latest Visual Studio tool set until it stopped
changing.  That was sort of OK when Visual Studio versions changed
every 2 years, but since VS2022 was dragging on with frequent changes
support for intermediate versions was added some 3 years back.
2025-06-01 03:09:23 -10:00
Mark Pizzolato
8746040310 Visual Studio Projects: Force build to update to the latest windows-build
- windows-build now supports the latest Visual Studio 2017
- Temporarily Disable Appveyor logic saving build results until that's ready
2025-05-31 18:29:18 -07:00
Mark Pizzolato
8b597d32aa Visual Studio Projects: Force build to update to the latest windows-build
windows-build now supports Visual Studio 2022 17.13.6
2025-04-26 18:33:07 -10:00
Mark Pizzolato
7222199448 Visual Studio Projects: Force build to update to the latest windows-build
windows-build now supports Visual Studio 2022 17.12
2025-03-28 09:11:21 -10:00
Mark Pizzolato
8b1f15f233 Visual Studio Projects: Force build to update to the latest windows-build 2024-10-25 20:15:27 -07:00
Mark Pizzolato
8469b30d85 Visual Studio Projects: Force build to update to the latest windows-build 2024-10-11 18:05:53 -10:00
Ken Rector
5421c9c22e sigma: Update latest from Bob Supnik's v3.12-5
- Add new CP and CR devices
- COC: Zero delay from SIO to INIT state Detect and UEN on 0xFF order
- COC: Moved SIO int pending test to devices
- DK: Zero delay from SIO to INIT state
- DP: Added case points for RDEES, dp_aio_status
- DP: Zero delay from SIO to INIT state
 - defs:  Added chaining modifier flag
 - defs:  Fixed DVT_NODEV definition
 - defs:  Added chan_chk_dvi definition
 - io: Added chaining modifier flag
- LP: Zero delay from SIO to INIT state
- LP: Added INIT test for illegal command
- LP: Moved SIO interrupt test to devices
- MT: Zero delay from SIO to INIT state
- PT: Zero delay from SIO to INIT state
- PT: Moved SIO interrupt test to devices
- RAD: Zero delay from SIO to INIT state
- RAD: Fixed nx unit test
- RAD: Fixed write protect test
- TT: Zero delay from SIO to INIT state
- TT: Moved SIO int pending test to devices
2024-07-29 10:10:17 -10:00
Mark Pizzolato
d2cd594cde PDP11: Integrate RR (RP11) device with full sim_disk capabilities 2024-07-20 15:08:19 -10:00
Mark Pizzolato
5bfef52c45 Visual Studio Projects: Leverage wineditline support in updated windows-build
- Avoid compiling wineditline library while building every simulator
2024-07-02 20:16:52 -10:00
Patrick Linstruth
318f44eda5 AltairZ80: Adds Cromemco DAZZLER and JS1 devices
Adds Cromemco Dazzler and JS1 joystick devices
Adds vid_render_set_logical_size() to sim_video.c
2024-05-23 15:15:29 -10:00
Patrick Linstruth
a79fc59d06 AltairZ80: Adds Cromemco TUART devices
Adds the following devices to AltairZ80:

TUART0: Cromemco FDC controller TUART console port at I/O address 0x00.
TUART1: Cromemco TU-ART port A at I/O address 0x20.
TUART2: Cromemco TU-ART port B at I/I address 0x50.

These devices are fully TMXR capable.
2024-05-23 13:08:43 -10:00
Richard Cornwell
bcf854ee10 KA10: Fix divide error on KS10, add in some devices.
Fix divide of 0 on KS10 processor.
       Fix write access for auxiliary processor memory.
       Updated support new PIDP10 panel.
       Allow eight Unibux ports on the TEN device.
       Added GE DATANET-760 device to PDP6
       Removed USER mode restriction for idle detection.
       Added Data Disc 6600 Television Display System.
2024-05-21 17:02:00 -10:00
Mark Pizzolato
3bbaab7f5d Visual Studio Projects: Add logic supporting building with different VS2022s
- Multiple VS2022 versions support when windows-build provides it
- Always leverage whatever git version is available locally
2024-04-28 14:12:26 -10:00
Lars Brinkhoff
b1389741e5 VAX: Add UW device to 8600 and 8200.
The VAXstation 100 "unibus window" interface board should work with
any Unibus VAX.
2024-04-04 17:34:38 -10:00
Patrick Linstruth
d19d3f9b8d ALTAIRZ80: Adds JAIR devices to simulator
Josh's Altair/IMSAI Replacement (JAIR) is a single board computer
(SBC) for the S100 bus. I created this device to assist a friend
with getting IMP and CBBS working on his JAIR. Without having a
JAIR myself, AltairZ80 to the rescue!

The following devices are added:

JAIR   - The main JAIR board I/O and ROM
JAIRS0 - Serial Port 0 (COM1)
JAIRS1 - Serial Port 1 (COM2)
JAIRP  - Parallel Port

This was a bit challenging because the JAIR uses an on-board SD
card with FAT file system to hold its BIOS and CP/M disk images.
The ATTACH command is used to mount SD card images to the
simulator. The simulator emulates the SD card interface for
read/writing SD card sectors. These images are easily mounted on
a Mac making moving files around easy. I do not know about Windows.
These same images can be written to an SD card and used with real
JAIR hardware, which may be useful for JAIR owners.

The serial and parallel ports fully support TMXR. Host serial ports
and sockets may be attached to these devices.

I am working on a GitHub repository containing an SD card image and
init script that will boot CP/M 2.2 on the JAIR simulator.

Is this device one that should be added to AltairZ80?
2024-03-20 08:38:08 -10:00
Mark Pizzolato
4f1f97698c Visual Studio Projects: Clarify additional updates needed for VS2008 builds 2023-10-06 13:38:03 -10:00
Mark Pizzolato
5706e9bb99 Visual Studio Projects: Remove irrelevant pthreads from imlac & tt2500 projects 2023-08-12 15:34:38 -10:00
Mark Pizzolato
183a3f926c Visual Studio Build: Properly generate commit-id when no uncommitted changes 2023-07-04 18:28:35 -10:00
Mark Pizzolato
9392ce3974 Visual Studio Projects: Exit build with failure on tests or source check fails 2023-06-27 11:37:45 -10:00
Mark Pizzolato
aa189708b4 Visual Studio Projects: Clean up existing project configurations
SEL32: Remove video defines from project with no video device
PDP11: Clean out irrelevant VCWebServiceProxyGeneratorTool entries in project
2023-06-27 11:37:44 -10:00
Mark Pizzolato
3c0d7385e1 Visual Studio Projects: Correct file name capitalization in IBM1130 project
Allow dynamic input of source code checking parameters.
2023-06-20 14:42:50 -10:00
Mark Pizzolato
972cd95914 PDP11: Add extra RPB device as an additional Massbus device
Note: To avoid potential breakage of existing PDP11 configurations in
       the wild, which may expect RP on RHA, TU on RHB and RS on RHC,
       RPB is connected to RHD Massbus adapter.

- More robust recovery when Massbus configuration errors occur
- More complete RH{A,B,C,D} help
2023-05-22 11:36:52 -10:00
Mark Pizzolato
6e7cf79eb3 VAX750, VAX780, VAX8600: Add Extra Massbus for New RPB disks 2023-05-22 11:03:39 -10:00
Mark Pizzolato
10a465f9e6 Visual Studio Projects: Cleanup AltairZ80.vcproj - files in alphabetical order 2023-05-22 10:09:41 -10:00
Mark Pizzolato
af0ff5d98b Visual Studio Projects: Adjust build time messages for consistency 2023-05-19 17:02:48 -10:00
Lars Brinkhoff
d573965024 VAX: M7452 Unibus window module for VAXstation 100. 2023-05-09 07:07:39 -10:00
Mark Pizzolato
c0f92387ab Visual Studio Projects: Update required windows-build version
Recent bug fix to editline library support to properly tolerate
filenames containing spaces without corrupting the heap.
2023-05-03 22:38:37 -10:00
Mark Pizzolato
bc5dcedf1d MicroVAX1: Remove DMA devices which weren't supported on MicroVAX I
Removed TQ (TMSCP), TS (TSV11) and VH (DHV11) devices from this
simulator since these devices were never supported in release MicroVAX I
configurations.

Lacking a scatter/gather map, DMA devices needed to be written to
perform DMA into contigous buffers in low memory and then copy data
to user space buffers.  The MSCP protocol devices had specific support to
do scatter/gather transfers as part of the protocol.  The RL01/RL02 device
driver was modified to perform the appropriate buffer moves most likely
to prove the customer option to adjust their drivers actually worked.  In
any case, boot support for RL01/RL02 disks does not exist.
2023-04-30 14:54:04 -10:00
Mark Pizzolato
676ca3a836 SCP: Add CheckSourceCode support for Windows builds 2023-04-28 09:43:27 -10:00
Howard M. Harte
37900ac6db AltairZ80: Add IBC computers to VS2008 project. 2023-04-26 10:08:02 -10:00
Mark Pizzolato
ede384131a Visual Studio Projects: Fix missing editline info in new nd100 simulator 2023-04-02 13:43:03 -10:00
Anders Magnusson
7e18863e03 ND100: Initial support for Nord-100, implements the base instruction set.
Passes the test program INSTRUCTION-B.
2023-04-02 13:09:59 -10:00
Patrick Linstruth
796a3e1abc AltairZ80: Adds SOL20 and VDM1 devices
This PR adds support for the Processor Technology VDM-1 display adapter and Sol-20 computer system. The VDM-1 was integrated into the Sol-20 but has been separated out into its own device.

This PR adds the following devices to the AltairZ80 simulator:

VDM1 - Processor Technology VDM-1 display adapter
SOL20 - Processor Technology SOL20 with SOLOS ROMs
SOL20K - SOL20 Keyboard (callback from VDM1)
SOL20T - SOL20 Tape (reads/writes cassette file images)
SOL20S - SOL20 Serial Port (TMXR capable)
SOL20P - SOL20 Printer Port (TMXR capable)
2023-03-29 14:19:51 -10:00
Mark Pizzolato
3d23b5b3c6 SEL32: Run tests with SET CLOCK NOCALIBRATE for stable host independent results 2023-01-18 11:52:48 -10:00
Mark Pizzolato
c9647f9869 Visual Studio Projects: Add HAVE_LIBEDIT to projects that somehow missed this before 2023-01-17 03:31:04 -10:00
Mark Pizzolato
3907d9d56a Visual Studio Projects: Avoid file in use during parallel builds 2023-01-09 20:58:00 -10:00
Mark Pizzolato
ac8e5d23b8 README: Update current features
Revise windows-build dependency version
2023-01-09 15:45:08 -10:00
Mark Pizzolato
5ba0ef0c67 FrontPanelTest: Cleanup test setup and build dependencies
- Test simulator is always VAX and always in the same directory as
  FrontPanelTest
- makefile and Projects will always build the dependent simulator
2022-12-28 11:10:59 -10:00
Patrick Linstruth
1af13f228b AltairZ80: Add support for Morrow Micro Decision
Moved MMD and MMDM devices under Morrow Devices comment.
2022-11-19 17:10:12 -08:00