Ported to AmigaOS and tested.