Original source, idea, and implementation from http://www.hercules-390.org ALL credit goes to those guys.
This implementation is version 3.07 of that project, with hopefully as few changes as possible. The original source is in the "original source" directory of this repository.