first version to compile and link OK

removed redundant code from v6502.cpp;
moved relevant code from v6502.cpp to addressbus.h
added crude Makefile
fix other compilation errors
This commit is contained in:
Christopher Mosher
2013-11-25 23:14:22 -05:00
parent 09046e9715
commit 3a0229555b
6 changed files with 520 additions and 1034 deletions
+11
View File
@@ -0,0 +1,11 @@
all: v6502
v6502: v6502.o cpu.o
g++ $^ -o $@
v6502.o: v6502.cpp cpu.h addressbus.h
cpu.o: cpu.cpp cpu.h addressbus.h nodes.h
clean:
rm *.o