/* * File: Cpu6502Helper.h * Author: Christopher * * Created on December 12, 2013, 10:22 PM */ #ifndef CPU6502HELPER_H #define CPU6502HELPER_H class Cpu6502; class Common; class Cpu6502Helper final { public: Cpu6502Helper(Cpu6502& cpu, Common& common) : cpu(cpu), common(common), nextPhase(true) { } void powerOn(); void tick(); void reset(); private: Cpu6502Helper(const Cpu6502Helper&) = delete; Cpu6502Helper& operator=(const Cpu6502Helper&) = delete; void step(); Cpu6502& cpu; Common& common; bool nextPhase; }; #endif /* CPU6502HELPER_H */