qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Volker Ruppert <info@vruppert.de>
To: qemu-devel@nongnu.org, Hetz Ben Hamo <hetzbh@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] Cirrus bugfixes
Date: Thu, 14 Apr 2005 18:29:13 +0200	[thread overview]
Message-ID: <200504141829.13439.info@vruppert.de> (raw)
In-Reply-To: <41e41e7a05041314225d955409@mail.gmail.com>

Hi,

> I was wondering - is this patch affects only the ISA part of the
> Cirrus emulation?

No, this patch also affects the PCI version of the Cirrus adapter. I did my 
tests mostly with the ISA version to find out the bugs. The Win 3.11 driver 
for the CL-GD5430 seems to use more of the currently unimplemented features 
than the PCI driver for Win95 does.

> Also, forgive me for asking, but why do you use the ISA
> implementation? I'm sure there are drivers for both win 3.11 and
> win95/98 for the PCI Cirrus..

I know that there are drivers for PCI and I'm using the Qemu PCI system for 
Win95/98, but using Win3.11 on ISA was the best way to find out how the 
bitblt destination write mask should work.
Here is the list of changes with some additions:

 - partial implementation of the destination write mask (bit 7 unhandled)

   This affects ISA and PCI on Win3.1x,Win9x and maybe others. It fixes the
   Win95 tooltips and the Borders of selected items on Win3.11 with Calmira
   II. This is the most important part of the patch.

 - fixed banked memory access of the ISA version

   This description is wrong. Banked memory access is possible on PCI, too,
   but the PCI drivers usually using the LFB.

 - the bus type bits in sequencer reg 0x17 must be readonly

   Without this change the bus type bits can be changed by software. This
   shouldn't happen. The Cirrus driver for Win3.11 probes this register and
   tries to overwrite these bits (switches from ISA to PCI).

 - fixed destination write mask in debug message

   This bugfix made it possible to find the other bugs. First I was wondering
   why the value was always 0, but I expected something else.

--
Bye

Volker

      reply	other threads:[~2005-04-14 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 20:48 [Qemu-devel] [PATCH] Cirrus bugfixes Volker Ruppert
2005-04-13 21:22 ` Hetz Ben Hamo
2005-04-14 16:29   ` Volker Ruppert [this message]

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=200504141829.13439.info@vruppert.de \
    --to=info@vruppert.de \
    --cc=hetzbh@gmail.com \
    --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).