I use the VGA IO ports to update the cursor position, and this works fine. However, my cursor doesn't not blink

It's just a fixed line, and I can't seem to figure out which register I need to write to, to set it in "blink" modus...
Code: Select all
void con_enableCursor() {
unsigned char value;
outb(0x3d4, 0x0a);
value = inb(0x3D5);
outb(0x3d4, 0x0a);
outb(0x3d5, value|0x20);
}
Voltak:VolTeK wrote:
That's what counts.sithlord2 wrote:Nevertheless, a good try to insinuate that I didn't use google to check first, but trust me, I did
Tip of the day: don't trust emulators when it comes to accurate VGA emulation. Always test those things on real hardware.I'm doing this in VirtualBox, so there might be a posssibility that the virtual vga-adapter defaults to a non-blinking cursor?
+1
Quote:
I'm doing this in VirtualBox, so there might be a posssibility that the virtual vga-adapter defaults to a non-blinking cursor?
Tip of the day: don't trust emulators when it comes to accurate VGA emulation. Always test those things on real hardware.