Commit graph

4474 commits

Author SHA1 Message Date
Peter Schorn
b0a496446f AltairZ80: Code cleanup and simplifications 2023-05-23 21:44:47 +02:00
Paul Koning
3985447826 VAX: Add missing vax_uw.c to Windows build. 2023-05-18 16:55:15 -04:00
Anders Magnusson
5cda68abce ND100: MMS-1 support (Memory Management 1) + other fixes for Nord-100.
Can now boot the last test programs from floppy, and runs INSTRUCTION-C
and PAGING-C without errors.
2023-05-18 16:53:06 -04:00
Paul Koning
ec48dcb2e1 Common:
Remove extraneous content from README.md.
Remove unused files sim_inttypes.h and sim_printf_fmts.h
2023-05-18 12:46:01 -04:00
B. Scott Michel
8b14bb69be
CMake build infrastructure II (#53)
* CMake build infrastructure

The squashed commit that builds and packages releases for the SIMH
simulator suite with CMake, version 3.14 or newer.

See README-CMake.md for documentation.
2023-05-17 20:18:42 -04:00
Lars Brinkhoff
793149d1bd VIDEO: Include png.h before sim_defs.h.
Older versions of the PNG library header file want to include setjmp.h
and complain if it's already included.
2023-05-11 17:46:40 +02:00
Lars Brinkhoff
783ee136d7 VIDEO: Check whether SDL_WINDOW_RESIZABLE is present.
SDL versions older than 2.0.5 doesn't have this symbol or the
SDL_SetWindowResizable function.
2023-05-11 17:46:40 +02:00
Lars Brinkhoff
021413a2d7 IMLAC: Add breakpoints for memory reads and writes. 2023-05-10 09:24:56 -04:00
Bob Supnik
1ea82bd127 sigma: add wait code to WAIT instruction 2023-05-09 23:09:05 -07:00
ken rector
609d46e801 sigma_rad:fix wp test in sense and write op 2023-05-09 11:27:44 -04:00
Mark Pizzolato
49eccc768a SCP: Include all simh supported system includes in sim_defs.h
Only SCP libraries should be including additional OS specific include
files since they cover both:
   1) Are responsible for platform specific details integrated into simh
       support
and
   2) Implement extended functionality optimally considering the proper
       behaviors to cooperate with the simh event system and existing
       capabilities.

Simulator code can optionally include any of these system include files:
  <stddef.h>, <stdlib.h>, <stdio.h>, <stdarg.h>, <string.h>, <errno.h>.
  <limits.h>, <ctype.h>, <math.h>, <setjmp.h>

Such inclusion will be redundant with what is already provided here
by sim_defs.h.  Simulator code should include SCP provided include files:
  "scp.h", "sim_card.h", "sim_console.h", "sim_disk.h", "sim_ether.h",
  "sim_fio.h", "sim_imd.h", "sim_scsi.h", "sim_serial.h", "sim_tape.h",
  "sim_timer.h", "sim_tmxr.h", "sim_video.h"
depending on the specific needs of the device being simulated.
2023-05-09 11:26:27 -04:00
Howard M. Harte
2c6ad66acd AltairZ80: IBC: Fix MCC hard disk command mask. 2023-05-09 11:23:38 -04:00
Howard M. Harte
d2b663ec94 AltairZ80: IBC: Fix line endings. 2023-05-09 11:23:38 -04:00
Lars Brinkhoff
af9c7b5ebc VAX: M7452 Unibus window module for VAXstation 100. 2023-05-04 13:28:11 +02:00
Peter Schorn
1aa76cca6e AltairZ80: Additional checks for stop_cpu condition 2023-04-26 10:19:23 -04:00
Howard M. Harte
044ba02847 AltairZ80: Add IBC computers to .vcxproj. 2023-04-25 21:00:09 -07:00
Howard M. Harte
0184492d81 AltairZ80: Add IBC computers to VS2008 project. 2023-04-25 21:00:09 -07:00
Howard M. Harte
15d2b89573 AltairZ80: Add IBC Super Cadet / Middi Cadet support. 2023-04-25 21:00:06 -07:00
Peter Schorn
f0b782b33a ND100: Added void in function declarations, removed unused function ffs 2023-04-17 11:03:09 -04:00
Seth Morabito
ae7ca950f2 3B2: Fix for diagnostics timer hang
Under certain circumstances, the timer resolution in the Version 3
could become coarse enough that very short timer intervals would lead
to an infinite loop of bus errors when running timer firmware
diagnostics.
2023-04-13 05:56:35 +02:00
Seth Morabito
7be9f2f3e8 3B2: LPT Device; MMU and SCSI fixes
This change adds support for printing to an attached text file via the
Centronics port of a simulated PORTS feature card. A new device named
"LPT" has been added. See "help lpt" for documentation.

Additionally, there has been a fix to a bug in the SCSI tape boot
implementation and a very minor bug fix to the Rev 3 MMU.
2023-04-09 12:36:15 -07:00
Peter Schorn
e4ad37eccc SCP: Fix possible memory corruption issue 2023-04-07 09:17:46 +02:00
Mark Pizzolato
374e3b8e71 SCP: Change declaration of get_yn() to have boolean argument and return value
- Fix improper get_yn() use in test library logic

