LCD_PALETTE_SIZE
for (i = 0; i < LCD_PALETTE_SIZE; i++)
ri->ri_bits = (void *)(addr + LCD_PALETTE_SIZE);