Mail Archives: djgpp/2000/08/10/18:45:25
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 -