add main program; working OK

This commit is contained in:
Christopher Mosher 2013-12-13 10:01:38 -05:00
parent 61c95521b1
commit 4f6338422f
2 changed files with 4 additions and 8 deletions

View File

@ -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();

View File

@ -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);