PCI DUAL LPT & RS232
Serial Solutions
Chapter 1 Page 5
Source code, make files and compiled ready to
run programs supplied.
TERM programs A suite of larger terminal
emulation programs written in C (Cterm),
Assembly language (Aterm), Pascal (Pasterm),
BASIC (BASterm) and FORTRAN (FORterm)
show how to access the NEWBIOS routines as
well as the simple file I/O to ports. They
contain many lines of code and are thus harder
to grasp. They demonstrate in depth serial port
programming in a variety of languages but they
are also useful tools for using serial devices.
Comtest.exe
Comtest is a short but invaluable program that is
used to check that the serial port at a particular
I/O address is functioning correctly and is
connected to the particular IRQ line. The program
correctly identifies the UART type e.g. non-
FIFO, 16550 FIFO, 16550AF FIFO and the
improved 16650 32 byte FIFO and 16750 64 byte
FIFO’s. By employing the built in loop back
capability of the PC serial port chip, a full test of
the baud rate generator, transmitting and receiving
buffer, parity enable and start stop bit is
performed. There is no need for a second serial
port or a cable when using this utility.