Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I can't get the "bright" console colours (8-F) to work in vmware, when I use them as background colours. When I use them as foreground colours everything works fine.
The last bit in a colour does not necessarily make the colour bright if it's used as a background. There are some VGA settings that control its actual use, but I think by default it makes the text blinking rather than the background bright.
I think it has to do with the fact that emulating a VGA environment with blinking enabled is relatively slow since it requires you to draw things over and over. That and VMs/emulators tend to have slightly broken VGA suppport.
You can have a look at AC register 0x10 - blinking can be enabled and disabled and it might just be off by default.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
No - even in emulators, it's on by default. Look at the colors. It's a blinking green foreground over a green background. That's why you can't see the blinking...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Love4Boobies wrote:No - even in emulators, it's on by default. Look at the colors. It's a blinking green foreground over a green background. That's why you can't see the blinking...
I just told you that even if I set the foreground to black and the background to bright green, I get a foreground of black and background of dark green without blinking. It's not green on green, it's black on green, and it's not blinking.
Maybe it's just the emulator itself. For instance, I know that on Windows older than Vista (haven't tried on either Vista or 7) blinking doesn't work in the console, unless in fullscreen mode. QEMU's support for text mode stinks. Maybe it's Virtual PC to blame... Try writing some dummy code on a floppy disk and booting with it, to check if your blinking code works.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
CodeCat wrote:The last bit in a colour does not necessarily make the colour bright if it's used as a background. There are some VGA settings that control its actual use, but I think by default it makes the text blinking rather than the background bright.
I wouldn't worry about blinking - if it does work it's ugly anyway.
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.