Solved

Cursor Interrupt

Posted on 1998-12-09
3
242 Views
Last Modified: 2010-04-15
I am creating an editor in C.I want to know how show the cursor position.I think we can get it from calling the interrupt value.Please Explain with the Interrupt value
0
Comment
Question by:pamboo
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
MatthewL earned 10 total points
ID: 1254979
Hi pamboo;

INT 10h, AH=03h  will get the current cursor position on IBM PCs

before the call:
BH = display page

after the call:
CH = starting line for cursor
CL = ending line for cursor
DH = row
DL = col              

Matt
0
 
LVL 3

Author Comment

by:pamboo
ID: 1254980
thank u.
0
 
LVL 1

Expert Comment

by:MatthewL
ID: 1254981
Your welcome, let me know if you need any more help.

Matt
( mlynch@raptor.lethbridgec.ab.ca )
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SCANF - LIMIT THE NUMBER OF CHARARACTERS 1 60
Console based application in Linux 1 84
Need example 5 108
Grammars for C C++ and java 1 114
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now