SCP: Extend SHOW processing for default (unspecified) device to also handle global show modifiers, thus making SHOW RADIX display the radix for the default device (usually CPU).

This commit is contained in:
Mark Pizzolato 2015-04-03 04:42:35 -07:00
parent f081ddf9aa
commit 9cb9018665

6
scp.c
View file

@ -4036,9 +4036,13 @@ else {
}
}
}
if (!dptr)
if (!dptr) {
if ((shptr = find_shtab (show_dev_tab, gbuf))) /* global match? */
return shptr->action (ofile, sim_dflt_dev, uptr, shptr->arg, cptr);
else
return SCPE_NXDEV; /* no match */
}
}
if (*cptr == 0) { /* now eol? */
return (lvl == MTAB_VDV)?