#include <dos.h>

gotoxy(x, y)   /* position cursor at x,y  0,0 being upper left */
int x, y;
{
    union REGS REG;

    REG.h.ah = 02;
    REG.h.bh = 0; /* Get current page */
    REG.h.dh = x;
    REG.h.dl = y;
    int86(0x10, &REG, &REG);
}


