ccOUTSb(Port:Word,Source:Pointer,Counter:Uint,OPT Direction = 1:Schar)
ccOUTSw(Port:Word,Source:Pointer,Counter:Uint,OPT Direction = 1:Schar)
ccOUTSd(Port:Word,Source:Pointer,Counter:Uint,OPT Direction = 1:Schar)
Port - Address of a port
Source - Pointer to a memory block
Counter - Amount of bytes,words or dwords to be send.
Direction -
1 = 'Source' will be incremented.
-1 = 'Source' will be decremented.
None
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")
DEF Source AS Pointer
Source = New(char,20)
ccFillb(Source,20,0xFF)
ccOUTSb(0x61,Source,20)
DELETE Source
See
OI_Demo.eba
ccAllowIO()
ccSetIOPLto3()
ccInS()