VAX750: Make sure that a boot ROM has been loaded before attempting a boot from the BOOTDEV specified boot device (i.e. BOOT without an argument).
This commit is contained in:
parent
a6c5e7e632
commit
7ad2651aa8
1 changed files with 10 additions and 1 deletions
|
@ -732,6 +732,15 @@ if (gbuf[0]) {
|
|||
}
|
||||
}
|
||||
else {
|
||||
if (!(*rom)) { /* ROM loaded? */
|
||||
for (i=0; boot_tab[i].devname; i++) { /* Find a ROM file name */
|
||||
if (boot_tab[i].bootcodefile)
|
||||
break;
|
||||
}
|
||||
r = mctl_populate_rom (boot_tab[i].bootcodefile);
|
||||
if (r != SCPE_OK)
|
||||
return r;
|
||||
}
|
||||
/* Page 2-16 of VAX750 Student Training suggests the following register state: */
|
||||
unitno = 0;
|
||||
R[0] = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue