diff --git a/Machines/Acorn/BBCMicro/BBCMicro.cpp b/Machines/Acorn/BBCMicro/BBCMicro.cpp index d474547e8..ac8135173 100644 --- a/Machines/Acorn/BBCMicro/BBCMicro.cpp +++ b/Machines/Acorn/BBCMicro/BBCMicro.cpp @@ -1177,7 +1177,7 @@ struct Traits { void test_it() { Handler handler; CPU::MOS6502Mk2::Processor processor(handler); - processor.run_for(Cycles(10)); + processor.run_for(Cycles(1000)); } } diff --git a/Processors/6502Mk2/Implementation/6502.hpp b/Processors/6502Mk2/Implementation/6502.hpp index b3667cead..c446acf81 100644 --- a/Processors/6502Mk2/Implementation/6502.hpp +++ b/Processors/6502Mk2/Implementation/6502.hpp @@ -61,6 +61,9 @@ void Processor::run_for(const Cycles cycles) { using InterruptRequest = Storage::Inputs::InterruptRequest; while(true) switch(Storage::resume_point_) { + default: + __builtin_unreachable(); + // MARK: - Fetch/decode. fetch_decode: case ResumePoint::FetchDecode: