1
0
mirror of https://github.com/simh/simh.git synced 2026-02-14 11:55:51 +00:00

SCP: Add warning about reset when RUN command is used multiple times.

The RUN command implicitly resets all devices which may have unexpected
consequences for a novice user.

The logic now produces a warning about this side effect when more than one
RUN command is executed in the same simulator session.

An explicit RESET command suppresses this warning for a subsequent RUN
command.

A RUN command with the -Q switch also suppresses this warning.
This commit is contained in:
Mark Pizzolato
2016-11-18 05:20:06 -08:00
parent fc3ac62218
commit ff95fb8ec2
4 changed files with 18 additions and 6 deletions

View File

@@ -1233,7 +1233,7 @@ if (sim_rem_master_mode) {
t_stat stat_nomessage;
sim_printf ("Command input starting on Master Remote Console Session\n");
stat = sim_run_boot_prep ();
stat = sim_run_boot_prep (0);
sim_rem_master_was_enabled = TRUE;
while (sim_rem_master_mode) {
sim_rem_single_mode[0] = FALSE;