Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Исходники Форум Информер Страны мира
   Коммуникация    >>    ibmcom31
   
 
 IBMCom v3.0 - Communication Unit for IBM PC  Wayne E. Conrad 02.01.89

Простой коммуникационный модуль для работы с COM портами по прерываниям. Приведен пример - эмулятор терминала.
This unit is the communications port interrupt driver for the IBM-PC. It handles handles all low-level i/o through the serial port. Simple test program for IBMCOM added. Acts like a dumb terminal at a fixed speed and with no commands except for Alt-X, to exit the program. It tests the most important parts - receiving and sending characters.



6k 
 

UNIT ibmcom; {Version 3.0} {This unit is the communications port interrupt driver for the IBM-PC. It handles handles all low-level i/o through the serial port. It is installed by calling com_install. It deinstalls itself automatically when the program exits, or you can deinstall it by calling com_deinstall. Donated to the public domain by Wayne E. Conrad, January, 1989. If you have any problems or suggestions, please contact me at my BBS: Pascalaholics Anonymous (602) 484-9356 2400 bps The home of WBBS Lots of source code } PROGRAM ibmcomt; {Simple test program for IBMCOM. Acts like a dumb terminal at a fixed speed and with no commands except for Alt-X, to exit the program. Obviously, it doesn't test all of IBMCOM, but it tests the most important parts -- receiving and sending characters.} {Read a key from the keyboard. If it's an ordinary key, the ascii code is returned in ch1 and ch2 is #0. If it's a function key, ch1 is 0 and the scan code is in ch2.}