SCP: Enable global message suppression by library code
The global variable sim_show_message as 0 will suppress message output which may be needed from time to time by library code.
This commit is contained in:
parent
a4228438b5
commit
ca51776ec7
2 changed files with 3 additions and 2 deletions
4
scp.c
4
scp.c
|
@ -592,7 +592,7 @@ volatile t_bool sim_is_running = FALSE;
|
|||
t_bool sim_processing_event = FALSE;
|
||||
uint32 sim_brk_summ = 0;
|
||||
uint32 sim_brk_types = 0;
|
||||
BRKTYPTAB *sim_brk_type_desc = NULL; /* type descriptions */
|
||||
BRKTYPTAB *sim_brk_type_desc = NULL; /* type descriptions */
|
||||
uint32 sim_brk_dflt = 0;
|
||||
uint32 sim_brk_match_type;
|
||||
t_addr sim_brk_match_addr;
|
||||
|
@ -603,6 +603,7 @@ int32 sim_brk_ent = 0;
|
|||
int32 sim_brk_lnt = 0;
|
||||
int32 sim_brk_ins = 0;
|
||||
int32 sim_quiet = 0;
|
||||
int32 sim_show_message = 1; /* the message display status of the currently open do file */
|
||||
int32 sim_step = 0;
|
||||
int32 sim_runlimit = 0;
|
||||
int32 sim_runlimit_initial = 0;
|
||||
|
@ -639,7 +640,6 @@ char *sim_prompt = NULL; /* prompt string */
|
|||
static FILE *sim_gotofile; /* the currently open do file */
|
||||
static int32 sim_goto_line[MAX_DO_NEST_LVL+1]; /* the current line number in the currently open do file */
|
||||
static int32 sim_do_echo = 0; /* the echo status of the currently open do file */
|
||||
static int32 sim_show_message = 1; /* the message display status of the currently open do file */
|
||||
static int32 sim_on_inherit = 0; /* the inherit status of on state and conditions when executing do files */
|
||||
static int32 sim_do_depth = 0;
|
||||
static t_bool sim_cmd_echoed = FALSE; /* Command was emitted already prior to message output */
|
||||
|
|
1
scp.h
1
scp.h
|
@ -364,6 +364,7 @@ extern UNIT *sim_dfunit;
|
|||
extern int32 sim_interval;
|
||||
extern int32 sim_switches;
|
||||
extern int32 sim_switch_number;
|
||||
extern int32 sim_show_message;
|
||||
extern int32 sim_quiet;
|
||||
extern int32 sim_step;
|
||||
extern t_stat sim_last_cmd_stat; /* Command Status */
|
||||
|
|
Loading…
Add table
Reference in a new issue