aboutsummaryrefslogtreecommitdiff
path: root/fx/blink.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 11:00:22 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 22:00:07 +0100
commit6c4ac7727094259b3b5a25e8c168245983e70b2f (patch)
tree089c185a436f57a58f43b6c0ed3eed53e8b93da5 /fx/blink.s
parentfdf44365e56c3741f47cbd421a57f0d074a5492c (diff)
downloadcode.nes-6c4ac7727094259b3b5a25e8c168245983e70b2f.tar.gz
code.nes-6c4ac7727094259b3b5a25e8c168245983e70b2f.zip
scroll: Implement a roulette-like game
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'fx/blink.s')
-rw-r--r--fx/blink.s11
1 files changed, 6 insertions, 5 deletions
diff --git a/fx/blink.s b/fx/blink.s
index c4d141d..adf8553 100644
--- a/fx/blink.s
+++ b/fx/blink.s
@@ -8,8 +8,9 @@
;; `basics/unrom`, which also perform bank switching albeit with simpler
;; hardware.
;;
-;; This examples basically makes use of the bank switching capabilities of the
-;; MMC3 chip, so the handling of IRQs is left to other examples.
+;; This example basically makes use of the bank switching capabilities of the
+;; MMC3 chip, so the handling of IRQs is left to other examples (e.g. see
+;; `scroll/roulette.s`).
;;
;; On the context of the MMC3 chip, the CPU ROM space is divided into 4 regions
;; of 8KB each. Two of these regions are swappable, the rest are fixed. This is
@@ -154,9 +155,9 @@ reset:
sta MMC3::MIRRORING
;; Interrupts are a whole topic of their own on the MMC3 chip. Here we just
- ;; disable them and leave it for other examples. Again, this is tied to a
- ;; register mapped to a region in memory (even addresses on $E000-$FFFE in
- ;; this case).
+ ;; disable them and leave it for other examples (e.g. see
+ ;; `scroll/roulette.s`). Again, this is tied to a register mapped to a
+ ;; region in memory (even addresses on $E000-$FFFE in this case).
sta MMC3::IRQ_DISABLE
;; PRG RAM can be protected from writes, but this is a feature that many