VAX: Add -8 -16 switch support for EXAMINE commands

This commit is contained in:
Mark Pizzolato 2017-09-03 09:20:19 -07:00
parent 23f4c90a6d
commit 769efb1f68

View file

@ -762,6 +762,7 @@ else if (sw & SWMASK ('O'))
rdx = 8; rdx = 8;
else if (sw & SWMASK ('H')) else if (sw & SWMASK ('H'))
rdx = 16; rdx = 16;
else if ((sim_switch_number >= 2) && (sim_switch_number <= 36)) rdx = sim_switch_number;
else rdx = dptr->dradix; else rdx = dptr->dradix;
if ((sw & SWMASK ('A')) || (sw & SWMASK ('C'))) { /* char format? */ if ((sw & SWMASK ('A')) || (sw & SWMASK ('C'))) { /* char format? */
for (vp = lnt - 1; vp >= 0; vp--) { for (vp = lnt - 1; vp >= 0; vp--) {