Thread overview
Looking For Serial Communications Library
Jul 25, 2002
Adriano Baglioni
Jul 25, 2002
Cesar Rabak
Jul 30, 2002
Adriano Baglioni
Jul 30, 2002
Cesar Rabak
Jul 26, 2002
Heinz Saathoff
Jul 30, 2002
Adriano Baglioni
Re: Looking For Serial Communications Library - RS232-X.zip [1/1]
Jul 31, 2002
Heinz Saathoff
July 25, 2002
Hi All:

I am looking for a serial communications library for the DOS/32 environment.  I am maintaining an old DOS lab program (as in, 16-bit real mode!), and it is getting too big to fit in 640K(*).  I would like to get it to run in DOS/32, but I need interrupt driven communications to the serial ports.  Does anyone have any recommendations?

Thank you very much for your time!


(*) Yes, I have considered getting it to run under Linux, or Win/32, or...  For mostly logistical reasons, this is impractical.  DOS it must be.

Adriano Baglioni
Principal Software Engineer
Veeder-Root Co.
July 25, 2002
Adriano Baglioni wrote:
> 
> Hi All:
> 
> I am looking for a serial communications library for the DOS/32 environment.  I
> am maintaining an old DOS lab program (as in, 16-bit real mode!), and it is
> getting too big to fit in 640K(*).

I did not check if it is exactly what you're are looking forĀ¹, but have you looked at the \dm\SAMPLES\DOS\X32\ subdir in your installation?

Four files there start with serial (two are assembly files, so I surmise you'll need to go after a version of MASM in the Net, not exactly a big problem).

HTH

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/

[1] however you get this for free ;-)
July 26, 2002
Adriano Baglioni schrieb...
> I am looking for a serial communications library for the DOS/32 environment.  I am maintaining an old DOS lab program (as in, 16-bit real mode!), and it is getting too big to fit in 640K(*).  I would like to get it to run in DOS/32, but I need interrupt driven communications to the serial ports.  Does anyone have any recommendations?

I've writen a small interrupt driven C-module for DOSX that I use in my
apps since years. It doesn't need ASM.
If you are interested I can mail it to you as source files.

Regards,
	Heinz

July 30, 2002
Dear Heinz,

Thank you very much for your offer!  I would greatly appreciate the source code! It would help me keep this program working.

Thank you,

Adriano Baglioni


In article <MPG.17ab0f4023d2a23e9896ab@news.digitalmars.com>, Heinz Saathoff says...
>
>Adriano Baglioni schrieb...
>> I am looking for a serial communications library for the DOS/32 environment.  I am maintaining an old DOS lab program (as in, 16-bit real mode!), and it is getting too big to fit in 640K(*).  I would like to get it to run in DOS/32, but I need interrupt driven communications to the serial ports.  Does anyone have any recommendations?
>
>I've writen a small interrupt driven C-module for DOSX that I use in my
>apps since years. It doesn't need ASM.
>If you are interested I can mail it to you as source files.
>
>Regards,
>	Heinz
> 


July 30, 2002
Dear Cesar:

Thanks for the pointer.  I had trouble finding the files.  When I expanded the x32.zip file into \dm, the files ended up in \dm\examples, rather than \dm\samples\dos\x32.  I looked in \dm\samples\dos, and the only directory there is "piano".  I double checked the CD, and the files are not there.  Hmm. Anyway, I did find them, and they do work.  They are pretty, ah, minimal, however.  They don't allow setting the port parity, data bits, or stop bits at run time (you can change the compile time constant that is jammed into the register, but I need run time initialization).  Maybe I'll change the code and send it to Digital Mars...  Another reader has offered me some code, so I'll take a look at that first.

Thanks!
Adriano

In article <3D402C17.E4ED039E@uol.com.br>, Cesar Rabak says...
>
>Adriano Baglioni wrote:
>> 
>> Hi All:
>> 
>> I am looking for a serial communications library for the DOS/32 environment.  I
>> am maintaining an old DOS lab program (as in, 16-bit real mode!), and it is
>> getting too big to fit in 640K(*).
>
>I did not check if it is exactly what you're are looking forĀ¹, but have you looked at the \dm\SAMPLES\DOS\X32\ subdir in your installation?
>
>Four files there start with serial (two are assembly files, so I surmise you'll need to go after a version of MASM in the Net, not exactly a big problem).
>
>HTH
>
>-- 
>Cesar Rabak
>GNU/Linux User 52247.
>Get counted: http://counter.li.org/
>
>[1] however you get this for free ;-)


July 30, 2002
Adriano Baglioni wrote:
> 
> Dear Cesar:
> 
> Thanks for the pointer.  I had trouble finding the files.  When I expanded the x32.zip file into \dm, the files ended up in \dm\examples, rather than \dm\samples\dos\x32.  I looked in \dm\samples\dos, and the only directory there is "piano".  I double checked the CD, and the files are not there.  Hmm. Anyway, I did find them, and they do work.  They are pretty, ah, minimal, however.  They don't allow setting the port parity, data bits, or stop bits at run time (you can change the compile time constant that is jammed into the register, but I need run time initialization).  Maybe I'll change the code and send it to Digital Mars...  Another reader has offered me some code, so I'll take a look at that first.
> 
> Thanks!

You're welcome Adriano! And yes, if you can, add this functionality and send back to DM so the product gets more useful.

-- 
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/
July 31, 2002
Adriano Baglioni schrieb...
> Dear Heinz,
> 
> Thank you very much for your offer!  I would greatly appreciate the source code! It would help me keep this program working.
> 

I tried to send you the source by personal e-mail but the mail came back
with
  ... while talking to mail.pathlink.com.:
  >>> RCPT To:<Adriano_member@pathlink.com>
  <<< 550 <Adriano_member@pathlink.com>... User unknown
  550 <Adriano_member@pathlink.com>... User unknown

Because the source is small as ZIP file I've attached it to this reply and hope it works.

-Heinz