[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-dev
Subject:    Re: [Bochs-developers] VGA mode inaccuracies
From:       Volker Ruppert <Volker.Ruppert () t-online ! de>
Date:       2011-08-31 15:28:03
Message-ID: 201108311728.03400.Volker.Ruppert () t-online ! de
[Download RAW message or body]

Hi!

> A real VGA listens to CRT.underline.dw and CRT.modecontrol.bw registers for
> determining the memory distance between consecutive pixels. Bochs currently
> uses the chain-4 setting to switch between doubleword mode (mode 0x13) and
> byte mode (mode X) and lacks support for word mode altogether. In typical
> Mode X setup code, the three writes are always present together even though
> "chain-4" is the only write with the actual status of fame. Bug can be
> reproduced by only changing chain-4 which changes the actual image rendered
> in bochs, but not on real hardware.
>
> Attached patch fixes this behaviour.

Do you have a test case for the word mode? The patch looks okay, but I don't 
want to apply it without running a test here. The new graphics snapshot stuff 
needs to be fixed, too. With a test case I can do this step myself to make 
the patch complete.

--
Thanks

Volker

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
bochs-developers mailing list
bochs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic