Announced in an update video on July 6, 2023 (see
accompanying thread), as a workaround for the shortage of YM2151 ICs, some X16s will ship with a YM2164 instead; seen as a near-identical twin to the '51 with only slight differences in some obscure functions none of us use.
The Wikipedia page for the YM2164 points to
this resource, where the differences are described as:
- The TEST register (wholly unuseful to programmers except for a single bit for resetting the LFO) was moved from register 1 to register 9.
- Timer B has double the period on the '64 compared to the '51. If you use Timer B on the FM chip, you'd need to know which you have.
- There are 8 undocumented registers at registers 0-7, whose function is unknown.
This resource from msx.org describes some feature enhancements the '64 has over the '51, but also shows a completely rearranged register layout! Since the team observed that existing games play correct audio, my guess is that this is an OPL2/OPL3 situation, where the '64 starts in a '51-compatible mode, and there's a register for changing the chip into '64 enhanced mode, or one of the pins on the '64 has become a mode-select pin.
This seems to be all the info available from a cursory search. It sounds like if we just assume we're working with a YM2151, things will just work out regardless of which chip you actually have.