M_DAC_VAL
mga_outb(M_DAC_VAL, red);
mga_outb(M_DAC_VAL, green);
mga_outb(M_DAC_VAL, blue);
mga_outb(M_DAC_VAL, hw->DACpal[i]);