OSDev.org

The Place to Start for Operating System Developers
It is currently Fri May 17, 2024 7:30 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Enabling interrupts
PostPosted: Mon Nov 26, 2001 12:15 pm 
Hey, I'm working on a small video lib, and aside from running into issues in makeing my write() function recognize the \n escape sequence, I have one problem: how on Earth do I enable interrupts in protected mode? I think inportb() and outportb() was mentioned, but I come to a crashing halt when trying to write those functions...any ideas? I've wanted to write an OS for a loooonngg time, and I'm finally going trhrough with it, so any help?


Top
  
 
 Post subject: Re: Enabling interrupts
PostPosted: Mon Nov 26, 2001 12:45 pm 
Hey -KEN-.

The reason why I mentioned inportb() and outportb() was because you wanted to move the hardware cursor. To do this, you'll wanna use these functions.

If you wanna enable interrupts, you'll have to build an IDT so when an interrupt does fire, the computer will know what to do.


Top
  
 
 Post subject: Re: Enabling interrupts
PostPosted: Mon Nov 26, 2001 1:28 pm 
wow, can I ever be rid of you!?  :P get on icq so I can pick your brain dry :) hmmm....you just confused me further...plus I have a question on having my write function recognize newlines right.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 15 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group