home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------ */
- /* CURSORH.C */
- /* (c) 1991 Helmut Guttenberg & DMV-Verlag */
- /* ------------------------------------------------------ */
- #include <stdlib.h>
- #include <string.h>
- #include <dos.h>
- #include "serv.h"
-
- void cursorhandler(unsigned ds, unsigned bx)
- {
- char *cmdstr = (char *) MK_FP(ds, bx);
- {
- /* Cursor-Form */
- int u,l;
- char *pos;
-
- pos = cmdstr;
- u = atoi(pos) + 1;
- pos = strchr(pos, ',') + 1;
- l = atoi(pos) + 1;
- setcurshape((u << 8) | (l & 0xFF));
- }
- }
- /* ------------------------------------------------------ */
- /* Ende von CURSORH.C */
-
-