Uzebox / uzebox

A retro-minimalist game console engine for the ATMega644
http://uzebox.org
126 stars 43 forks source link

Mode 3 blitter boost - RT_ALIGNED feature (aligned RAM tiles) #76

Closed Jubatian closed 7 years ago

Jubatian commented 7 years ago

This introduces a capability to have 8x8 RAM tiles aligned on 64 byte boundary, placed after the VRAM. This improves blitting performance as aligned RAM tiles need one less instruction in the critical loop. When the RT_ALIGNED compile-time option is not used to enable it, the original behaviour is retained.