From owner-freebsd-hackers Tue Sep 10 14:42:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16730 for hackers-outgoing; Tue, 10 Sep 1996 14:42:39 -0700 (PDT) Received: from ekeberg.sn.no (ekeberg.sn.no [194.143.8.8]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA16723 for ; Tue, 10 Sep 1996 14:42:32 -0700 (PDT) Received: from ralingen111.telepost.no (ralingen111.telepost.no [193.212.209.90]) by ekeberg.sn.no (8.7.5/8.7.3/on4) with SMTP id ; Tue, 10 Sep 1996 23:38:17 +0200 (MET DST) X-Authentication-Warning: ekeberg.sn.no: Host ralingen111.telepost.no [193.212.209.90] didn't use HELO protocol Message-ID: <32365C0A.B12@sn.no> Date: Tue, 10 Sep 1996 23:28:26 -0700 From: Arve Ronning Reply-To: arver@sn.no, Arve.Ronning@alcatel.no X-Mailer: Mozilla 2.0 (Win16; I) MIME-Version: 1.0 To: Bruce Evans CC: Arve.Ronning@alcatel.no, freebsd-hackers@freebsd.org Subject: Re: Support for fixed-scan monitors References: <199609091752.DAA23576@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > [Arve wrote:] > > >However, what if the screen used by BIOS is on a monitor which doesn't accept the > >default scan rates (my situation) ? During boot, we would not see : > >a) the BIOS messages > >b) the '>> FreeBSD....Boot:' prompt > >In this case, there is little we can do about a) (except perhaps hack the BIOS :(. > >But we *can* do something about b) by hacking the bootblocks (which is what I did:). > > How do you stop the BIOS from blowing up the monitor that doesn't accept > normal scan rates? :-). Don't switch on the monitors main power until *after* X has been started. (there's a MDA/Hercules monitor where I can see what I'm doing, remember:). > > I deleted your mail with the bootblock changes. How does it set to mono > mode? Does it just set mode 7? I'm surprised that you can't set the > value in the CMOS. > It does: byte *(0:0x410) |= 0x30; Then uses int 0x10 to set mode 7, cursor position & shape. I'm surprised too that this can't be done simply by entering setup and telling BIOS to use the MDA/Herc. But (as I've said in an earlier mail), the BIOSes I've tried failed either by silently reverting to VGA or by failing to initialize both screen adapters properly on the next power-on boot. Now, this may just be caused by my bad luck, but I tried it with two different MDAs and a ISA VGA on two different BIOSes and with one of the MDAs and a PCI VGA on a third BIOS. No go :(. I'm not complaining about BIOSes. What I'm saying is simply : don't expect any BIOS to function properly in this area. Regards - Arve