Create a lookup table for ULA, updated only when palette or ULA params change. Unfortunately slows down Elite by ~15%
Merge branch 'master' into video_defer_ulapal
Actually recalc the palette on demand
Another attempt with loop unrolling
Grab bag of optimization tweaks. Still no consistent video improvement