delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/08/07:06:57

Message-Id: <199801081201.OAA07122@ankara.duzen.com.tr>
Comments: Authenticated sender is <mitch AT ankara DOT duzen DOT com DOT tr>
From: "S. M. Halloran" <mitch AT duzen DOT com DOT tr>
Organization: User RFC 822- and 1123-Compliant
To: "Gisle Vanem" <giva AT bgnett DOT no>
Date: Thu, 8 Jan 1998 14:02:40 +0200
MIME-Version: 1.0
Subject: Re: termio for DOS?
CC: djgpp AT delorie DOT com
In-reply-to: <199801081013.LAA28981@login-2.eunet.no>

On  8 Jan 98, Gisle Vanem was found to have commented thusly:

> > On Wed, 7 Jan 1998, Gisle Vanem wrote:
> >
> > > I'm looking for a library (freeware or commercial) that emulates the
> > > Unix termio interface. It shall be used with djgpp and possibly Borland
> > > under plain DOS. I only need the basic functionality, not all the ioctl()
> > > details.
> >
> > Please explain what do you mean by ``basic functionality''.  DJGPP has
> > termios (not termio), but it is not clear to me whether it will do for
> > your needs.
> 
> I found the djgpp emulation too ``basic'' for my needs. I need high-speed
> (~38kb) access to a COM-port. djgpp's termio supports only the console
> and doesn't make use of the __FSEXT'ensions.
> 

If you have time-critical stuff on an asynchronous serial port, you 
are going to have to use the BIOS handler interrupts.  A better 
idea is to write your own interrupt handler for 
serial data since there is a lot of variation (no standardization) 
regarding BIOS on the serial port, and older BIOSes seem to have no 
handler whatsoever.  There is plenty of (mostly assembler) code 
around explaining circular buffers and setting up the 8259 controller 
and so on.  This can get quite "complex,"  but you were the one who 
said that things right now were "too 'basic'."

Best regards,

Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara   TURKEY
mitch AT duzen DOT com DOT tr

other job title:  Sequoia's (dob 12-20-95) daddy

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019