Well, I've done some looking, and it appears clrscr() is non-standard, and conio.h should be avoided.
Is this ... disdain of clrscr() inapplicable to HuC? I'd imagine a games console is different to a system console with regard to system calls and how they're used.
Still, it's a bit annoying I can't get it to work in this compiler, but it's not the end of the world.
Dammit, it looks like HuC doesn't like the syntax of this other compiler. I just tried slotting some stuff in, and it doesn't like the arrays (I focused on that rather than the pointers) and every time I try
char myarray[10];
or
char mayarray[10] "1234567890";
it says the variable isn't declared. Any ideas?
according to the wiki on obeybrew, I can do this, which isn't very different;
const int paldata[] = { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xF0};
const int sprdata[] = { 1001, 2002, 3003, 4004, 5005, 6006, 7007, 8008, 9009, 10010, 11011, 12012, 13013, 14014, 15015, 16016 };
maybe it's const, maybe it's just the curleys.