PDP11: Added missing pdp11_rk boot setup from Bob Supnik

This commit is contained in:
Mark Pizzolato 2013-11-10 09:19:01 -08:00
parent b57201b88b
commit 24b64b517b

View file

@ -25,6 +25,7 @@
rk RK11/RKV11/RK05 cartridge disk
23-Oct-13 RMS Revised for new boot setup routine
20-Mar-09 RMS Fixed bug in read header (Walter F Mueller)
16-Aug-05 RMS Fixed C++ declaration and cast problems
07-Jul-05 RMS Removed extraneous externs
@ -896,13 +897,12 @@ static const uint16 boot_rom[] = {
t_stat rk_boot (int32 unitno, DEVICE *dptr)
{
size_t i;
extern int32 saved_PC;
for (i = 0; i < BOOT_LEN; i++)
M[(BOOT_START >> 1) + i] = boot_rom[i];
M[BOOT_UNIT >> 1] = unitno & RK_M_NUMDR;
M[BOOT_CSR >> 1] = (rk_dib.ba & DMASK) + 012;
saved_PC = BOOT_ENTRY;
cpu_set_boot (BOOT_ENTRY);
return SCPE_OK;
}