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
PIT are not working!! :(
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.
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)
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)