From a007322374d7cfe0766ee29d79b5fe3e142409ca Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Sat, 29 Feb 2020 22:39:20 -0500 Subject: [PATCH] KA10: Fix SHOW IMX bug. Display channels in octal instead of decimal. --- PDP10/ka10_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDP10/ka10_imx.c b/PDP10/ka10_imx.c index 626a90c..b4623b1 100644 --- a/PDP10/ka10_imx.c +++ b/PDP10/ka10_imx.c @@ -325,7 +325,7 @@ t_stat imx_show_channel (FILE *st, UNIT *uptr, int32 val, CONST void *desc) } else negate = ""; - fprintf (st, "%sCHANNEL=%d;JOY%d;AXIS%d%s", comma, chan, i, j, negate); + fprintf (st, "%sCHANNEL=%o;JOY%d;AXIS%d%s", comma, chan, i, j, negate); comma = ", "; nothing = 0; }