From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BY9T8-00070Y-Og for qemu-devel@nongnu.org; Wed, 09 Jun 2004 16:14:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BY9T7-000702-7j for qemu-devel@nongnu.org; Wed, 09 Jun 2004 16:14:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BY9T7-0006zz-4l for qemu-devel@nongnu.org; Wed, 09 Jun 2004 16:14:41 -0400 Received: from [193.252.22.26] (helo=mwinf0502.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BY9SG-00084o-J2 for qemu-devel@nongnu.org; Wed, 09 Jun 2004 16:13:49 -0400 Received: from bellard.org (ATuileries-112-1-3-149.w81-48.abo.wanadoo.fr [81.48.134.149]) by mwinf0502.wanadoo.fr (SMTP Server) with ESMTP id A594EE8001D2 for ; Wed, 9 Jun 2004 22:13:47 +0200 (CEST) Message-ID: <40C77010.4090500@bellard.org> Date: Wed, 09 Jun 2004 22:16:16 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Re: NE2K PCI and Windows 98SE & Cirrus Logic References: <001801c44d31$2b1291b0$0401a8c0@putte2k> <1086686104.15335.6.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1086686104.15335.6.camel@pcgem.rdg.cyberkinetica.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Antony T Curtis wrote: > On Tue, 2004-06-08 at 09:18, Mike Nordell wrote: > >>Leigh Dyer wrote: >> >> >>>I can also confirm that the 4Mb video RAM patch committed a couple of >>>hours ago fixes the Cirrus Logic video with Win2k - it detected the >>>card at install and seems to be running quite happily with the >>>standard driver that ships with Win2k. >> >>Ah, wonderful! I just tested and can confirm it too. No more slow VGA! :-) > > > I am still having problems with WinXP ... it appears to be trying to to > vram to vram color-expand pattern bitblts starting from the first byte > after the end of the current display (ie 800x600x16bit, src = > 0x000ea600) > However, when I examine these bytes, they are always zero - which I > think is partly to blame for the display problems I am having. > > To correct this, I have to turn off all acceleration. It seems to be a bug in the Windows NT Cirrus driver. It uses pattern fill for solid fill (as on a 5430), but it does not initialize the pattern buffer correctly. I made a kludge in the device emulation by initializing the VGA memory to 0xff at boot time. A possible explanation of that problem is that NT does not recognize the VGA card as a true 5446. It may use some undocumented register to do the device probing instead of the PCI device ID. For example, I spent a long time to find that NT uses SR15 to probe the memory size (it was a bug indicated by early users...). Fabrice.