Get Cursor Position formula
Posted: Sat Mar 27, 2004 8:43 am
hello,
I'm trying to program my own routine to get the cursor position.
Some days ago, I saw here a piece of code that does the same thing but in my OS I use two different registers for columns and rows.
What I need is the formula to do this (for example to move the cursor: newposition=column+row*80).
Thanks.
I'm trying to program my own routine to get the cursor position.
Some days ago, I saw here a piece of code that does the same thing but in my OS I use two different registers for columns and rows.
What I need is the formula to do this (for example to move the cursor: newposition=column+row*80).
Thanks.