diff --git a/Cpu6502.h b/Cpu6502.h index c7d6afa..05bf5c5 100644 --- a/Cpu6502.h +++ b/Cpu6502.h @@ -24,14 +24,15 @@ public: virtual ~Cpu6502() { } + void powerOn(); + void tick(); + void reset(); + private: Cpu6502(const Cpu6502&); Cpu6502& operator=(const Cpu6502&); - void powerOn(); void initPins(); - void reset(); - void tick(); void step(); void clock(bool phase); void rw(); diff --git a/v6502.cpp b/v6502.cpp index 36b2087..2998609 100644 --- a/v6502.cpp +++ b/v6502.cpp @@ -49,11 +49,6 @@ int main(int argc, char *argv[]) { AddressBus mem; Trace trace(tn.segs); Cpu6502 cpu(tn,mem,trace); -} - -int xxxmain(int argc, char *argv[]) { - AddressBus mem; - CPU cpu(mem);