home *** CD-ROM | disk | FTP | other *** search
/ FreeWare Collection 2 / FreeSoftwareCollection2pd199x-jp.img / ms_dos / fmgraph / g_gcrdsp.c < prev    next >
Text File  |  1990-06-14  |  253b  |  16 lines

  1. #include    <stdio.h>
  2. #include    <dos.h>
  3.  
  4. extern    unsigned    char    gds_fshift;
  5.  
  6. void    g_gcurdisp(unsigned char mode)
  7. {
  8.     union REGS    reg;
  9.     struct SREGS    seg;
  10.  
  11.     segread(&seg);
  12.     reg.h.ah=gds_fshift+0x12;
  13.     reg.h.al=mode;
  14.     int86x(0x92,®,®,&seg);
  15. }
  16.