From owner-freebsd-current Fri Nov 20 01:22:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09623 for freebsd-current-outgoing; Fri, 20 Nov 1998 01:22:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m2-56-dbn.dial-up.net [196.34.155.120]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09584 for ; Fri, 20 Nov 1998 01:21:57 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id LAA00535; Fri, 20 Nov 1998 11:09:52 +0200 (SAT) From: Robert Nordier Message-Id: <199811200909.LAA00535@ceia.nordier.com> Subject: Re: /boot/loader & comconsole In-Reply-To: <199811200131.SAA23560@usr09.primenet.com> from Terry Lambert at "Nov 20, 98 01:31:08 am" To: tlambert@primenet.com (Terry Lambert) Date: Fri, 20 Nov 1998 11:09:49 +0200 (SAT) Cc: rnordier@nordier.com, rock@cs.uni-sb.de, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > > Using the BIOS for configuring the serial ports gives you also only > > > 9600 bps. I usually ran the comconsole at 19200 bps. But the original > > > BIOS int 0x14 services seem only support up to 9600 bps. I did a > > > small patch on the bootblocks, so that it uses the "extended communication > > > port control" service. I don't know if good ole 386 BIOS implement this > > > routine, but it works on my machine (I think it was introduced with the > > > PS/2 PCs). > > > > I'm not sure, either, how many BIOSes support this. The documentation I > > have suggests it is PS/2-specific, though it appears it's supported on > > at least some of the machines here. > > > You can determine support by the return value from the call. > > Most BIOS support up to 115k now, at the expense of some of the > lower baud rates. > > See the Ralf Brown list for details, or any one of dozens of > books on serial I/O on the PC. I know how to detect support if I have to, dammit (and the same evidently applies to D. Rock). The actual problem is (to put it in terms sufficiently complex for a Terry to understand): For a given BIOS (where, in this context, "BIOS" may be defined as a member of that set of PC BIOSes having a maximized probability of occupying the event space), determine the likelihood of encountering viable int 0x14/0x4 support, without resorting to statistical sampling techniques. :-) -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message