home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
sysutl
/
showdevs.arc
/
GETLOL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-03-11
|
383b
|
20 lines
/* This file contains a definition of the getlol() function in C.
See the file GETLOL.ASM for a description of what this file does. */
#include <dos.h>
unsigned char far *getlol()
{
union REGS regs;
struct SREGS segs;
void far *p;
regs.h.ah = 0x52;
int86x(0x21,®s,®s,&segs);
FP_SEG(p) = segs.es;
FP_OFF(p) = regs.x.bx;
return (p);
}