1
0
mirror of https://github.com/open-simh/simh.git synced 2026-03-13 05:51:02 +00:00
Bob Supnik b0568dc2cb 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:40:34 -07:00
2022-05-16 03:01:45 -07:00
2020-10-07 15:33:11 -07:00
2011-04-15 08:33:23 -07:00
2011-04-15 08:34:26 -07:00
2011-04-15 08:34:26 -07:00
2019-11-30 20:19:00 -08:00
2018-06-04 07:59:42 -07:00
Description
The Open SIMH simulators package
140 MiB
Languages
C 96.9%
Assembly 1%
CMake 0.5%
Batchfile 0.4%
Makefile 0.4%
Other 0.5%