Write byte to I/O port.
Source position: go32.pp line 169
procedure outportb( |
port: Word; |
data: Byte |
); |
Sends 1 byte of data to the specified I/O port.
Parameters:
Return values: None.
None.
|
Read byte from I/O port. |
|
|
Write longint to I/O port. |
|
|
Write word to I/O port. |
{ This example demonstrates the use of the outport functions. It simply turns the PC's internal speaker on for 50 ms and off again } uses crt, go32; begin { turn on speaker } outportb($61, $ff); { wait a little bit } delay(50); { turn it off again } outportb($61, $0); end.