VGA_ATR_NUM_PLT
unsigned char attrib_palette[VGA_ATR_NUM_PLT];
for (i = 0; i < VGA_ATR_NUM_PLT; i++) {