OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 2:50 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: interrupt doesn't work
PostPosted: Thu Feb 07, 2002 12:00 am 
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


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 105 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group