Questioning the wisdom of saying this on the public internet, but the first line of the first file has caught me up.
What is the purpose of this function, from the clock emulator:
function formatter(a) { return ((a / 10) << 4) | (a % 10);}