OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Nov 22, 2017 5:07 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PIT [Mode 0 - Interrupt On Terminal Count]
PostPosted: Tue Sep 26, 2017 7:24 am 
Offline

Joined: Tue Apr 11, 2017 3:19 am
Posts: 12
Hello.

I am trying to use PIT in mode 0.

From this article (http://wiki.osdev.org/PIT) need to do next steps:
1. Configure PIT to this mode: outb(0x43, 0x30);
2. Set reload value to reload register. Is it mean send 2 bytes to port 0x40 with counter value? How to calculate this value ?

Thanks for help.

With best regards,
coldfire


Top
 Profile  
 
 Post subject: Re: PIT [Mode 0 - Interrupt On Terminal Count]
PostPosted: Wed Sep 27, 2017 1:35 am 
Offline

Joined: Tue Apr 11, 2017 3:19 am
Posts: 12
I understand all that I need.

Post can be removed.

Thanks!


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

All times are UTC - 6 hours


Who is online

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