Palette rotation

Palette rotation is a non-NeoGeo-specific video effect made by shifting a range of color entries inside a palette.

This effect was frequently used along auto animation for cyclic, scrolling animations (waterfalls...) without having to use multiple tiles, saving up graphics memory and VDC time.

Example code
(You really should just load a pre baked palette entry instead of computing it)