aboutsummaryrefslogtreecommitdiff
path: root/basics/sprite.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-10-26 22:28:57 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 20:59:05 +0100
commitc22ea7b25d8949f1c6266208eeb027d0350a54a7 (patch)
treeecaa7ca5f022000aa23d8e757766c713d6ba951e /basics/sprite.s
parent149020464517ff3d021eef5ccd50d3939ad463e6 (diff)
downloadcode.nes-c22ea7b25d8949f1c6266208eeb027d0350a54a7.tar.gz
code.nes-c22ea7b25d8949f1c6266208eeb027d0350a54a7.zip
basics: Add an example on persisting data
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'basics/sprite.s')
-rw-r--r--basics/sprite.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/basics/sprite.s b/basics/sprite.s
index a7984de..ac68d7f 100644
--- a/basics/sprite.s
+++ b/basics/sprite.s
@@ -30,9 +30,8 @@
.byte 'N', 'E', 'S', $1A
;; The next two bytes define the size of the PRG and CHR ROMs in this order.
- ;; More specifically, they define how many 8KB banks are available for PRG
- ;; and CHR. Hence, the next two bytes define a 16KB (2x 8KB) of PRG-ROM, and
- ;; 8KB of CHR-ROM.
+ ;; Hence, the next two bytes define a 32KB (2 x 16KB) of PRG-ROM, and 8KB
+ ;; (1 x 8KB) of CHR-ROM.
.byte $02
.byte $01