I have tried this code:
int main()
{
__asm ("mov %dl, 0"); // Cursor X Position
__asm ("mov %dh, 0"); // Cursor Y Position
__asm ("mov %ah, 2"); // Set Cursor
__asm ("mov %bh, 0"); // Page Number
__asm ("int $0x10"); // Interrupt
return 0;
}
But I get this output:
Process returned -1073741819 (0xC0000005)
I'm using "Code::Blocks" with "GNU GCC Compiler".