OPL3_FNUM_HIGH_MASK
*blocknum = ((freq >> 8) & OPL3_FNUM_HIGH_MASK) |
reg_val |= (unsigned char) (note->fnum >> 8) & OPL3_FNUM_HIGH_MASK;