diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 15:46:54 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-02-04 22:00:36 +0100 |
| commit | 3e7549c71f60ee1c4b49a7c09fde3b6017818089 (patch) | |
| tree | dc132aecc12b2ba2680edca912fa12778618ad02 /basics | |
| parent | 6c4ac7727094259b3b5a25e8c168245983e70b2f (diff) | |
| download | code.nes-3e7549c71f60ee1c4b49a7c09fde3b6017818089.tar.gz code.nes-3e7549c71f60ee1c4b49a7c09fde3b6017818089.zip | |
Ensure background/sprite tiles are spread properly
At least on the MMC3 chip, it's important to have background tiles on
the first pattern table and then sprite tiles on the second pattern
table. This avoids a hardware bug on scanline IRQs.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'basics')
| -rw-r--r-- | basics/flicker.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basics/flicker.s b/basics/flicker.s index 25f1d33..234c8a1 100644 --- a/basics/flicker.s +++ b/basics/flicker.s @@ -27,7 +27,7 @@ jsr init_sprites cli - lda #%10010000 + lda #%10001000 sta $2000 ; PPUCTRL lda #%00011110 sta $2001 ; PPUMASK |
