This is my current init code - I want to disable NMI generation and disable rendering:
It seems to work, and every tutorial I came across does it this way, however this wiki page says it shouldn't work:
So my question is this: are writes to $2000.7, $2001.3 and $2001.4 ignored right after reset or not?
Code:
reset:
sei
cld
ldx #$FF
txs
lda #$00
sta $2000 ; write 0 to $2000.7 to disable NMI generation
sta $2001 ; write 0 to $2001.3 and $2001.4 to disable rendering
; wait for the PPU to warm up, clear memory, etc.
sei
cld
ldx #$FF
txs
lda #$00
sta $2000 ; write 0 to $2000.7 to disable NMI generation
sta $2001 ; write 0 to $2001.3 and $2001.4 to disable rendering
; wait for the PPU to warm up, clear memory, etc.
It seems to work, and every tutorial I came across does it this way, however this wiki page says it shouldn't work:
Quote:
Writes to the following registers are ignored if earlier than ~29658 CPU clocks after reset: $2000, $2001, $2005, $2006.
The other registers work immediately: $2002, $2003, $2004, $2007, $4014.
The other registers work immediately: $2002, $2003, $2004, $2007, $4014.
So my question is this: are writes to $2000.7, $2001.3 and $2001.4 ignored right after reset or not?