#include <dos.h>

del_cur()  /* Make cursor disappear */
{
    union REGS REG;

    REG.h.ah = 01;
    REG.h.ch = 0x26;
    REG.h.cl = 7;
    int86(0x10, &REG, &REG);
}

restor_cur()  /* Put cursor back on screen */
{
    union REGS REG;
    unsigned	st, en;

    if (get_mode() == 7)   /* check for monochrome */
        st = 12, en = 13;
    else
        st = 6, en = 7;   /* if not set for color */

    REG.h.ah = 01;
    REG.h.bh = 00;
    REG.h.ch = st;
    REG.h.cl = en;
    int86(0x10, &REG, &REG);
}


