From 6c4ac7727094259b3b5a25e8c168245983e70b2f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 4 Feb 2025 11:00:22 +0100 Subject: scroll: Implement a roulette-like game MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- fx/README.md | 2 ++ fx/blink.s | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'fx') 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. + +![blink.gif](../docs/blink.gif) 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 -- cgit v1.2.3