1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-14 07:40:35 +00:00
Bob Supnik cc6f8ee8ee SCP: Fixed bug in byte deposits if aincr > 1
The PDP11 and VAX have length switches - B, W, and (VAX) L - to
override the default parsing of numberic display or input as words
(PDP11) or longwords (VAX CPU) or bytes (VAX byte devices).
This worked fine if every value is filled in. On the PDP11:

sim> ideposit -b 0-3
0:    1
1:    2
2:    3
3:    4
sim>

But if the user skips an input, IDEPOSIT advances by 2, not 1:

sim> ideposit -b 0-3
0:    1
1:    (cr)
3:    4
sim>

This change now produces the correct behavior.

PDP-11 simulator V3.12-2
sim> id -b 0-3
0:      1
1:
2:      3
3:      4
sim>
2022-06-17 08:23:29 -07:00
2020-12-11 10:38:07 +01:00
2022-03-17 16:04:43 -07:00
2022-06-09 14:28:04 -07:00
2022-03-13 11:47:08 -07:00
2022-06-11 12:43:22 +02:00
2022-06-09 14:28:04 -07:00
2022-03-18 16:47:33 -07:00
2022-06-09 14:28:04 -07:00
2022-02-28 07:44:39 -08:00
2022-03-06 02:11:57 -08:00
2022-03-14 15:28:39 -07:00
2022-03-14 15:28:39 -07:00
2022-03-06 02:11:57 -08:00

Open SIMH machine simulator

This is the codebase of SIMH, a framework and collection of computer system simulators.

SIMH was created by Bob Supnik, originally at Digital Equipment Corporation, and extended by contributions of many other people. It is now an open source project, licensed under an MIT open source license (see LICENSE.txt for the specific wording). The project gatekeepers are the members of the SIMH Steering Group. We welcome and encourage contributions from all. Contributions will be covered by the project license.

The Open SIMH code base was taken from a code base maintained by Mark Pizzolato as of 12 May 2022. From that point onward there is no connection between that source and the Open SIMH code base. A detailed listing of features as of that point may be found in SIMH-V4-status.

Description
The Open SIMH simulators package
Readme 140 MiB
Languages
C 96.9%
Assembly 1%
CMake 0.5%
Batchfile 0.4%
Makefile 0.4%
Other 0.5%