SPL only in kernel mode
This commit is contained in:
parent
86a788fd3f
commit
ae00c95679
1 changed files with 5 additions and 2 deletions
3
cpu.cpp
3
cpu.cpp
|
@ -1569,8 +1569,11 @@ bool cpu::condition_code_operations(const uint16_t instr)
|
|||
}
|
||||
|
||||
if ((instr & ~7) == 0000230) { // SPLx
|
||||
if (getPSW_runmode() == 0) { // only in kernel mode
|
||||
int level = instr & 7;
|
||||
|
||||
setPSW_spl(level);
|
||||
}
|
||||
|
||||
// // trap via vector 010 only(?) on an 11/60 and not(?) on an 11/70
|
||||
// trap(010);
|
||||
|
|
Loading…
Add table
Reference in a new issue