Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 12:11:48 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: boot serial console speed 
Message-ID:  <20041114101149.9FCFA43D39@mx1.FreeBSD.org>
In-Reply-To: Message from Ruslan Ermilov <ru@freebsd.org>  of "Sun, 14 Nov 2004 11:38:50 %2B0200." <20041114093850.GE84553@ip.net.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> This is the value passed in the AL register to the Int 14/AH=3D00h
> BIOS function:
> 
> 	http://www.ctyme.com/intr/rb-0811.htm
> 
> : Bit(s) Description     (Table 00300)
> : 7-5    data rate (110,150,300,600,1200,2400,4800,9600 bps)
> : 4-3    parity (00 or 10 =3D none, 01 =3D odd, 11 =3D even)
> : 2      stop bits (set =3D 2, clear =3D 1)
> : 1-0    data bits (00 =3D 5, 01 =3D 6, 10 =3D 7, 11 =3D 8)
> 
> 0xE3 =3D 111-00-0-11 =3D 9600 bps, no parity, 1 stop bit, 8 data bits
> 
> But I think it's not possible to set it to anything above 9600 bps
> using this BIOS call.

yes, you are probably correct. Assuming then, that if we want speeds above
9600bps,  and assuming that the bios set the bauds correctly,
how about setting BOOT_BOOT0_COMCONSOLE_SPEED=0 and if so
in boot0.S

#if defined(SIO) && COMSPEED != 0
/*
 * Initialize the serial port.  bioscom preserves the driver number in DX.
 */
		movw COMSPEED,%ax		# defined by Makefile
		callw bioscom
#endif




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114101149.9FCFA43D39>