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

22 Commits

Author SHA1 Message Date
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
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
Olaf Seibert
8ae67882b4 I650: Avoid super-inefficient use of strlen(). 2024-07-08 09:39:15 -10:00
Olaf Seibert
1260113ab9 I650: Avoid allocating large card decks on the stack.
Allocate them dynamically instead.
2024-07-08 09:38:35 -10:00
Peter Schorn
d808d3ba3a Fix UTF-8 encoding for four files 2023-04-02 12:52:23 -10:00
Mark Pizzolato
f48f0de9a5 simulator tests: Fix test setup to tolerate very busy or slow host systems
Adjust the RUNLIMIT to specify instructions instead of wall clock time.
2022-11-12 15:34:24 -10:00
Roberto Sancho Villa
b9cdcd1099 I650: Fix Coverity identified issues 2022-03-13 11:47:08 -07:00
Mark Pizzolato
a015e44c10 ALL: Standardize writelock behavior adding global UNIT_WLK & UNIT_WPRT
Historically this functionality was reimplemented within each
DEVICE simulator often with slightly different implementations
and inconsistencies.  Solving this globally within SCP required
changes in many places, but should henceforth be reasonably
managed.

As discussed in #1034
2021-04-19 10:58:51 -07:00
Lars Brinkhoff
d5befa75c1 I650, IBM1130, PDP11, PDP18b, VAX, Sigma: Fix set but unused variables. 2020-12-02 14:45:21 -08:00
Mark Pizzolato
ae825c9afb All: Declare sim_stop_messages as an array SCPE_BASE long
This avoids a potential invalid pointer dereference when formatting
the return value from sim_instr() if it is < SCPE_BASE but greater
than the previously defined static array size.sizeof

Update simh.doc to reflect this generic change.
2020-09-02 15:56:07 -07:00
Mark Pizzolato
4a686ad0d0 I650: Correct spelling error in CDR device description 2020-08-15 12:17:21 -07:00
Roberto Sancho Villa
331f689747 I650: Properly set MT device reclen for all tape operations
As reported in #883
2020-07-10 19:02:20 -07:00
Mark Pizzolato
f519513f50 SCP, HP2100, HP3000, I650: Move one time initialization activities to cpu_reset
The paradigm of using a "weak" linker reference to find what was
previously the vm_init_routine() doesn't work reliably on all compile
environments supported by the simulators.  This has been reported
in #794 and it came up again in #862.  This change assures that
it will not come up again AND it reliably solves the problem with
Visual Studio compilers (and linker) that randomly chooses whether
to have the desired effect or not.

Of the 82 simulators which are currently part of simh, only these
three used the sim_vm_init() interface, so removing it had relatively
minor impact.
2020-05-26 06:25:01 -07:00
Roberto Sancho Villa
08027162ca I650: Update IBM 650 simulator to Release 4
- Integration with updated sim_card API
- Addition of MT (Mag Tape) device
- Addition of DSK (Disk) device
- Build time simulator test
2020-05-15 05:57:01 -07:00
Mark Pizzolato
8a858c181d SCP: Clean up WEAK definition and rework deprecated references to sim_vm_init
As discussed in #794
2020-01-29 12:30:25 -08:00
Mark Pizzolato
75d18d4db0 SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT 2019-02-01 16:07:12 -08:00
Roberto Sancho Villa
1571ba461b I650: Fix Coverity warnings 2018-06-24 23:39:06 +02:00
Roberto Sancho Villa
13cb294274 I650: Release 3
New Hardware support:
- IBM 653 Storage Unit: provides machine opcodes
  for Floating Point, Immediate Access Storage (IAS),
  Three Index registers, Cards Punch-read
  synchronizers 2 and 3.
New Software included:
- FORTRANSIT: version II (S), plus run time PACKAGE
  with standard Fortran functions.
- Reorganized sw directory, separating each language
  in its own folder. Each one Includes a 00_readme.txt
  file with restoration notes and comments.
New features:
- Support for SOAP opcode mnemonics in addition
  to regular IBM mnemonics
- FAST / REALTIME CPU options
- PROP pseudo register
- CARDDECK ECHOLAST command
2018-05-18 21:58:24 +02:00
Roberto Sancho Villa
7a8d61746d I650: Fix Coverity Warning 2018-05-07 23:30:02 +02:00
Roberto Sancho Villa
f5f4c96ccd I650: Fix coverity errors 2018-05-03 21:59:16 +02:00
Roberto Sancho Villa
02e7483ee7 I650: Release 2
Hardware support:
- Half cycle simulation
- Halt CPU simulation (^E on SimH console)

New Software included: Carnegie Internal Translator (IT)
New features
- Support for displaying SOAP symbolic instructions in debug information
- CardDeck internal command to split/join/print decks of cards

Bugs corrected:
- Fixed card format handling. Release 1 can only read TEXT format
- Removed superfluous line ends from debug strings.
- Better minus zero support
- Fixed unneeded prompt Really truncate memory [N] when setting memory size
2018-04-20 15:55:26 +02:00
Roberto Sancho Villa
2eb49c13b7 i650: New IBM 650 Simulator 2018-03-25 10:17:35 -07:00