modify bmp.c so that it get palette in building time
initial paint mode
basically finished, compile succeed