PIC_MASK
pic[i*2]->opl_pic = (uint32_t)(curpic & PIC_MASK);
diff = (curpic & PIC_MASK) - (uint64_t)pic[i*2]->opl_pic;