qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Re: NE2K PCI and Windows 98SE & Cirrus Logic
Date: Wed, 09 Jun 2004 22:16:16 +0200	[thread overview]
Message-ID: <40C77010.4090500@bellard.org> (raw)
In-Reply-To: <1086686104.15335.6.camel@pcgem.rdg.cyberkinetica.com>

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.

  parent reply	other threads:[~2004-06-09 20:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08  8:18 [Qemu-devel] Re: Re: NE2K PCI and Windows 98SE & Cirrus Logic Mike Nordell
2004-06-08  9:15 ` Antony T Curtis
2004-06-08 12:18   ` Derek Fawcus
2004-06-09 20:12     ` Fabrice Bellard
2004-06-09 20:16   ` Fabrice Bellard [this message]
2004-06-08 12:14 ` Derek Fawcus
2004-06-09 19:54   ` Fabrice Bellard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40C77010.4090500@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).