Help

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

Moderator: Moderators

Help

Postby 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.
User avatar
djsilence
 
Posts: 30
Joined: Sun Feb 15, 2009 8:49 pm
Location: Kyiv, Ukraine

Re: Help

Postby pathos » Mon Dec 14, 2009 6:18 pm

I just tried it. My interrupts and PIT continue working.
pathos
Moderator
 
Posts: 97
Joined: Thu Jan 10, 2008 6:43 pm
Location: USA

Re: Help

Postby 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.
User avatar
djsilence
 
Posts: 30
Joined: Sun Feb 15, 2009 8:49 pm
Location: Kyiv, Ukraine

Re: Help

Postby pathos » Tue Dec 15, 2009 3:03 pm

djsilence wrote:Thanks... My PIT stop working :(


What do your "disable" and "enable" procedures look like?
pathos
Moderator
 
Posts: 97
Joined: Thu Jan 10, 2008 6:43 pm
Location: USA

Re: Help

Postby 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.
User avatar
djsilence
 
Posts: 30
Joined: Sun Feb 15, 2009 8:49 pm
Location: Kyiv, Ukraine


Return to Beginners

Who is online

Users browsing this forum: No registered users and 2 guests

cron