aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-06-06 20:57:40 +0100
committerIan C <ianc@noddybox.co.uk>2016-06-06 20:57:40 +0100
commit64286bce86befc5b48a65c60d871dca8ef269257 (patch)
tree59cdc55353b9abe5648037fb7986021fbf43697b /src/example
parent663c4fc9de4d8167cb02e9fdd5e87547437399f6 (diff)
Tweaks to NES example to trial NES CHR editor.
Diffstat (limited to 'src/example')
-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