delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/10/18:45:25

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: BIOS serial port int 14h
Date: Thu, 10 Aug 2000 23:37:22 +0100
Organization: Customer of Energis Squared
Lines: 24
Message-ID: <27b6ps4acc69402935789h34eo7okvqjon@4ax.com>
References: <bkdtoso22ocpbvg54mr0gi24ogerldnjhn AT 4ax DOT com>
NNTP-Posting-Host: modem-16.desitin.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg2.svr.pol.co.uk 965947048 13371 62.136.89.16 (10 Aug 2000 22:37:28 GMT)
NNTP-Posting-Date: 10 Aug 2000 22:37:28 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

garycrowley AT musician DOT org wrote:

> I'm having trouble with the BIOS serial port routines provided by int
> 14h. I'm trying to write a really elementary BBS type program which
> takes characters from the keyboard, and throws them at a serial port;
> and vice versa, takes input from the serial port and displays them.
> 
> In an MSDOS box under Win2000, a version of this program just about
> works, although it echoed characters seem to lag behind transmitted
> characters. In MSDOS under Win98, it gives the following results;

> I'm really asking for some help here. I've seen other terminal
> emulators which directly muck around with OUTP and INP but I'd prefer
> to use int 14h. What is going wrong? My experience of programming this
> sort of thing is very small. Is there a fault with the way I'm doing
> this, or is there a problem in my Win98 configuration? A simple
> INP/OUTP BBS program works in win98.
> 
> Alternatively, can someone point me towards a small BBS program based
> on int 14h which I can adapt to my purposes?

There are a few interupt driven serial comms libraries for DJGPP (see
the FAQ).  If these don't do want you want directly the source is
available to examine and/or modify.

- Raw text -


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