PIT [Mode 0 - Interrupt On Terminal Count]
Posted: Tue Sep 26, 2017 7:24 am
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
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