ccOUTS

Syntax

ccOUTSb(Port:Word,Source:Pointer,Counter:Uint)
ccOUTSw(Port:Word,Source:Pointer,Counter:Uint)
ccOUTSd(Port:Word,Source:Pointer,Counter:Uint)

Description

Send 'Counter' bytes,words or dwords to 'Port' from memory 'Source'

Parameters

Port - Address of a port
Source - Pointer to a memory block
Counter - Amount of bytes,words or dwords to be send

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("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()