mirror of https://github.com/bsnes-emu/bsnes.git
22 lines
359 B
C++
22 lines
359 B
C++
//Zilog Z80
|
|
|
|
struct CPU : Processor::Z80, Thread {
|
|
static auto Enter() -> void;
|
|
auto main() -> void;
|
|
auto step(uint clocks) -> void;
|
|
|
|
auto setNMI(bool value) -> void;
|
|
auto setINT(bool value) -> void;
|
|
|
|
auto power() -> void;
|
|
auto reset() -> void;
|
|
|
|
private:
|
|
struct State {
|
|
boolean nmiLine;
|
|
boolean intLine;
|
|
} state;
|
|
};
|
|
|
|
extern CPU cpu;
|