I read nesdevwiki PPU Scrolling and loopy documents and I have implemented the behaviors...
However I would like to understand how really works the loopy_v on scanline rendering....
I mean during the 256 pixels how can I deal with nametable address , attribute address?
Imagine that we are rendering the bg (nametable) so:
We firstly will made a 256 loop...
for (int pixel = 0 ; pixel < 256 ; pixel++ ){
How do I know which nametable address is? (taking the D0-D11 as loopy suggest... gives me a 0x0020) and attribute?
However I would like to understand how really works the loopy_v on scanline rendering....
I mean during the 256 pixels how can I deal with nametable address , attribute address?
Imagine that we are rendering the bg (nametable) so:
We firstly will made a 256 loop...
for (int pixel = 0 ; pixel < 256 ; pixel++ ){
How do I know which nametable address is? (taking the D0-D11 as loopy suggest... gives me a 0x0020) and attribute?