[Overview][Procedures and functions] |
Read longints from a PC port
Source position: line 0
function ReadPortL( |
Port: LongInt |
):LongInt; |
Port: LongInt; |
var Buf; |
Count: LongInt |
); |
The procedural form of ReadPortLreads Countlongints from port Portand stores them in Buf. There must be enough memory allocated at Bufto store CountLongints.
The functional form of ReadPortLreads 1 longint from port Band returns the longint that was read.
Note that you need permission to read a port. This permission can be set by the root user with the FpIOPermcall.
|
Set permission on IO ports |
|
|
Read data from a PC port |
|
|
Read Words from a PC port |
|
|
Read bytes from a PC port |
|
|
Write data to PC port |
|
|
Write byte to PC port |
|
|
Write longint to PC port. |
|
|
Write Word to PC port |