This is the complete source code for the Xmegalab. It contains the complete mso.c file.
An evaluation version of the source code (only missing the mso.c file) is available at the Xmegalab's product page.
The XPL is such a neat design. I am in awe of your EE and programming skills, dude. Dave B.