Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!njin!princeton!udel!rochester!cornell!uw-beaver!uw-june!june.cs.washington.edu!chou From: chou@june.cs.washington.edu (Pai Chou) Newsgroups: comp.os.msdos.programmer Subject: Code Request for using the Serial port Message-ID: <13711@june.cs.washington.edu> Date: 12 Nov 90 21:23:42 GMT Sender: chou@cs.washington.edu Reply-To: chou@june.cs.washington.edu (Pai Chou) Distribution: usa Organization: U of Washington, Computer Science, Seattle Lines: 16 Hi, I am porting a terminal emulator to the PC, but I don't have much previous experience with the PC. I am not sure how to access the serial port. How do you - reset, set baud rate, parity, etc - find how how many bytes there are left to be read - how to read/write the serial port. I am doing this in Turbo Pascal. If you have a small sample code that you can share, please send it to me. I plan to make my program public domain. Thanks Pai Chou chou@june.cs.washington.edu