Page 1 of 1

interrupt doesn't work

Posted: Thu Feb 07, 2002 12:00 am
by krillzip
I have problem with interrupts using inline asm under borland 5.5.
The code I use is this.

int main()
{
asm
{
mov ah, 0x00
mov al, 0x13
int 0x10
}
while(true){}

return 0;
}

It's an example for changing to 320x200,
I compile the code under borland C++ using tasm 5.3. When I run
the code as a dos program under win2000, the program crashes when
it does the interrupt instruction. It works fine if I remark the int line.
Does anybody have a solution on this problem.

Thanx very mush // krillzip