The core blitter template can be more aggressively tweaked when being instantiated based on the ENGINE_MODE.
Planned optimizations are
Remove the right_odd test and the bit test in odd_exit if TWO_LAYER and DYN_TILES are not set
Fix the snippet code based on ENGINE_MODE and put the AND #MASK / ORA #DATA instructions at fixed offsets. This will eliminate almost all of the work done in the CopyMaskedWord macro and significantly improve deferred sprite rending on complex tiles.
The core blitter template can be more aggressively tweaked when being instantiated based on the ENGINE_MODE.
Planned optimizations are
right_odd
test and thebit
test inodd_exit
if TWO_LAYER and DYN_TILES are not setAND #MASK / ORA #DATA
instructions at fixed offsets. This will eliminate almost all of the work done in theCopyMaskedWord
macro and significantly improve deferred sprite rending on complex tiles.