home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
dskutl
/
dsktst.arc
/
CSRPOS.C
< prev
next >
Wrap
Text File
|
1985-08-06
|
640b
|
17 lines
#include "dos.h"
/******************************************************************************
* *
* locate the cursor *
* *
******************************************************************************/
csrpos(row,col) /* cursor row, col, attribute */
int *row,*col;
{
union REGS reg;
reg.h.bh = 0; /* page number */
reg.h.ah = 3; /* set csr command */
int86(0x10,®,®); /* clr the screen */
*row = reg.h.dh; /* set row number */
*col = reg.h.dl; /* set col number */
}