priority
This commit is contained in:
parent
5251cde04c
commit
cb4017f22b
1 changed files with 2 additions and 2 deletions
4
cpu.cpp
4
cpu.cpp
|
@ -383,8 +383,8 @@ bool cpu::execute_any_pending_interrupt()
|
||||||
uint8_t current_level = getPSW_spl();
|
uint8_t current_level = getPSW_spl();
|
||||||
|
|
||||||
// uint8_t start_level = current_level <= 3 ? 0 : current_level + 1;
|
// uint8_t start_level = current_level <= 3 ? 0 : current_level + 1;
|
||||||
// uint8_t start_level = current_level + 1;
|
// PDP-11_70_Handbook_1977-78.pdf page 1-5, "processor priority"
|
||||||
uint8_t start_level = current_level;
|
uint8_t start_level = current_level + 1;
|
||||||
|
|
||||||
for(uint8_t i=0; i < 8; i++) {
|
for(uint8_t i=0; i < 8; i++) {
|
||||||
auto interrupts = queued_interrupts.find(i);
|
auto interrupts = queued_interrupts.find(i);
|
||||||
|
|
Loading…
Add table
Reference in a new issue