qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Fix for bochs vbe issues


From: Matthew Mastracci
Subject: Re: [Qemu-devel] Fix for bochs vbe issues
Date: Wed, 28 Apr 2004 20:32:34 -0600

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 <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]