nhj@cs.bham.ac.uk (Nick Jurascheck <JurascheckNH>) (08/05/88)
Thanks to all who offered advice and/or code to solve my serial input buffering problem (for receiving replies from a video disc player). The following is a summary of the replies I received: 1) Use bios calls to int 14h (via either int86() or _bios_serialcom()). This does not buffer input and relies on speed to catch input; unfortunately this did not work for my application. 2) Get a decent device driver for the serial port, there are at least two PD versions floating around. 3) Read the 'C programmers guide to serial communications' by Joe Campbell, H. Sams & Co., publishers. 4) Buy the Greenleaf COMM library or software from Blaise. 5) Let your program take over the interupt vector and do the buffering itself, using public domain assembly code. Several people offered/sent code for this. The first version which I assembled did the job perfectly. Thanks again! nick JANET: JurascheckNH@uk.ac.bham.cs | UUCP: ...!mcvax!bhamcs!JurascheckNH BITNET: JurascheckNH%cs.bham.ac.uk@ukacrl.bitnet INTERNET: JurascheckNH%cs.bham.ac.uk@cunyvm.cuny.edu