OSDev.org https://forum.osdev.org/ |
|
PIT are not working!! :( https://forum.osdev.org/viewtopic.php?f=1&t=56864 |
Page 1 of 1 |
Author: | BlazeArch [ Mon Jun 05, 2023 7:30 am ] |
Post subject: | PIT are not working!! :( |
Hello! PIT (timer) does not work in my code. Can anyone help me please? Here are my code for IDT, IRQ, PIT (timer.c) and GDT. https://codeberg.org/nekorporation/neko ... /arch/i686 |
Author: | Gigasoft [ Mon Jun 05, 2023 9:20 am ] |
Post subject: | Re: PIT are not working!! :( |
You mean the code that you copied and pasted from a tutorial. You didn't write this code. IRQs don't work because they are disabled in boot.s, line 101. |
Author: | devc1 [ Mon Jun 05, 2023 3:51 pm ] |
Post subject: | Re: PIT are not working!! :( |
haha lol. I suggest you try to actually read about PIT to understand it's functionnality instead of just copying and pasting code. And read a bit about interrupts in intel manuals (cpu manual, pic/ioapic manual, apic) |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |