diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 11:00:22 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 22:00:07 +0100 |
| commit | 6c4ac7727094259b3b5a25e8c168245983e70b2f (patch) | |
| tree | 089c185a436f57a58f43b6c0ed3eed53e8b93da5 /fx | |
| parent | fdf44365e56c3741f47cbd421a57f0d074a5492c (diff) | |
| download | code.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')
| -rw-r--r-- | fx/README.md | 2 | ||||
| -rw-r--r-- | fx/blink.s | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/fx/README.md b/fx/README.md index e7194dc..f42f323 100644 --- a/fx/README.md +++ b/fx/README.md @@ -10,3 +10,5 @@ the data. A very simple example is provided in [blink.s](./blink.s) where a character blinks periodically. + + @@ -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 |
