home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_01_03 / 1n03069c < prev    next >
Text File  |  1990-07-06  |  293b  |  22 lines

  1.  
  2.  
  3. void DisplayChar(unsigned char line, unsigned char col,
  4.              char attr, char ch)
  5.     {
  6.     union REGS r;
  7.  
  8.     r.h.ah = 2;
  9.     r.h.bh = 0;
  10.     r.h.dh = line;
  11.     r.h.dl = col;
  12.     int86(0x10,&r,&r);
  13.  
  14.     r.h.ah = 9;
  15.     r.h.al = ch;
  16.     r.h.bh = 0;
  17.     r.h.bl = attr;
  18.     r.x.cx = 1;
  19.     int86(0x10,&r,&r);
  20.     }
  21.  
  22.