Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!dali.cs.montana.edu!milton!unicorn!n8541751 From: n8541751@unicorn.cc.wwu.edu (Where there is darkness, light) Newsgroups: comp.os.msdos.programmer Subject: Re: Interrupt Driven Serial IO... Message-ID: <1991Feb6.070153.18992@unicorn.cc.wwu.edu> Date: 6 Feb 91 07:01:53 GMT References: <8871@hub.ucsb.edu> Distribution: comp Organization: Monkey Tree Computer Services Lines: 23 gnome@lemon.ucsb.edu (Andy Perrine;6512 Segovia #313;961-7466;968-0403) writes: >I've recently been playing with doing interrupt driven serial IO. I've >consulted several books, and actually after getting all sorts of >bizarre bugs, finally have something that resembles a plain run of the >mill terminal program. The odd thing is this: Somehow keystrokes seem >to be interfering with the receiving of data. Is the keyboard >interrupt somehow interfering with my serial port interrupt? Get a copy of the book called Dos Programmer's Reference, by Microsoft Press. There's a good example of an interrupt driven terminal program. Interrupt driven means you _won't_ miss characters, as long as your program's critical regions where interrupts are turned off are sufficiently short, and your interrupt handler is also short and quick. Kris Bruland. -- Kriston M. Bruland | . . . . . . . . . . n8541751@unicorn.cc.wwu.edu | . . . . . . . . . 8541751@nessie.cc.wwu.edu | . . . . . .