home *** CD-ROM | disk | FTP | other *** search
- /**
- *
- * Name mohard - Set mouse hardware text-mode cursor
- *
- * Synopsis ercode = mohard(high,low);
- *
- * int ercode Error return code:
- * MO_OK if successful;
- * MO_ABSENT if mouse not found.
- * int high,low High and low scan line values.
- *
- * Description This function links the mouse's text mode cursor to the
- * display adapter's blinking hardware cursor (but not to
- * the BIOS's recorded cursor location). It also turns the
- * software cursor effects off.
- *
- * Use MOSOFT to make the text-mode cursor be generated
- * from software.
- *
- * Returns ercode Error return code:
- * MO_OK if successful;
- * MO_ABSENT if mouse driver not installed.
- * b_mouse Number of mouse buttons (0 if no driver).
- *
- * Version 6.00 (C)Copyright Blaise Computing Inc. 1989
- *
- **/
-
- #include <bmouse.h>
-
- int mohard(high,low)
- int high,low;
- {
- DOSREG regs;
-
- regs.ax = 10;
- regs.bx = 1;
- regs.cx = high;
- regs.dx = low;
- return mogate(®s,®s);
- }