Hiding Cursor In Text Mode

I'm doing a program which uses only text/ASCII graphics and would like to know how to hide the blinking cursor.  I'm only using the CRT unit as well.
Corey080698Asked:
Who is Participating?
 
FuzzyLogicConnect With a Mentor Commented:
Here some assembler code for what you want.

Fuzzy
0
 
FuzzyLogicCommented:
program Cursor;

var
  OldCursor:word;

begin;

  readln;

  asm
  { Save the old Cursor type }
    mov ah,03h
    mov bh,01h  { Screen page }
    int 10h
    mov word ptr OldCursor,cx

  { Set new cursor type }
    mov ah,01h
    mov cx,0FFFFh
    int 10h
  end;

  readln;

  asm
  { Restore the old Cursor type }
    mov ah,01h
    mov cx,OldCursor
    int 10h
  end;

  readln;

end.

0
 
Corey080698Author Commented:
Adjusted points to 100
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.