mirror of
https://github.com/cmosher01/v6502cpp.git
synced 2024-10-31 16:05:31 +00:00
37 lines
581 B
C++
37 lines
581 B
C++
/*
|
|
* 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 {
|
|
public:
|
|
|
|
Cpu6502Helper(Cpu6502& cpu, Common& common);
|
|
virtual ~Cpu6502Helper();
|
|
|
|
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 */
|