From c22ea7b25d8949f1c6266208eeb027d0350a54a7 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 26 Oct 2023 22:28:57 +0200 Subject: basics: Add an example on persisting data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- basics/sprite.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'basics/sprite.s') 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 -- cgit v1.2.3