So, I contacted my friend who gave me the code and he did write the code himself from an online resource. Where the online resource got the information, I do not know. However, I rewrote the routine myself using Ralf Brown's port information.
I've come to the conclusion that there is only one way to write the routine. The entire calibration consists of:
1. PIT Timer 2 initialization
2. Calibration loop checking 0x61 (bit 5)
3. 64 bit divide.
There is no room for experimentation in any of those steps. It literally comes down to about 10-15 lines of code, almost half of which are defined by the PIT programming and tsc loop - which will be the same everywhere. So I suspect any implementation of the code will appear to be the same code but with slight modifications.
The only unfortunate part about the code was the use of variable names and constant names which matched the same names and constants in linux. In fact, the constant names can only be found in the linux kernel if you do a google search. So that did rather suck and casts everything into doubt as to the original source.
Anyway, I've rewritten it and it's a handy, fast, efficient, reliable method. If anyone wants my new code, I can repost it. Alternatively, here's a detailed description of the method from University of San Francisco:
http://www.cs.usfca.edu/~cruse/cs630/lesson23.ppt
And that's enough from me! ...