ccOUTSb(Port:Word,Source:Pointer,Counter:Uint)
ccOUTSw(Port:Word,Source:Pointer,Counter:Uint)
ccOUTSd(Port:Word,Source:Pointer,Counter:Uint)
Port - Address of a port
Source - Pointer to a memory block
Counter - Amount of bytes,words or dwords to be send
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()