Code: Select all
LDA #$20 ; set to beginning of first nametable
STA $2006
LDA #$e1
STA $2006
LDA tempval
STA $2007Other than the above there isn't any scrolling at all involved in the code and I never write to $2005. So our of curiosity, why do I need to tell the PPU not to scroll even though I am not scrolling during the code?LDA #00
STA $2005
LDA #00
STA $2005
at the end of the NMI. So the question is, why do I need to tell the PPU not to scroll at the end of the NMI even