Unmodified code from official/broken Billion 7800NL source code dump