Code: Select all
void terminal_setcursor(int row, int col)
{
ia(
"mov %AH, 0x02\n\t"
"mov %BH, 0\n\t"
"mov %DH, row\n\t"
"mov %DL, col"
);
}
Code: Select all
kernel.o: In function `terminal_setcursor':
kernel.c:(.text+0x19e): undefined reference to `row'
kernel.c:(.text+0x1a4): undefined reference to `col'
Thanks for your help