PPU engine hints?

Discuss emulation of the Nintendo Entertainment System and Famicom.
User avatar
oRBIT2002
Posts: 706
Joined: Sun Mar 19, 2006 3:06 am
Location: Gothenburg/Sweden

PPU engine hints?

Post by oRBIT2002 »

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. :)