ce4baa68f7
o use installed bootrom code on VAX780 emulator o adds support for 16-line DHU/DHV interfaces (vh). Checked on RSX-11M-PLUS 4.0 w/ 4 DHx multiplexers. from Oleg Safiullin (form at pdp-11 dot org dot ru)
29 lines
790 B
Plaintext
29 lines
790 B
Plaintext
$OpenBSD: patch-VAX_vax780_sbi_c,v 1.1 2006/07/10 17:55:44 fgsch Exp $
|
|
--- VAX/vax780_sbi.c.orig Thu May 11 08:53:04 2006
|
|
+++ VAX/vax780_sbi.c Sat Jul 8 19:18:19 2006
|
|
@@ -32,6 +32,10 @@
|
|
|
|
#include "vax_defs.h"
|
|
|
|
+#ifndef PATH_VMB_EXE
|
|
+#define PATH_VMB_EXE "vmb.exe"
|
|
+#endif
|
|
+
|
|
/* 11/780 specific IPRs */
|
|
|
|
/* Writeable control store */
|
|
@@ -643,10 +647,10 @@ t_stat cpu_boot (int32 unitno, DEVICE *d
|
|
{
|
|
t_stat r;
|
|
|
|
-printf ("Loading boot code from vmb.exe\n");
|
|
+printf ("Loading boot code from %s\n", PATH_VMB_EXE);
|
|
if (sim_log) fprintf (sim_log,
|
|
- "Loading boot code from vmb.exe\n");
|
|
-r = load_cmd (0, "-O vmb.exe 200");
|
|
+ "Loading boot code from %s\n", PATH_VMB_EXE);
|
|
+r = load_cmd (0, "-O " PATH_VMB_EXE " 200");
|
|
if (r != SCPE_OK) return r;
|
|
SP = PC = 512;
|
|
return SCPE_OK;
|