home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
jazlib.arc
/
JZGETCUR.C
< prev
next >
Wrap
Text File
|
1986-04-06
|
790b
|
23 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzgetcur.c │
│Return the cursor location and size. │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzgetcur(frow,fcol,fstart,fend)
int *frow,*fcol,*fstart,*fend;
{
union REGS winreg,woutreg;
winreg.h.bh = 0; /* page 0 */
winreg.h.ah = 3;
int86(0x10,&winreg,&woutreg);
*fstart = woutreg.h.ch;
*fend = woutreg.h.cl;
*frow = woutreg.h.dh;
*fcol = woutreg.h.dl;
}