• C

Cursor Interrupt

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
LVL 3
pambooAsked:
Who is Participating?
 
MatthewLConnect With a Mentor Commented:
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
 
pambooAuthor Commented:
thank u.
0
 
MatthewLCommented:
Your welcome, let me know if you need any more help.

Matt
( mlynch@raptor.lethbridgec.ab.ca )
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.