-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NES UNROM mapper support. (#190)
- Loading branch information
1 parent
da4b49d
commit 5cd46df
Showing
18 changed files
with
1,631 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
platform(nes-unrom COMPLETE PARENT nes) | ||
|
||
if(NOT CMAKE_CROSSCOMPILING) | ||
return() | ||
endif() | ||
|
||
install(FILES | ||
_prg-rom-banked.ld | ||
common.ld | ||
prg-rom.ld | ||
TYPE LIB) | ||
install(FILES bank.h TYPE INCLUDE) | ||
|
||
add_platform_object_file(nes-unrom-crt0-o crt0.o ines.s) | ||
add_platform_object_file(nes-unrom-reset-o reset.o reset.s) | ||
|
||
add_platform_library(nes-unrom-c bank.c bank.s) | ||
target_link_libraries(nes-unrom-c PRIVATE common-asminc) |
Oops, something went wrong.