Two ramps: amber and cyan
…
The palette loop writes all 256 DAC entries. Bit 6 of the index picks the ramp and bits 0-5 the level, so 128-255 repeat 0-127 and the texture byte needs no masking.