http://delphi-hlp.ru/index.php/rabota-s-zhelezom/porty/kak-chitat-pisat-v-i-o-porty.html
Как читать/писать в I/O порты? | Delphi help