?
Solved

Cursor Interrupt

Posted on 1998-12-09
3
Medium Priority
?
254 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
[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:
MatthewL earned 30 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

741 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