PPU engine hints?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
PPU engine hints?
by on (#59163)
I'm (perhaps) about to rewrite parts of my graphics engine. High compatibility isn't neccessary since I'm running my emulator on AmigaOS so I have to sacrifice some compability for speed.
Anyway, my biggest issue today is keeping track of CHR-bankswapping and how to detect changes.
I would need some ideas on how to detect nametable changes in combination of CHR-bank changes, without wasting too much CPU myself..
Doing a simple compare-loop to a deltabuffer (containing the previous frame) doesn't work properly on ROMs with CHR-bankswitching.
So, if there's anyone with some good hints for me, I'd be very grateful. :)