PIT [Mode 0 - Interrupt On Terminal Count]

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
coldfire
Posts: 12
Joined: Tue Apr 11, 2017 3:19 am

PIT [Mode 0 - Interrupt On Terminal Count]

Post by coldfire »

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
coldfire
Posts: 12
Joined: Tue Apr 11, 2017 3:19 am

Re: PIT [Mode 0 - Interrupt On Terminal Count]

Post by coldfire »

I understand all that I need.

Post can be removed.

Thanks!
Post Reply