mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Merge pull request #710 from TomHarte/STOP
Ensure that an interrupt from a STOP doesn't return to the STOP.
This commit is contained in:
commit
0bf1a87f4c
@ -206,6 +206,7 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
|
||||
// exit the STOP.
|
||||
if(bus_interrupt_level_ > interrupt_level_) {
|
||||
pending_interrupt_level_ = bus_interrupt_level_;
|
||||
program_counter_.full += 4; // Don't return to this stop.
|
||||
execution_state_ = ExecutionState::BeginInterrupt;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user