Bit-accurate C port of Fasttracker's XM replayer (SB16/WAV render mode). This is a direct port of the original asm/Pascal source codes.