Solved

Hiding Cursor In Text Mode

Posted on 1998-08-06
3
268 Views
Last Modified: 2010-04-16
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.
0
Comment
Question by:Corey080698
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
FuzzyLogic earned 100 total points
ID: 1217270
Here some assembler code for what you want.

Fuzzy
0
 
LVL 1

Expert Comment

by:FuzzyLogic
ID: 1217271
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
 

Author Comment

by:Corey080698
ID: 1217272
Adjusted points to 100
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
A look at what happened in the Verizon cloud breach.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question