I am setting the universal color every time in my NMI. However, when playing, the horizontal scroll seems to be set to 255 (it should be 0) to show the right nametable.
Here's the code I'm using to set the universal color:
I am setting the scroll at the end of NMI like so:
What am I doing wrong?
Here's the code I'm using to set the universal color:
Code:
BIT $2002
LDA #$3F
STA $2006
LDA #$00
STA $2006
LDA sharedColor
STA $2007
LDA #$3F
STA $2006
LDA #$00
STA $2006
LDA sharedColor
STA $2007
I am setting the scroll at the end of NMI like so:
Code:
BIT $2000
LDA scrollX
STA $2005
LDA scrollY
STA $2005
LDA scrollX
STA $2005
LDA scrollY
STA $2005
What am I doing wrong?