[comp.os.msdos.programmer] How to do asynch communications

hess@rospc1.informatik.uni-hamburg.de (Hauke Hess) (05/29/91)

Hello,

I`m trying to connect a terminal to a MS DOS Computer and learnt, that
the serial port is unbuffered. Unfortunately I`m no technichian who could
easily write an interrupt routine which buffers the COMx port. Had anyone 
did so?

Hauke Hess / University Hamburg / Germany

roy%cybrspc@cs.umn.edu (Roy M. Silvernail) (05/30/91)

hess@rospc1.informatik.uni-hamburg.de (Hauke Hess) writes:

> Hello,
> 
> I`m trying to connect a terminal to a MS DOS Computer and learnt, that
> the serial port is unbuffered. Unfortunately I`m no technichian who could
> easily write an interrupt routine which buffers the COMx port. Had anyone 
> did so?
> 
> Hauke Hess / University Hamburg / Germany

This is Dave Kessner's lib, on SIMTEL:

Directory PD1:<MSDOS.C>
LIB2.ZIP  B   18779  910324  ASYNC communications library callable from 'C'

I use it (in fact, I donated a little code to the package), and it's
darned solid!
--
Roy M. Silvernail --  roy%cybrspc@cs.umn.edu - OR-  cybrspc!roy@cs.umn.edu
  perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"'
        [space reserved for clever quote]{mail your submissions}

fijma@cs.utwente.nl (Duco Fijma) (05/31/91)

In article <hess.675506680@rospc1>, hess@rospc1.informatik.uni-hamburg.de (Hauke Hess) writes:
|> Hello,
|> 
|> I`m trying to connect a terminal to a MS DOS Computer and learnt, that
|> the serial port is unbuffered. Unfortunately I`m no technichian who could
|> easily write an interrupt routine which buffers the COMx port. Had anyone 
|> did so?
|> 
|> Hauke Hess / University Hamburg / Germany

In fact, MS-DOS does not support the serial port at all. The send/receive 
routines in the PC's BIOS do not contain much more than a in/out instruction
to the communications chip.

Device drivers which give a better support are often written and often asked 
for. Once in a while one floates through the net. You can also check the famous
ftp-sites, but I don't know any details.

Duco


+-----------------------------------------------------------------------------+
|      Duco Fijma, University of Twente, Dept. of Compter Science / SETI      |
|      P.O. Box 217, 7500 AE Enschede, The Netherlands                        |
|      tel: XX31-53-893718 fax: XX31-53-356531 email: fijma@cs.utwente.nl     |
+-----------------------------------------------------------------------------+

morgan@chaos.cs.brandeis.edu (Dylan Kaufman) (06/03/91)

In article <k4oq31w164w@cybrspc> roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:

   hess@rospc1.informatik.uni-hamburg.de (Hauke Hess) wrote:

   > Hello,
   > 
   > I`m trying to connect a terminal to a MS DOS Computer and learnt, that
   > the serial port is unbuffered. Unfortunately I`m no technichian who could
   > easily write an interrupt routine which buffers the COMx port. Had anyone 
   > did so?
   > 
   > Hauke Hess / University Hamburg / Germany

   This is Dave Kessner's lib, on SIMTEL:

   Directory PD1:<MSDOS.C>
   LIB2.ZIP  B   18779  910324  ASYNC communications library callable from 'C'

   I use it (in fact, I donated a little code to the package), and it's
   darned solid!

How about for C++? 


   Roy M. Silvernail --  roy%cybrspc@cs.umn.edu - OR-  cybrspc!roy@cs.umn.edu
     perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"'
	   [space reserved for clever quote]{mail your submissions}

it's not very "clever", but how about "Support your local Emergency
Medical Services"
--
-<>Dylan<>-                     MA EMT-M, CA EMT-1A, BEMCo 107
Dylan Kaufman 			Major in Computer Science
morgan@chaos.cs.brandeis.edu	Brandeis University, Waltham, MA
------<< Support your local Emergency Medical Services >>-------
And on the seventh day, even He rested.  We don't.  -Emerg. Med. Svcs.

phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) (06/06/91)

>   This is Dave Kessner's lib, on SIMTEL:
>
>   Directory PD1:<MSDOS.C>
>   LIB2.ZIP  B   18779  910324  ASYNC communications library callable from 'C'
>
>   I use it (in fact, I donated a little code to the package), and it's
>   darned solid!

Some alternate sources for those not able to connect to SIMTEL:

In Australia:
sol.deakin.oz.au:        18779 Mar 25 22:08 pub/PC/simtel-20/c/asynlib2.zip

In Europe:
aix370.rrz.uni-koeln.de: 18779 Mar 21 11:47 msdos/commprogs/asynlib2.zip

In North America:
isca01.icaen.uiowa.edu:  18779 Apr  5 07:39 simtel.msdos/c/asynlib2.zip
pc.usl.edu:              18779 Mar 25 18:27 pub/msdos/comm_io/asynlib2.zip
quartz.rutgers.edu:      18779 Mar 24 19:00 wuarchive/msdos/c/asynlib2.zip
wuarchive.wustl.edu:     18779 Mar 24 18:00 mirrors/msdos/c/asynlib2.zip
-- 
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil@ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/