Text Mode Cursor: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 104: | Line 104: | ||
void disable_cursor() |
void disable_cursor() |
||
{ |
{ |
||
outb(0x3D4, 0x0A); // LOW cursor shape port to vga INDEX register |
outb(0x3D4, 0x0A); // LOW cursor shape port to vga INDEX register |
||
outb(0x3D5, 0x3f); //bits 6-7 must be 0 , if bit 5 set the cursor is disable , bits 0-4 controll the cursor shape . |
outb(0x3D5, 0x3f); //bits 6-7 must be 0 , if bit 5 set the cursor is disable , bits 0-4 controll the cursor shape . |