From owner-freebsd-current Tue Mar 12 18:57:13 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA21603 for current-outgoing; Tue, 12 Mar 1996 18:57:13 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA21585 for ; Tue, 12 Mar 1996 18:57:04 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id NAA22009; Wed, 13 Mar 1996 13:52:58 +1100 Date: Wed, 13 Mar 1996 13:52:58 +1100 From: Bruce Evans Message-Id: <199603130252.NAA22009@godzilla.zeta.org.au> To: freebsd-current@freebsd.org, j@uriah.heep.sax.de Subject: Re: COMCONSOLE: a patch and a problem Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> I'll also take a look at syscons and see why it should >> be different. >syscons uses a different tty structure for the console than for VT1. 0 >Most people would hesitate if you always write back the boot block, >just to store a single bit in it. Well, van Gilluwe reports bit 2 of >the so-called ``equipment byte'' in the CMOS (offset 0x14) as >`unused'. Perhaps we could use it to store the serial console flag >there? :) The Interrupt List says: 14h - Equipment Byte ... Bit 3 Display ENabled ... Bit 2 Keyboard ENabled ... ... 14h - (AMSTRAD) BYTE user RAM checksum I have used the keyboard security lock bit. This is easy to test for (((inb(0x64) & 0x10) == 0) means locked) but has other problems (my Award BIOS hangs if the keyboard is locked and the BIOS "Halt on keyboard error" is disabled; I have to disable "Halt on disk error"). Some systems don't have keyboard security locks. Bruce