Информационный сервер для программистов: Исходники со всего света. Паскальные исходники со всего света
  Powered by Поисковый сервер Яndex: Найдется ВСЁ!
На Главную Pascal Форум Информер Страны мира
   Коммуникация    >>    async
   
 
 Async - Multi-Port Serial Unit  Patrick Hunlock 19.10.1994

Объектно-ориентированный многопортовый коммуникационный модуль. Поддерживает до 4х портов (два одновременно), скорость до 110000 бод.
A multi-port serial unit that supports baudrates up to 110,000



8k 
 

This unit was written by Patrick Hunlock, 10/19/1994 Copyright @ 1994 by Patrick Hunlock - all rights reserved Software License Agreement: If you use this unit you are bound by it's terms. you may use this unit in your programs without royalties. if you use this unit my name and the copyright notice must appear beneath your name and copyright notice even if you have made significant alterations to the source code in this unit. this source code may only be transmitted via the telephone system. it may not be distributed on any magnetic, optical, or any future computer media format without prior consent of the copyright holder. no charge may ever be levied for the receipt of this source code other than normal phone charges and/or normal connect charges on a bbs which charges for access. any charges above and beyond what would be considered normal access charges to download this source is considered a sale of this source code which is expressly prohibited by this license agreement. you may distribute this source code via the telephone system (i.e. bbs or computer network) in it's original form only, you may not add or subtract to/from it in any way shape or form. This ASYNC unit implements a COMPLETE multi-port serial interface wrapped in a turbo pascal object. Baud rates up to 110,000 are supported. Up to four ports may be opened at a time, up to two ports may be active at any given time (four can be active so long as they do not share interrupts). Some considerations. A com port which shares the same interrupt as a serial mouse will over-ride the mouse driver for the duration of the program. If you have a mouse on Com1, avoid using Com3 in your program. Likewise if you have a mouse on Com2, avoid using Com4 in your program. A mouse on a BUS card will not be affected by this unit. Default addresses for the 4 com ports dictate that com1 & com3, and com2 & com4 share an interrupt on the system bus. As such while you can open both ports, make sure that only - ONE of the ports on the shared interrupt has been .ENABLED at any one time. See the .ENABLE and .DISABLE procedures for more information.