From 49842414e2c570c511ef5c3c9e1860ee8d2fd504 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 12 Mar 2025 19:42:43 +0100 Subject: scroll: Provide an example with the MMC3 chip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- scroll/roulette.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scroll/roulette.s') diff --git a/scroll/roulette.s b/scroll/roulette.s index dae89de..b0c2a61 100644 --- a/scroll/roulette.s +++ b/scroll/roulette.s @@ -17,7 +17,7 @@ ;; mini-game. That being said, usually games used this capability to handle ;; scroll on the top part of the screen, and then resetting the scroll on the ;; lower part, so they could show a status section (again, as Super Mario Bros. -;; 3 does inside of a level). +;; 3 does inside of a level, and in mmc3.s here). ;; Include helpful definitions. .include "../shared/mmc3.s" @@ -32,9 +32,9 @@ .segment "HEADER" .byte 'N', 'E', 'S', $1A - .byte $10 ; 16 * 16 PRG-ROM (256KB) - .byte $10 ; 16 * 8 CHR-ROM (128KB) - .byte $42, $08 ; Mapper 4, battery present, iNES 2.0 header + .byte $10 + .byte $10 + .byte $42, $08 .res 8, 0 .segment "VECTORS" -- cgit v1.2.3