home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / bbs / mikes30c.arc / REVVID.C < prev    next >
Text File  |  1985-09-25  |  262b  |  17 lines

  1. highlight(c)    /* Put character on screen in reverse video */
  2. int    c;
  3. {
  4.     union REGS REG;
  5.  
  6.     REG.h.ah = 0x9;
  7.     REG.h.al = c;
  8.     REG.h.bl = 0x78;
  9.     REG.h.bh = 00;
  10.     REG.x.cx = 1;
  11.     int86(0x10, ®, ®);
  12.  
  13.     return(REG.x.ax);
  14.  
  15. }
  16.  
  17.