freebsd-ports/emulators/simh/files/patch-VAX-vax_sysdev.c
Martin Wilke 2606c0102d - Fix firmware directory
PR:		111061
Submitted by:	trasz   (maintainer)
2007-04-09 17:48:43 +00:00

19 lines
644 B
C

--- VAX/vax_sysdev.c.orig Sat Mar 24 09:13:42 2007
+++ VAX/vax_sysdev.c Sat Mar 24 09:17:45 2007
@@ -1524,8 +1524,15 @@
if (sim_log) fprintf (sim_log,
"Loading boot code from ka655x.bin\n");
r = load_cmd (0, "-R ka655x.bin");
- if (r != SCPE_OK) return r;
+ if (r != SCPE_OK) {
+ printf ("Loading boot code from %%PREFIX%%/share/simh/ka655x.bin\n");
+ if (sim_log) fprintf (sim_log,
+ "Loading boot code from %%PREFIX%%/share/simh/ka655x.bin\n");
+ r = load_cmd (0, "-R %%PREFIX%%/share/simh/ka655x.bin");
+ if (r != SCPE_OK)
+ return r;
}
+}
return SCPE_OK;
}