Help

If you are new to development, plan on spending some time here before visiting the other forums.

Moderator:Moderators

Post Reply
User avatar
djsilence
Posts:30
Joined:Sun Feb 15, 2009 8:49 pm
Location:Kyiv, Ukraine
Contact:
Help

Post by djsilence » Sat Dec 12, 2009 4:36 pm

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.)
Thinking of great - thinking of little, thinking of little - thinking of great.

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Help

Post by pathos » Mon Dec 14, 2009 6:18 pm

I just tried it. My interrupts and PIT continue working.

User avatar
djsilence
Posts:30
Joined:Sun Feb 15, 2009 8:49 pm
Location:Kyiv, Ukraine
Contact:

Re: Help

Post by djsilence » Tue Dec 15, 2009 4:31 am

Thanks... My PIT stop working :(
Thinking of great - thinking of little, thinking of little - thinking of great.

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Help

Post by pathos » Tue Dec 15, 2009 3:03 pm

djsilence wrote:Thanks... My PIT stop working :(
What do your "disable" and "enable" procedures look like?

User avatar
djsilence
Posts:30
Joined:Sun Feb 15, 2009 8:49 pm
Location:Kyiv, Ukraine
Contact:

Re: Help

Post by djsilence » Sat Dec 19, 2009 5:24 am

simple cli and sti instructions.
Thinking of great - thinking of little, thinking of little - thinking of great.

Post Reply