Hi Edward,
I found a slight (but perhaps significant) difference in hardware
configurations, and here's how you fix that.
Find uc_after_set_var() in unichrome.c
Add the line marked with ++ below (except the ++ themselves of course).
(I removed the code comments for clarity.)
static void uc_after_set_var(void* drv, void* dev)
{
UcDriverData* ucdrv = (UcDriverData*) drv;
VGA_OUT8(ucdrv->hwregs, 0x3c4, 0x1a);
VGA_OUT8(ucdrv->hwregs, 0x3c5, VGA_IN8(ucdrv->hwregs, 0x3c5) & 0xbf);
++ VGA_OUT8(ucdrv->hwregs, 0x3c5, VGA_IN8(ucdrv->hwregs, 0x3c5) | 0x4);
}
Does it help?
If you still get the same problem, please verify that the change took effect
by running the hwinfo script.
-- Extended VGA registers --
01 78 30 08 01 ae 08 1f
4e 00 1a f0 cc 00 f1 00
^^
-- Extended VGA registers --
01 78 30 08 01 ae 08 1f
4e 00 1e f0 cc 00 f1 00
^^
The number 1A (3rd from the left on line 2) should now be 1E.
Regards,
Andreas
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.