qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <magnus@valinux.co.jp>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] cirrus_vga.c and win95, another one
Date: Thu, 16 Jun 2005 12:54:26 +0900	[thread overview]
Message-ID: <1118894066.10645.32.camel@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Hello,

Here comes another small fix for the cirrus code. This makes win95
(swedish version) behave correctly. I am not sure if the patch breaks
something else though. 

Have a look at the attached pictures, compare the funny looking striped
background behind the text with the correct checkered background.

Please apply.

/ magnus


[-- Attachment #2: without_patch.png --]
[-- Type: image/png, Size: 7701 bytes --]

[-- Attachment #3: with_patch.png --]
[-- Type: image/png, Size: 7385 bytes --]

[-- Attachment #4: qemu-cvs_20050616-cirrus_win95.patch --]
[-- Type: text/x-patch, Size: 643 bytes --]

Index: hw/cirrus_vga_rop2.h
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/cirrus_vga_rop2.h,v
retrieving revision 1.6
diff -u -r1.6 cirrus_vga_rop2.h
--- hw/cirrus_vga_rop2.h	26 Apr 2005 20:49:17 -0000	1.6
+++ hw/cirrus_vga_rop2.h	16 Jun 2005 02:02:23 -0000
@@ -61,8 +61,8 @@
     pattern_pitch = 32;
 #endif
     pattern_y = s->cirrus_blt_srcaddr & 7;
-    pattern_x = skipleft;
     for(y = 0; y < bltheight; y++) {
+        pattern_x = skipleft;
         d = dst + skipleft;
         src1 = src + pattern_y * pattern_pitch;
         for (x = skipleft; x < bltwidth; x += (DEPTH / 8)) {

                 reply	other threads:[~2005-06-16  3:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1118894066.10645.32.camel@localhost \
    --to=magnus@valinux.co.jp \
    --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).