Hacked version of amitools Copyright Christian Vogelgsang GNU Public License V2 See https://github.com/cnvogelg/amitools/