nop wrote:do you mean that only a part of the horizontal scroll offset shall be taken into account at different moments of the rendering ??
Yes. Are you familiar with the concept of "racing the beam"? The CPU and the PPU run at the same time, and the effect of writes to certain ports on the PPU shows up
immediately in the PPU pixels rendered after the write. Other writes are buffered and don't take effect until the PPU checks the buffer.
How accurate you want your emulator to be is your decision. There are
several grades of accuracy, each with its pros and cons. If you just want to get games working, go ahead and buffer horizontal scroll changes until the end of the scanline.