LD-89 Handle all types of ports (not just int)