From ea898b24bd0042ad4ad73a2d39eec5ea1b92112d Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 31 Aug 2017 17:45:10 -0700 Subject: [PATCH] SCP: Add SET BINARY as an alternate radix option for all devices --- scp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scp.c b/scp.c index a311a552..36a80930 100644 --- a/scp.c +++ b/scp.c @@ -1221,7 +1221,7 @@ static const char simh_help[] = "3Command Prompt\n" "+set prompt \"string\" sets an alternate simulator prompt string\n" "3Device and Unit\n" - "+set OCT|DEC|HEX set device display radix\n" + "+set OCT|DEC|HEX|BIN set device display radix\n" "+set ENABLED enable device\n" "+set DISABLED disable device\n" "+set DEBUG{=arg} set device debug flags\n" @@ -1991,6 +1991,7 @@ static C1TAB set_dev_tab[] = { { "OCTAL", &set_dev_radix, 8 }, { "DECIMAL", &set_dev_radix, 10 }, { "HEX", &set_dev_radix, 16 }, + { "BINARY", &set_dev_radix, 2 }, { "ENABLED", &set_dev_enbdis, 1 }, { "DISABLED", &set_dev_enbdis, 0 }, { "DEBUG", &set_dev_debug, 1 },