Text Mode Cursor: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 119: | Line 119: | ||
push rdx |
push rdx |
||
mov dx,0x3d4 |
mov dx,0x3d4 ;one of VGA's Index registers controller |
||
mov al,0xa ; index 0xa is the LOW cursor shape register |
mov al,0xa ; index 0xa is the LOW cursor shape register |
||
out dx,al |
out dx,al |
||
inc dx ;VGA's data register, the data register of port 0x3d4, allows reads and writes to VGA's registers. |
|||
inc dx |
|||
mov al,0x3f ; bits 6-7 must be 0 , if bit 5 set the cursor is disable , bits 0-4 controll the cursor shape |
mov al,0x3f ; bits 6-7 must be 0 , if bit 5 set the cursor is disable , bits 0-4 controll the cursor shape |
||
out dx,al |
out dx,al |