Dwedit wrote:Games with CHR pages missing are common. For example, one dump of Zelda 2 omits the blank CHR pages at the end. It's still treated as if it has 16 CHR pages, even though the file says 14 pages.
IIRC, there are widespread roms of Tetris 2, Smash TV, and several CNROM games with "trimmed" CHR.
As for what to put in the expanded area, some emulators just repeat the last page, and others fill it with FF's.
If PRG pages are missing, then things go bad. Some emulators like VirtuaNES repeat the last 16k page to pad it to a power of 2, while others make it FF filled, so most games won't boot.
If I were developing an emulator, I would take VirtuaNES's approach for PRG and FF-pad CHR. At least this would preserve the "last bank" semantics of U*ROM, S*ROM, T*ROM, and most other PRG mappers that have a fixed bank.