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:
parent
f081ddf9aa
commit
9cb9018665
1 changed files with 6 additions and 2 deletions
6
scp.c
6
scp.c
|
@ -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 */
|
return SCPE_NXDEV; /* no match */
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (*cptr == 0) { /* now eol? */
|
if (*cptr == 0) { /* now eol? */
|
||||||
return (lvl == MTAB_VDV)?
|
return (lvl == MTAB_VDV)?
|
||||||
|
|
Loading…
Add table
Reference in a new issue