diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-12 19:42:43 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-03-12 19:42:43 +0100 |
| commit | 49842414e2c570c511ef5c3c9e1860ee8d2fd504 (patch) | |
| tree | 05424ae01847339432e8a5729469646be4c6887a /scroll/roulette.s | |
| parent | c02659b85c1d623781c1baec48ea457df360a2cf (diff) | |
| download | code.nes-49842414e2c570c511ef5c3c9e1860ee8d2fd504.tar.gz code.nes-49842414e2c570c511ef5c3c9e1860ee8d2fd504.zip | |
scroll: Provide an example with the MMC3 chip
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'scroll/roulette.s')
| -rw-r--r-- | scroll/roulette.s | 8 |
1 files changed, 4 insertions, 4 deletions
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" |
