unsigned char inport (unsigned int addr);

Read a value from a Z80 I/O port. The full 16 bit address is used. The only known MTX add-on which makes use of the high byte of the address is Speculator.

Include file: ioport.h