1. According to Loopy, writes to $2000 (bits 0 and 1) instantly change the NT being used. However, when I include this in my code it breaks most Nintendo games. When I remove it, it fixes most games, but of course some games don't change NT when they are supposed to. Can anyone add anything further?
2. Loopy's Skinny on NES scrolling also says that...
...if PPU and Sprites are on that the code above it executed. However, when I change it to || instead of &&, again, the games work. Is it || or &&?
3. In terms of Colour Intensity, I have read documents that provide numbers to intensify the colours when the bits are set. I was wondering how these numbers where obtained and what numbers do you use?
2. Loopy's Skinny on NES scrolling also says that...
Code:
case 257:
if( PPU.Visibility && Sprite.Visibility )
{
PPU.Address &= 0x7BE0;
PPU.Address += (PPU.TMPAddress & 0x041F);
}
break;
case 304:
if( PPU.Visibility && Sprite.Visibility )
PPU.Address = PPU.TMPAddress;
break;
if( PPU.Visibility && Sprite.Visibility )
{
PPU.Address &= 0x7BE0;
PPU.Address += (PPU.TMPAddress & 0x041F);
}
break;
case 304:
if( PPU.Visibility && Sprite.Visibility )
PPU.Address = PPU.TMPAddress;
break;
...if PPU and Sprites are on that the code above it executed. However, when I change it to || instead of &&, again, the games work. Is it || or &&?
3. In terms of Colour Intensity, I have read documents that provide numbers to intensify the colours when the bits are set. I was wondering how these numbers where obtained and what numbers do you use?