I had a quick glance. And my first thoughts for gaining speed are:
Bkg slower scrolling layer, seems that it could do with just 8 colors. Copper sky alone make it look colorful.
As I see you use BBlits. At least fixed animated tiles could be faster QBlits.
Code is 710kb.. seems quite big.. sorry for sounding stupid and asking obvious but did you toggle 'make smallest code' and toggle off 'debug'?
And as I play only on real cd32(with fastRAM) if you'd make a version with cdda you'd probably gain a lot of speed not emulating nes apu.
Maybe than you could make wider viewport, but I read it causes some other headackes so whatever.. It looks good as is.