Date: Thu, 24 Jun 1999 17:15:02 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: deleveld AT my-deja DOT com cc: djgpp AT delorie DOT com Subject: Re: Can bioscom work at 19.2 kbaud? In-Reply-To: <7kt5p9$3kd$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 24 Jun 1999 deleveld AT my-deja DOT com wrote: > I need to control two serial ports on a PC, one of which must > be at 19.2k, the other at 4800. I would like to use the bioscom > functions for this, but they appear to only go to 9600. The BIOS functions only support baudrates up to 9600. For higher rates you need to program the UART directly. > Or am I stuck with trying to use an external serial IO library like > bcserio? Why ``stuck''? IMHO, bcserio is a good library. Anyway, you don't need a library if you don't want interrupt-driven communications. If your application can settle for polling the UART, you can simply initialize the UART for your baudrate, and the read and write its ports to send/receive characters. This is very simple and should not require any library.