From 3e7549c71f60ee1c4b49a7c09fde3b6017818089 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 4 Feb 2025 15:46:54 +0100 Subject: Ensure background/sprite tiles are spread properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- basics/flicker.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basics') 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 -- cgit v1.2.3