home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / diverses / mike40c / cls.c < prev    next >
Encoding:
C/C++ Source or Header  |  1986-10-23  |  217 b   |  15 lines

  1. #include <dos.h>
  2.  
  3. cls()         /* Clear the screen  */
  4. {
  5.     union REGS REG;
  6.  
  7.     REG.x.ax = 0x0600;
  8.     REG.h.bh = 0x07;
  9.     REG.x.cx = 0X0000;
  10.     REG.x.dx = 0x184f;
  11.     int86(0x10, ®, ®);
  12. }
  13.  
  14.  
  15.