🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3016

Code Request for using the Serial port

#3016
From: Pai Chou
Date: Mon, 12 Nov 1990 21:23
16 lines
1020 bytes
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
Technical Details
Message-ID: <13711@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!njin!princeton!udel!rochester!cornell!uw-beaver!uw-june!june.cs.washington.edu!chou

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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