aboutsummaryrefslogtreecommitdiff
path: root/basics/persist.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-11-07 14:14:55 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 21:02:07 +0100
commitcb854722b9890c171f7d0600812a7e9a3a2a25c9 (patch)
tree1d9bce62db538471b1c98970115999b8ff93b43e /basics/persist.s
parent988332816972638adfa8000dd7e1a474c5fea424 (diff)
downloadcode.nes-cb854722b9890c171f7d0600812a7e9a3a2a25c9.tar.gz
code.nes-cb854722b9890c171f7d0600812a7e9a3a2a25c9.zip
basics: Add an example on UNROM
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'basics/persist.s')
-rw-r--r--basics/persist.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/basics/persist.s b/basics/persist.s
index 392797f..430654f 100644
--- a/basics/persist.s
+++ b/basics/persist.s
@@ -11,6 +11,10 @@
;; Last but not least, all of this is done thanks to the MMC1 chip. Thus, this
;; file is also a minimalistic example on how to configure it, even if it
;; doesn't take full advantage of it (e.g. we are not doing any bank switching).
+;; Because of this, note that we are not using a proper linker configuration for
+;; it (I'm using cc65's default, which is tailored for NROM chips). Thus, bank
+;; switching will actually never work under this setup. Bank switching is
+;; covered through other examples like `basics/unrom.s`.
.segment "HEADER"
.byte 'N', 'E', 'S', $1A