ccOUT

Syntax

ccOUTb(Port:WORD,Value:Char)
ccOUTw(Port:WORD,Value:Word)
ccOUTd(Port:WORD,Value:Uint)

Description

Send the 'Value' to the 'Port'

Parameters

Port - Address of a port.
Value - What to send to the port.

Return value

None

Remarks

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!

Example usage

ccAllowIO("0x42")
ccOUTb(0x42,0xA0)

See
OI_Demo.eba
ccAllowIO()
ccSetIOPLto3()
ccIN()