interrupt doesn't work

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
krillzip

interrupt doesn't work

Post 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
Post Reply