Hi,
i want to set the foreground-color (text) to black and the background-color to white. In QEMU it works, because it not supports blinking (maybe because of my settings), but on a real Computer is no black on white, but blinking-black on light-grey. How can i disable blinking or make the background with a other method white ? The code i use is 0xF0 in my video-driver.
It should be white instead of blinking....
Re: It should be white instead of blinking....
Hi,
It's easy to disable this blinking (and have 16 background colours instead) if you're in real mode:
For reference, see the details for this BIOS function.
Cheers,
Brendan
On standard VGA cards in text mode, bit 7 of the attribute normally controls blinking, so you can only have 8 background colours.Nils wrote:i want to set the foreground-color (text) to black and the background-color to white. In QEMU it works, because it not supports blinking (maybe because of my settings), but on a real Computer is no black on white, but blinking-black on light-grey. How can i disable blinking or make the background with a other method white ? The code i use is 0xF0 in my video-driver.
It's easy to disable this blinking (and have 16 background colours instead) if you're in real mode:
Code: Select all
xor bx,bx
mov ax,0x1003
int 0x10
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact: