1
0
mirror of https://github.com/simh/simh.git synced 2026-04-07 22:11:20 +00:00

Exposed a means of general disabling message printing to commands while passing back status information.

This commit is contained in:
Mark Pizzolato
2012-03-27 19:12:40 -07:00
parent 693b75c00e
commit 00dfc21bf0
3 changed files with 29 additions and 20 deletions

View File

@@ -825,6 +825,10 @@ return SCPE_OK;
t_stat halt_svc (UNIT *uptr)
{
/* [JDB local fix 3] begin */
if (sim_switches & SIM_SW_HIDE) /* hide console halt message? */
return SCPE_CHALT | SCPE_NOMESSAGE; /* return quietly */
/* [JDB local fix 3] end */
return SCPE_CHALT;
}