#include <stdio.h>
__at(0x844B) unsigned char curRow;
__at(0x844C) unsigned char curCol;
void gotoxy(int x, int y) {
curRow = y;
curCol = x;
}