Category : C Source Code
Archive   : TC130.ZIP
Filename : GETPOS.DOC
NAME
getpos -- get current cursor position
SYNOPSIS
position = getpos(page);
unsigned int position; returned position
int page; video page to check
DESCRIPTION
Returns the row and column of the cursor on the specified
video page. Row is in upper 8 bits of returned integer
and column in lower 8 bits. Values are in binary.
EXAMPLE
unsigned int position;
short row, column;
position = getpos(0); /* on video page 0 */
row = (position >> 8) & 0xff;
column = position & 0xff;
This function is found in SMTCx.LIB for the Turbo-C Compiler
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/