Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_hostess()</b> - configure comtrol hostess card. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_hostess() - configure Comtrol Hostess card.

   tp_hostess(nAddress, nIRQ)

   nAddress    Status port address.
   nIRQ        IRQ (interrupt request) number.

   Configures Telepathy to recognize a Comtrol Hostess multi-port serial
   card.  nAddress is the decimal I/O base address for the card's status
   port, and nIRQ is the card's IRQ number.  After calling tp_hostess(),
   you must set up each port on the card with tp_setport() before it can
   be used.

   Example:

       tp_hostess(768, 2)      // Card at 300h, IRQ 2
       for i := 1 to 4
           tp_setport(i, 768 + 8 * (i-1), 2, i - 1)
       next

See Also: tp_pcserial() tp_setport()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson