home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / pc_hw / co80 / scsetc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-11  |  243 b   |  14 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include "sc.h"
  3.  
  4. void    
  5. ScreenSetCursor(int _row, int _col)
  6. {
  7.   __dpmi_regs r;
  8.   r.h.ah = 2;
  9.   r.h.bh = 0;
  10.   r.h.dh = _row;
  11.   r.h.dl = _col;
  12.   __dpmi_int(0x10, &r);
  13. }
  14.