From: Jason Green 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: NNTP-Posting-Host: modem-16.desitin.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.