stupid stupid stupid
order of processing of low and high byte bits for changed palette was wrong.
Thus colors were wrong if bits in both bytes were set...
fixed.zip
Managed to get packing working. But it is too slow. But fits in 500k.
For some reason the colors are not 100% right. Close, but not completely correct.
packed.zip