1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Ensure that a phoney reset gets the proper vector.

This commit is contained in:
Thomas Harte 2022-06-08 14:44:15 -04:00
parent dd0a7533ab
commit 6efb9b24e0

View File

@ -2240,6 +2240,7 @@ void ProcessorStorage::set_status(uint16_t status) {
template <class T, bool dtack_is_implicit, bool signal_will_perform> void Processor<T, dtack_is_implicit, signal_will_perform>::reset() {
execution_state_ = ExecutionState::Executing;
active_step_ = reset_bus_steps_;
effective_address_[0] = 0;
is_supervisor_ = 1;
interrupt_level_ = 7;
}