WritePortB¶
Write byte to PC port.
Declaration¶
Source position: x86.pp line 42
procedure WritePortB(Port: LongInt; Value: Byte);
procedure WritePortB(Port: LongInt; var Buf; Count: LongInt);
Errors¶
In case of an error (not enough permissions to write to this port), runtime 216 (Access Violation) will occur.See also¶
| Name | Description |
|---|---|
| FpIOPerm | Set permission on IO ports. |
| WritePort | Write data to PC port. |
| WritePortL | Write longint to PC port. |
| WritePortW | Write Word to PC port. |
| ReadPortB | Read bytes from a PC port. |
| ReadPortL | Read longints from a PC port. |
| ReadPortW | Read Words from a PC port. |