/* SMARTEDIT - A general purpose editor for text files. Copyright (C) 1999 Prashant TR B-42, Kudremukh Colony, II Block, Koramangala, Bangalore - 560034. This program is freeware. You are free to modify and/or redistribute them under the terms of the GNU General Public License version 2.0 or later. Read the file COPYING for the license. The file COPYING.TR contains details about the distribution of this software. */ /* ID for this file. */ #define _VIDEO_C_ #include "editor.h" void setcursortype(int type) { __dpmi_regs regs; if (!type) { regs.h.ah = 1; regs.h.ch = -1; regs.h.cl = -1; __dpmi_int(0x10, ®s); } else if (type == 1) { regs.h.ah = 1; regs.h.ch = 14; regs.h.cl = 15; __dpmi_int(0x10, ®s); } else if (type == 2) { regs.h.ah = 1; regs.h.ch = 0; regs.h.cl = 15; __dpmi_int(0x10, ®s); } }