Bochs VGA - Bright Background Colours
Posted: Sun Aug 02, 2009 4:58 am
I am trying to implement a boot screen for my kernel by using the upper ASCII characters to create simple picture.
I read that it is possible to disable the blink attribute and allow the full 16 colours for backgrounds but it seems not to work (the text blinks instead of having a bright background).
Am I doing this wrong, or does Bochs just not support this feature of VGA.
I read that it is possible to disable the blink attribute and allow the full 16 colours for backgrounds but it seems not to work (the text blinks instead of having a bright background).
Am I doing this wrong, or does Bochs just not support this feature of VGA.
Code: Select all
// Enable bright backgrounds
{
Uint8 byte;
inb(0x3DA); // Reset flipflop
outb(0x3C0, 0x30); // Index 0x10, PAS
byte = inb(0x3C1);
byte &= ~8; // Disable Blink
outb(0x3C0, byte); // Write value
}