The I/O port access is done via the various inportb, outportb functions which are available. Additionally Free Pascal supports the Turbo Pascal PORT[]-arrays but it is by no means recommened to use them, because they're only for compatibility purposes.
See also: outportb, inportb, PORT[]-arrays