add: if (y >= (int32)sScreenHeight) y = sScreenHeight - 1; else if (y < 0) y = 0; if (x >= (int32)sScreenWidth) x = sScreenWidth - 1; else if (x < 0) x = 0;
context: console_set_cursor(int32 x, int32 y){	sScreenOffset = x + y * sScreenWidth;}