diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-10-26 22:28:57 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 20:59:05 +0100 |
| commit | c22ea7b25d8949f1c6266208eeb027d0350a54a7 (patch) | |
| tree | ecaa7ca5f022000aa23d8e757766c713d6ba951e /basics/sprite.s | |
| parent | 149020464517ff3d021eef5ccd50d3939ad463e6 (diff) | |
| download | code.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.s | 5 |
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 |
