Re: Bochs and the Hurd
- To: Olivier Péningault <firstname.lastname@example.org>
- Cc: Robert Millan <email@example.com>, firstname.lastname@example.org
- Subject: Re: Bochs and the Hurd
- From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
- Date: Sun, 1 Sep 2002 20:26:19 +0200
- Message-id: <20020901182619.GG553@18.104.22.168>
- In-reply-to: <1030893095.924.71.camel@black_magic>
- References: <email@example.com> <20020831222134.GA19612@aragorn> <1030836270.922.213.camel@black_magic> <20020901084416.GA22283@aragorn> <1030893095.924.71.camel@black_magic>
On Sun, Sep 01, 2002 at 05:11:33PM +0200, Olivier Péningault wrote:
> The problem is that bochs considers that the 0x03c0 address is for the
> VGA card, in fact it's only a backward compability with EGA cards (if I
> remember well).
This is a very important register for VGA card programming. You must use
it to select the palette entries to use for text mode. This is relevant
if you want to use a palette different from the standard palette.
You also must use it to select some other features, like Line Graphics
Enable. Very important for me, too.
I don't know if GNU Mach's use of it is important, but I will use it in the
VGA console client. And, btw, the Linux kernel is using it as well.
It's not necessary for Bochs to emulate the PC perfectly. But on the other
hand, it shouldn't panic unnecessarily when software does things its
programmer didn't expect (like probing for some obscure hardware at the
place where VGA cards usually have their registers). Maybe they should
downgrade such things to warnings if there is reportedly real world software
hitting such conditions.
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org firstname.lastname@example.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/