Well I didn't think that long. I primarily ported it for Delphi and then added fpc emulation afterwards