[comp.os.msdos.programmer] Generating a serial port interrupt

jvb7u@Virginia.EDU (03/01/91)

I suspect that it would be much easier to use the parallel port for what
you want to do.  I believe that you can directly drive the interface to
generate an interrupt.  Take a look at the book:

  The IBM personal computer from the inside out / Murray Sargent III and
  Richard L. Shoemaker. -- Rev. ed. -- Reading, Mass. :
  Addison-Wesley Pub. Co., c1986.

for more information.  Also, a nice piece of code to hack up for general
hardware interrupt control (or use it as-is for serial interrupt control)
under MicroSoft C is:

PD1:<MSDOS.C>ASYNCPEC.ARC	Interrupt-driven async comm rtns for MSC 5.x

available from wmsr-simtel.army.mil
(or mirrors/msdos/c/asyncpec.arc on wuarchive.wustl.edu).

Jon
--
Jon Brinkmann					Astronomy Department
Internet:	jvb7u@Virginia.EDU		University of Virginia
UUCP:		...!uunet!virginia!jvb7u	P.O. Box 3818
SPAN/HEPnet:	6654::jvb7u			Charlottesville, VA 22903-0818

big@vlsi.polymtl.ca (Patrick Drolet) (03/04/91)

I beleive the best way to drive serial port would be via a Fossil driver such
as X00.  One good thing about X00 is that it work... it always work, and it
is very stable.  Take a look at it.  File is X00v1xx.zip where xx is the version number (current version is 1.24), and it's available on WUARCHIVE or SIMTEL


						Patrick Drolet
						big@info.polymtl.ca