aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/example/Makefile2
-rw-r--r--src/example/nes.asm3
-rwxr-xr-xsrc/example/nes.palbin0 -> 16 bytes
-rwxr-xr-xsrc/example/nestiles.neschrbin0 -> 151314 bytes
-rwxr-xr-xsrc/example/tiles.chrbin4096 -> 8192 bytes
5 files changed, 2 insertions, 3 deletions
diff --git a/src/example/Makefile b/src/example/Makefile
index e92b2ec..f9f15db 100644
--- a/src/example/Makefile
+++ b/src/example/Makefile
@@ -48,7 +48,7 @@ vcs.bin: vcs.asm $(CASM)
snes.sfc: snes.asm $(CASM)
$(CASM) snes.asm
-nes.nes: nes.asm $(CASM)
+nes.nes: nes.asm tiles.chr nes.pal $(CASM)
$(CASM) nes.asm
clean:
diff --git a/src/example/nes.asm b/src/example/nes.asm
index 8228914..95f3a64 100644
--- a/src/example/nes.asm
+++ b/src/example/nes.asm
@@ -72,8 +72,7 @@ nmi:
rti
palette:
- db 15, 0, 16, 48, 15, 1, 33, 49, 15, 6, 22, 38, 15, 9, 25, 41
- db 15, 0, 16, 48, 15, 1, 33, 49, 15, 6, 22, 38, 15, 9, 25, 41
+ incbin "nes.pal"
map:
db 'H'-'@'
diff --git a/src/example/nes.pal b/src/example/nes.pal
new file mode 100755
index 0000000..bc99722
--- /dev/null
+++ b/src/example/nes.pal
Binary files differ
diff --git a/src/example/nestiles.neschr b/src/example/nestiles.neschr
new file mode 100755
index 0000000..ea73da6
--- /dev/null
+++ b/src/example/nestiles.neschr
Binary files differ
diff --git a/src/example/tiles.chr b/src/example/tiles.chr
index 9986eaf..0fbebab 100755
--- a/src/example/tiles.chr
+++ b/src/example/tiles.chr
Binary files differ