INPI/O FunctionWindows/Unix

A device I/O function that returns the byte value read from an I/O port.

Syntax: INP(port)
A% = INP(&H3C9)

Port is any word value between 0 and 65535. Return value is in the range 0 to 255.  This keyword is stable for Windows 95 and Win 98 only. Can give you a memory protection fault on later versions of Windows. For later windows versions, tryutilities like PorkTalk or io.dll instead.