CHAR = ccINb(Port:WORD)
WORD = ccINw(Port:WORD)
UINT = ccINd(Port:WORD)
Port - Address of a port.
Char,Word or Uint value read from the 'Port'
You have to get permission by calling ccAllowIO() for the port(s) or ccSetIOPLto3() to avoid GP error!
Think on get 1,2 or 4 I/O address permited for Byte,Word or Dword access accordingly!
ccAllowIO("0x61")
ccINb(0x61)
See
OI_Demo.eba
ccAllowIO()
ccSetIOPLto3()
ccOut()