Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!shelby!mcnc!uvaarpa!murdoch!usenet From: jvb7u@Virginia.EDU Newsgroups: comp.os.msdos.programmer Subject: Re: Generating a serial port interrupt Keywords: msdos serial port interrupt Message-ID: <1991Feb28.182455.18954@murdoch.acc.Virginia.EDU> Date: 28 Feb 91 18:24:55 GMT Sender: jvb7u@Virginia.EDU Organization: Department of Astronomy, University of Virginia Lines: 23 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: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