mirror of
https://github.com/open-simh/simh.git
synced 2026-04-25 03:44:58 +00:00
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>
651 KiB
651 KiB