I'm having a bit of trouble interpreting the Wiki MMC5 description of ports $5120 - $512B. I'm using Castlevania III as my 'test'. I get good looking sprites but the background is sometimes good sometimes completely trash.
Code: Select all
Registers $5120-$5127 apply to sprite graphics and $5128-$512B for background graphics, but ONLY when 8x16 sprites are enabled.
Otherwise, the last set of registers written to (either $5120-$5127 or $5128-$512B) will be used for all graphics.
Does this mean that if the PPU is in 8x16 sprite mode then writes to $5128 - $512B will apply to both sprite and background? It is confusing because...this is from $5128 description:
Code: Select all
Mode 3 - Select a 1KB CHR ROM bank at PPU $0000-$03FF and $1000-$13FF
but this is from $512A description:
Code: Select all
Mode 3 - Select a 1KB CHR ROM bank at PPU $0800-$0BFF or $1800-$1BFF
Why the switch from 'and' to 'or'?
Can someone help clear me up?