Reported by Peter Schorn
2023-04-06 13:00:52 -10:00
ken rector
c654c20c49 sigma: MT: AIO must mask unit number before calling TDV status. 2023-04-05 16:32:23 -04:00
Peter Schorn
8b1b5eaeb7 AltairZ80: Add void when missing in function declaration 2023-04-05 16:28:15 +02:00
Peter Schorn
cc23adf6fd AltairZ80: Remove MetroWerks support for Macintosh OS 9 2023-04-05 16:15:41 +02:00
Mark Pizzolato
75e79a4da8 ND100: Fix CLK device setup and calibration
Original logic mixed up parameters and calibrated for 20000 ticks
per second rather than 50.
2023-04-03 10:24:53 -04:00
Patrick Linstruth
0bc7f09edf AltairZ80 VDM1: Corrects SCP error and video aspect ratio
Corrects video window aspect ratio
Corrects 'd -m c mov m,b' SCP error
Changes default dirty flag from FALSE to TRUE
2023-04-03 09:58:56 -04:00
Mark Pizzolato
9e0253f079 ETHER: Increase the number of potential interfaces to 40 2023-04-02 12:37:38 -10:00
Howard M. Harte
9947ed791f AltairZ80: Fix Windows CI builds. 2023-04-01 07:01:19 -07:00
Howard M. Harte
30d45ae7d9 AltairZ80: CPU: Properly reset PC.
After adding the sim_clock_precalibrate_commands, the PC was not zero
at the sim> prompt after loading altairz80.

Set CPU_S to zero in cpu_reset to address this issue.
2023-04-01 07:01:16 -07:00
Howard M. Harte
74eb45492a AltairZ80: Fix warnings in m68kfpu.c. 2023-04-01 07:01:15 -07:00
Howard M. Harte
7286b4a724 AltairZ80: Fix warnings in altairz80_sio.c. 2023-04-01 07:01:15 -07:00
Howard M. Harte
58b565f769 AltairZ80: Fix warnings in altairz80_hdsk.c. 2023-04-01 07:01:14 -07:00
Howard M. Harte
885f9123c1 AltairZ80: Fix warnings in altairz80_cpu.c. 2023-04-01 07:01:13 -07:00
Howard M. Harte
0521722525 AltairZ80: Resolve warnings in Flashwriter and Disk3. 2023-04-01 07:01:12 -07:00
Howard M. Harte
94d0e78a2e AltairZ80: Move find_unit_index() to altairz80_sys.c 2023-04-01 07:01:12 -07:00
Howard M. Harte
c6e9acab8a AltairZ80: wd179x: clean up / correct usage of status. 2023-04-01 07:01:11 -07:00
Howard M. Harte
d47216212c sim_imd: Resolve warnings. 2023-04-01 07:01:08 -07:00
Anders Magnusson
b40f7efde8 ND100: Initial support for Nord-100, implements the base instruction set.
Passes the test program INSTRUCTION-B.
2023-03-31 14:41:47 -04:00
Paul Koning
b0f69eea95 PDP11: Support byte write access to DHCSR.
This fixes issue #201, using a fix proposed bu Bjoren Davis.
2023-03-30 09:33:41 -04:00
Peter Schorn
27bd6b81aa Fix UTF-8 encoding for five files 2023-03-30 09:31:06 -04:00
ken rector
869dc0fe4a sigma: Correct recognition of pending DP seek interrupt.
This corrects an error that caused SIO reject when SIO occured before
a pending seek interrupt on a different device.
 - Move the interrupt pending test from sigma_io.c into each device.
 - Make the sigma_dp.c test a special case that looks for pending
   seek interrupts.
2023-03-29 10:10:14 -04:00
Richard Cornwell
4b8a6f8d2c KA10: Fixed DPY 340 second interrupt on KA10. 2023-03-29 10:08:06 -04:00
Patrick Linstruth
d70a0a16c5 AltairZ80 SOL20: Minor corrections and formatting
While working on the AltairZ80 documentation, I found some problems
with the SOL20 registers and fixed some formatting issues.
Added static and "vdm1_" prefix to "charset" variable in s100_vdm1.c
2023-03-24 21:42:10 -07:00
Mark Pizzolato
7a8cfcac05 SCP: Add .editorconfig which describes the project's long standing convention
This will hopefully automatically get small changes to adhere to the
conventions without them slipping through in the future.
2023-03-19 16:51:27 -04:00
Mark Pizzolato
decbe5b76b Various simulators: Set line endings to CRLF for consistency, remove stray tabs
Project standard source code has tabs converted to spaces and CRLF line
endings.

Other text files have CRLF line endings.
2023-03-19 16:51:27 -04:00
ken rector
f1f8cf9cb1 sigma: COC device, committed two fixes for sigma_coc.c.
sigma: COC device, add LNORDER command option
sigma: COC device, handle transmit long, stop transmit and receive break
2023-03-19 16:50:05 -04:00
ken rector
f1811c49bd SDS: Reset CR DEVICE cr_eor on disconnect. Caused algol compiler to hang. 2023-03-19 16:48:46 -04:00
Patrick Linstruth
cf9fac614c 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-19 16:47:38 -04:00