mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
SCP: Allow flexible switch presence on TESTLIB commands
This commit is contained in:
parent
b70dc7bd05
commit
60e5484541
2
scp.c
2
scp.c
@ -15524,6 +15524,8 @@ if (strcmp (gbuf, "ALL") != 0) {
|
||||
if (!find_dev (gbuf))
|
||||
return sim_messagef (SCPE_ARG, "No such device: %s\n", gbuf);
|
||||
}
|
||||
GET_SWITCHES (cptr); /* get extra switches after a device specifier */
|
||||
saved_switches |= sim_switches;
|
||||
if (sim_switches & SWMASK ('D')) {
|
||||
sim_switches &= ~(SWMASK ('D') | SWMASK ('R') | SWMASK ('F') | SWMASK ('T'));
|
||||
sim_set_debon (0, "STDOUT");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user