Originally Posted by jsr
That's what it's doing. Or what do you mean?
Accordingly to you some colors can be lost as first CLUT is calculated and later you doing 24 bit to 12 bit (upper nibble is copied to lower part exactly as in Amiga).
My point was that first 24 bit need to reduced to 12 bit with same approach as in AGA/ECS then next steps (or one step quantization but with 12 bit values as output).
Side to this any chance to describe EHB approach (how CLUT is created)?