From 2072532f1beda037a24bccdb36d9842c5da875a5 Mon Sep 17 00:00:00 2001 From: Christophe Parent Date: Sun, 10 Dec 2023 00:30:34 -0800 Subject: [PATCH] Rename source files --- .gitignore | 4 ++-- README.md | 6 +++--- src/{smb.cfg => linker.cfg} | 0 src/{smbdis.asm => main.asm} | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/{smb.cfg => linker.cfg} (100%) rename src/{smbdis.asm => main.asm} (99%) diff --git a/.gitignore b/.gitignore index 56be16d..b5fbfc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -src/smb.chr -src/smbdis.o +src/chars.bin +src/*.o target/ diff --git a/README.md b/README.md index eb5fe44..8058098 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ cd super_mario_bros_tale_of_the_black_koopa Copy the graphics file: ```shell -$ cp src/smb.chr +$ cp src/chars.bin ``` ### Building @@ -32,12 +32,12 @@ $ cp src/smb.chr To build the binary, execute: ```shell -$ cl65 -t nes -o target/smb.nes -C src/smb.cfg src/smbdis.asm +$ cl65 -t nes -o target/super_mario_bros_tale_of_the_black_koopa.nes -C src/linker.cfg src/main.asm ``` ### Running -To run the game, open the file `target/smb.nes` in your favorite NES emulator. Alternatively you can run it on original hardware. +To run the game, open the file `target/super_mario_bros_tale_of_the_black_koopa.nes` in your favorite NES emulator. Alternatively you can run it on original hardware. ### Playing diff --git a/src/smb.cfg b/src/linker.cfg similarity index 100% rename from src/smb.cfg rename to src/linker.cfg diff --git a/src/smbdis.asm b/src/main.asm similarity index 99% rename from src/smbdis.asm rename to src/main.asm index a09a9ce..09eda52 100644 --- a/src/smbdis.asm +++ b/src/main.asm @@ -16394,7 +16394,7 @@ BankTable: .segment "CHARS" -Chars: .incbin "smb.chr" +Chars: .incbin "chars.bin" .segment "COPYCHARS"