PDP11: Added missing pdp11_rk boot setup from Bob Supnik
This commit is contained in:
parent
b57201b88b
commit
24b64b517b
1 changed files with 2 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
rk RK11/RKV11/RK05 cartridge disk
|
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)
|
20-Mar-09 RMS Fixed bug in read header (Walter F Mueller)
|
||||||
16-Aug-05 RMS Fixed C++ declaration and cast problems
|
16-Aug-05 RMS Fixed C++ declaration and cast problems
|
||||||
07-Jul-05 RMS Removed extraneous externs
|
07-Jul-05 RMS Removed extraneous externs
|
||||||
|
@ -896,13 +897,12 @@ static const uint16 boot_rom[] = {
|
||||||
t_stat rk_boot (int32 unitno, DEVICE *dptr)
|
t_stat rk_boot (int32 unitno, DEVICE *dptr)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
extern int32 saved_PC;
|
|
||||||
|
|
||||||
for (i = 0; i < BOOT_LEN; i++)
|
for (i = 0; i < BOOT_LEN; i++)
|
||||||
M[(BOOT_START >> 1) + i] = boot_rom[i];
|
M[(BOOT_START >> 1) + i] = boot_rom[i];
|
||||||
M[BOOT_UNIT >> 1] = unitno & RK_M_NUMDR;
|
M[BOOT_UNIT >> 1] = unitno & RK_M_NUMDR;
|
||||||
M[BOOT_CSR >> 1] = (rk_dib.ba & DMASK) + 012;
|
M[BOOT_CSR >> 1] = (rk_dib.ba & DMASK) + 012;
|
||||||
saved_PC = BOOT_ENTRY;
|
cpu_set_boot (BOOT_ENTRY);
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue