| [Overview][Procedures and functions][Index] | 
Write Word to PC port
Source position: x86.pp line 37
| procedure WritePortW( | 
| Port: LongInt; | 
| Value: Word | 
| ); | 
| Port: LongInt; | 
| var Buf; | 
| Count: LongInt | 
| ); | 
The first form of WritePortB writes 1 byte to port Port. The second form writes Count bytes from Buf to port Port.
| Remark: | You need permission to write to a port. This permission can be set with root permission with the FpIOPerm call. | 
| 
 | Set permission on IO ports | |
| 
 | Write data to PC port | |
| 
 | Write longint to PC port. | |
| 
 | Write byte to PC port | |
| 
 | Read bytes from a PC port | |
| 
 | Read longints from a PC port | |
| 
 | Read Words from a PC port |