home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FreeWare Collection 2
/
FreeSoftwareCollection2pd199x-jp.img
/
ms_dos
/
fmgraph
/
g_gcrdsp.c
< prev
next >
Wrap
Text File
|
1990-06-14
|
253b
|
16 lines
#include <stdio.h>
#include <dos.h>
extern unsigned char gds_fshift;
void g_gcurdisp(unsigned char mode)
{
union REGS reg;
struct SREGS seg;
segread(&seg);
reg.h.ah=gds_fshift+0x12;
reg.h.al=mode;
int86x(0x92,®,®,&seg);
}