From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJ1MM-0000SX-BE for qemu-devel@nongnu.org; Wed, 28 Apr 2004 22:33:10 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJ1Lo-0008MY-NW for qemu-devel@nongnu.org; Wed, 28 Apr 2004 22:33:07 -0400 Received: from [64.59.128.220] (helo=bpd2mo1no.prod.shawcable.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJ1Lo-0008Lq-DE for qemu-devel@nongnu.org; Wed, 28 Apr 2004 22:32:36 -0400 Received: from bpd2mi6no.prod.shawcable.com (bpd2mi6no-qfe3.prod.shawcable.com [10.0.184.161]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HWW009D3V2CDW@l-daemon> for qemu-devel@nongnu.org; Wed, 28 Apr 2004 20:32:36 -0600 (MDT) Received: from [192.168.145.99] (S01060050bae85601.cg.shawcable.net [68.145.131.109]) by bpd2mi6no.prod.shawcable.com (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0HWW00I2YV2IFK00@bpd2mi6no.prod.shawcable.com> for qemu-devel@nongnu.org; Wed, 28 Apr 2004 20:32:42 -0600 (MDT) Date: Wed, 28 Apr 2004 20:32:34 -0600 From: Matthew Mastracci Subject: Re: [Qemu-devel] Fix for bochs vbe issues In-reply-to: <1083205072.17126.1214.camel@matt> Message-id: <1083205954.17126.1229.camel@matt> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7bit References: <1083205072.17126.1214.camel@matt> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fabrice@bellard.org Cc: qemu-devel@nongnu.org And right after I sent this message, I discovered why the shutdown screen is corrupted: The VBE_DISPI_ENABLED flag wasn't getting cleared internally when VBE was disabled by the driver, causing some issues in other parts of the code that check it: } else { /* XXX: the bios should do that */ s->bank_offset = -0xa0000; + s->vbe_regs[s->vbe_index] = val; } The above makes the shutdown screen appear as expected. Matt. On Wed, 2004-04-28 at 20:17, Matthew Mastracci wrote: > Looks good. The shutdown screen is still corrupted in Windows, but > that's not a huge issue. I think that it's expecting to be back in > latched mode, but isn't setting it itself. > > One last thing to add - we need to ensure that the chain-4 mask is set > when we start up VBE mode. This will ensure that all of the planes are > written (inserted right after your chain-4 mode change): > > sr[2] |= 0x0f; -- Matthew Mastracci