IMLAC: Also load block register when loading DPC.
Not doing this will make jumps fail when the display processor is started from an adress larger than 7777.
This commit is contained in:
parent
ab1a922af0
commit
da76d6eca1
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ dp_iot (uint16 insn, uint16 AC)
|
||||||
}
|
}
|
||||||
if ((insn & 0772) == 0002) { /* DLA */
|
if ((insn & 0772) == 0002) { /* DLA */
|
||||||
sim_debug (DBG, &dp_dev, "DPC set to %06o\n", AC & memmask);
|
sim_debug (DBG, &dp_dev, "DPC set to %06o\n", AC & memmask);
|
||||||
DPC |= AC & memmask;
|
DPC = AC & memmask;
|
||||||
|
BLOCK = (AC >> 12) & 3;
|
||||||
}
|
}
|
||||||
if ((insn & 0771) == 0011) { /* CTB */
|
if ((insn & 0771) == 0011) { /* CTB */
|
||||||
;
|
;
|
||||||
|
|
Loading…
Add table
Reference in a new issue