Page 1 of 1

Help

Posted: Sat Dec 12, 2009 4:36 pm
by djsilence
Can anybody do this in your kernel:

disable();
outportb(0x1F7, 0x20);
enable();

Will any interrupts (or, say, PIT) work after that?? (I ask because my - doesn't work.)

Re: Help

Posted: Mon Dec 14, 2009 6:18 pm
by pathos
I just tried it. My interrupts and PIT continue working.

Re: Help

Posted: Tue Dec 15, 2009 4:31 am
by djsilence
Thanks... My PIT stop working :(

Re: Help

Posted: Tue Dec 15, 2009 3:03 pm
by pathos
djsilence wrote:Thanks... My PIT stop working :(
What do your "disable" and "enable" procedures look like?

Re: Help

Posted: Sat Dec 19, 2009 5:24 am
by djsilence
simple cli and sti instructions.