From 3b8fc9d314b23d75687a3c586c7ae7ccfb00f9af Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 8 Nov 2018 21:36:33 -0800 Subject: [PATCH] SCP: Avoid debug output noise when starting and stopping instruction execution --- sim_console.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sim_console.c b/sim_console.c index 97da9a16..cf818b1c 100644 --- a/sim_console.c +++ b/sim_console.c @@ -2277,8 +2277,10 @@ if (sim_deb_switches & SWMASK ('B')) sim_messagef (SCPE_OK, " Debug messages will be written to a %u MB circular memory buffer\n", (unsigned int)buffer_size); time(&now); -fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now)); -show_version (sim_deb, NULL, NULL, 0, NULL); +if (!sim_quiet) { + fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now)); + show_version (sim_deb, NULL, NULL, 0, NULL); + } if (sim_deb_switches & SWMASK ('N')) sim_deb_switches &= ~SWMASK ('N'); /* Only process the -N flag initially */