Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site isucs1.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!stolaf!umn-cs!isucs1!notes From: notes@isucs1.UUCP Newsgroups: net.micro.pc Subject: Re: need help with interrupt driven seri Message-ID: <462@isucs1.UUCP> Date: Mon, 14-Oct-85 04:06:22 EDT Article-I.D.: isucs1.462 Posted: Mon Oct 14 04:06:22 1985 Date-Received: Thu, 17-Oct-85 01:27:13 EDT Sender: notes@isucs1.UUCP Organization: Iowa State University Lines: 22 Nf-ID: #R:felix:-52000:isucs1:10600013:000:756 Nf-From: isucs1!dueland Oct 7 19:53:00 1985 Serial input by way of the IBM-PC and compatible BIOS _is_ buffered. There is an MSDOS interrupt (I'm not sure which one offhand) that can return a character from the buffer, as well as return serial port and buffer status. Some compilers generate code that periodically reads characters to see if any flow control characters have been typed (Turbo Pascal does - use the {$c-} compiler directive to turn this off), and thereby throw away your buffered characters, making it seem as if they were lost. When writing your own interrupt routine be sure to re-enable the interrupts in the interrupt routine. UUCP: {okstate|umn-cs}!isucs1!dueland CSNET: dueland@iowa-state "Don't do anything I wouldn't do" - Hunter S. Thompson