MicroVAX I: Fix to allow reboot when the initial boot didn't specify a boot device (i.e. a sniff boot)

This commit is contained in:
Mark Pizzolato 2014-07-17 10:02:29 -07:00
parent 9a0d035e78
commit 6d64924685

View file

@ -497,8 +497,7 @@ return cc;
int32 con_halt (int32 code, int32 cc) int32 con_halt (int32 code, int32 cc)
{ {
if ((cpu_boot_cmd[0] == 0) || /* saved boot cmd? */ if ((vax610_boot_parse (0, cpu_boot_cmd) != SCPE_OK) || /* reparse the boot cmd */
(vax610_boot_parse (0, cpu_boot_cmd) != SCPE_OK) || /* reparse the boot cmd */
(reset_all (0) != SCPE_OK) || /* reset the world */ (reset_all (0) != SCPE_OK) || /* reset the world */
(cpu_boot (0, NULL) != SCPE_OK)) /* set up boot code */ (cpu_boot (0, NULL) != SCPE_OK)) /* set up boot code */
ABORT (STOP_BOOT); /* any error? */ ABORT (STOP_BOOT); /* any error? */