Enabling interrupts
Enabling interrupts
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?
Re: Enabling interrupts
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.
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.
Re: Enabling interrupts
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.