Text Mode Cursor: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Finished rewriting page, added a few sections
m →‎Disabling the Cursor: fixed trivial inconsistency between C and assembly
Line 87: Line 87:


inc dx
inc dx
mov al, 0x3F ; bits 6-7 unused, bit 5 disables the cursor, bits 0-4 control the cursor shape
mov al, 0x20 ; bits 6-7 unused, bit 5 disables the cursor, bits 0-4 control the cursor shape
out dx, al
out dx, al