-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: prepare seperation of interfaces to ppu .
One interface to emulator and one (ppu internal) interface to actual video output
- Loading branch information
1 parent
e7f73cc
commit 4372a45
Showing
13 changed files
with
694 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
NES_SRC_PATH=../../src/ | ||
|
||
INCLUDE_PATHS_NES=cartridge cpu ppu . | ||
SRCS_NES=cartridge/cartridge.c cpu/cpu6502.c ppu/ppu.c nes.c | ||
SRCS_NES=cartridge/cartridge.c cpu/cpu6502.c ppu/ppu_framebuffer.c nes.c | ||
|
||
# target specific | ||
SRCS=$(addprefix $(NES_SRC_PATH), $(SRCS_NES)) ui.c | ||
INCLUDE_PATHS=$(addprefix $(NES_SRC_PATH), $(INCLUDE_PATHS_NES)) | ||
|
||
jeg: | ||
jeg: $(SRCS) | ||
$(CC) $(SRCS) $(addprefix -I,$(INCLUDE_PATHS)) -O3 -o $@ `sdl2-config --cflags --libs` -Wall -pedantic $(CFLAGS) | ||
|
||
clean: | ||
rm jeg -rf | ||
rm jeg -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.