Skip to content

Commit

Permalink
renamed 6502 to cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
mwillsey committed Feb 10, 2014
1 parent 1180338 commit cdf5fcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ all: nes
memory.o: memory.c memory.h
$(CC) $(CFLAGS) -c memory.c

6502.o: 6502.c 6502.h
$(CC) $(CFLAGS) -c 6502.c
cpu.o: cpu.c cpu.h
$(CC) $(CFLAGS) -c cpu.c

nes.o: nes.c
$(CC) $(CFLAGS) -c nes.c

nes: nes.o 6502.o memory.o
nes: nes.o cpu.o memory.o

clean:
rm *.o
Expand Down
4 changes: 2 additions & 2 deletions 6502.c → cpu.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* 6502.c
* cpu.c
* by Max Willsey
* a basic, clean 6502 cpu emulator
*/

#include "6502.h"
#include "cpu.h"

/*
* ---------- stack functions ----------
Expand Down
2 changes: 1 addition & 1 deletion 6502.h → cpu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 6502.h
* cpu.h
* by Max Willsey
* a basic, clean 6502 cpu emulator
*/
Expand Down

0 comments on commit cdf5fcd

Please sign in to comment.