Page 1 of 1

PIT [Mode 0 - Interrupt On Terminal Count]

Posted: Tue Sep 26, 2017 7:24 am
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

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

Posted: Wed Sep 27, 2017 1:35 am
by coldfire
I understand all that I need.

Post can be removed.

Thanks!