home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 1 / FishNMoreVol1.bin / more / code_examples / librar / cursor.c < prev    next >
Text File  |  1989-02-08  |  384b  |  21 lines

  1. # include "dos.h"
  2. void cursor(a)
  3. int a;
  4. {
  5.     int r;
  6.     union REGS outt;
  7.     if (a==1){
  8.             outt.x.ax=15*256;
  9.             int86(16,&outt,&outt);
  10.             r=outt.x.ax/256;
  11.             if (r==7)
  12.                 outt.x.cx=3085;
  13.             else
  14.                 outt.x.cx=1543;
  15.     }
  16.     else
  17.             outt.x.cx=2340;
  18.     outt.x.ax=256;
  19.     int86(16,&outt,&outt);
  20. }
  21.